JM

jannikwempe/mcp-lexware-office

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

77 stars 16 forks 品質 85 トレンド 15MIT

jannikwempe/mcp-lexware-office は [https://github.com/jannikwempe/mcp-lexware-office.] からインポートされた MCP サーバーの候補です

概要

jannikwempe/mcp-lexware-office は [https://github.com/jannikwempe/mcp-lexware-office.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

Lexware OfficeのMCPサーバー(旧Lexoffice) MCP 対応のアシスタントは、Lexware Office パブリック API を通じて連絡先、販売文書、バウチャー、ファイル、支払い、Webhook、および参照データを照会および管理できます。

サーバは、API エンドポイントごとに 1 つの MCP ツールの代わりに、search を使用して、処理された Lexware API のカタログと execute] を調べて、制約された API ワークフローを実行します。 これにより、API全体をカバーしながら、パジネーション、集計、マルチステップのレポートを1つの呼び出しにまとめながら、ツールの表面を小さく保ちます。

1.xからアップグレード? 従来のツールパーエンドポイントサーバは2.0.0で削除されました。 docs/guide.md#migrating-from-1x を参照してください。 ツイート [contentPathを使用してアップロード? [LEXWARE_OFFICE_UPLOAD_DIRS] が必要です。 docs/guide.md#migrating-contentpath-requires-lexware office upload dirs を参照してください。

##特徴

  • ロードLexware Office APIのカバレッジ 読み込みとワークフローの書き込み -販売文書:請求書、見積書、注文確認、クレジットメモ、配送メモ、ダニング通知、および支払い請求書 -お問い合わせ管理:顧客とベンダーの作成、読み込み、更新

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Lexware Office MCP Server

An MCP server for Lexware Office (formerly Lexoffice). It lets MCP-capable assistants query and manage contacts, sales documents, vouchers, files, payments, webhooks, and reference data through the Lexware Office public API.

The server uses Code Mode: instead of one MCP tool per API endpoint, it exposes two tools — search to explore a curated Lexware API catalog and execute to run constrained, sandboxed API workflows. This keeps the tool surface small while covering the whole API, including pagination, aggregation, and multi-step reporting in a single call.

Upgrading from 1.x? The legacy tool-per-endpoint server was removed in 2.0.0. See docs/guide.md#migrating-from-1x.

Using contentPath uploads? They now require LEXWARE_OFFICE_UPLOAD_DIRS. See docs/guide.md#migrating-contentpath-requires-lexware_office_upload_dirs.

Features

  • Broad Lexware Office API coverage for read and write workflows
  • Sales documents: invoices, quotations, order confirmations, credit notes, delivery notes, dunning notices, and down-payment invoices
  • Contact management: create, read, and update customers and vendors
  • Bookkeeping: vouchers, posting categories, payments, and file uploads
  • Reference data: profile, countries, print layouts, payment conditions, recurring templates
  • Webhooks: create, list, inspect, and delete event subscriptions
  • Read-only by default: writes require explicit opt-in via environment variable
  • Workflow prompts and skills: receipt uploads, revenue and profit reports, and invoices as MCP prompts and MCP Skills generated from the catalog
  • Dry runs: preview the exact writes a workflow would send, including upload hashes, without sending them

How it works

The server exposes two MCP tools:

  • search — runs a sandboxed JavaScript async arrow function against a curated OpenAPI-lite Lexware catalog, with find/describe helpers for a ranked, compact lookup.
  • execute — runs a sandboxed JavaScript async arrow function with the lexware SDK: lexware.request for relative /v1/... Lexware API calls, plus helpers for pagination, money, voucher updates, uploads and waiting (lexware.sleep).

Both tools declare MCP annotations (search is read-only; execute is marked destructive only when writes are enabled) and return structuredContent alongside the JSON text block. Built on the MCP TypeScript SDK v2 (protocol revision 2026-07-28 and 2025-era clients). See docs/guide.md.

Example execute call:

async () => {
  const response = await lexware.request({
    method: 'GET',
    path: '/v1/contacts',
    query: { name: 'Muster', page: 0, size: 10 }
  });

  return response.data;
}
GitHub で README 全文を見る

インストール

npx -y --package=github:JannikWempe/mcp-lexware-office#semver:^4 lexware-office
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "lexware-office": { "command": "npx", "args": ["-y", "--package=github:JannikWempe/mcp-lexware-office#semver:^4", "lexware-office"], "env": { "LEXWARE_OFFICE_API_KEY": "YOUR_API_KEY_HERE", "LEXWARE_OFFICE_READ_ONLY": "true" } } } }