
Lexware
io.github.lazyants由 GitHub 帳號 lazyants 發布v5.4.1更新於 Nov 7, 2026
MCP server for the Lexware Office API — invoices, contacts, articles, and vouchers.
概覽
連接 Lexware Office API 的本機 MCP 伺服器,讓助理建立與讀取發票、報價、聯絡人、商品及記帳憑證。
- 可以做什麼
- 建立與讀取發票、貸項通知、報價、訂單確認、送貨單、催款單等銷售單據
- 管理聯絡人與商品
- 記錄記帳憑證與付款,並跨憑證類型搜尋
- 上傳與下載檔案,管理 webhook 訂閱
- 讀取說明 API 慣例、文字格式規則與 webhook 指引的參考資源
- 適用情境
- 適合讓助理草擬或查詢 Lexware Office 中的發票、報價與聯絡人,或處理記帳憑證與付款,不必切換到 Lexware 網頁介面。拆分入口可只載入單一領域,以縮小工具清單。
- 執行需求
- 需要 Node.js 20 或更新版本,透過 npx 在本機執行。需要 Lexware Office API 權杖,建議存放在作業系統鑰匙圈(服務 lexware-mcp,帳號 api-token),或透過 LEXWARE_API_TOKEN 環境變數提供。需要連線至 Lexware Office API 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Lexware,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
lexware-mcp-server
[Listed on AgentHub: lexware] [Tests]
MCP server for the Lexware Office API. Manage invoices, contacts, articles, vouchers, and more through the Model Context Protocol.
Unofficial community project — not affiliated with Lexware GmbH or Haufe Group. See the Disclaimer.
Requirements
- Node.js 20 or newer.
- A Lexware Office API token from the Lexware Office API settings.
Quick start
1. Store the token in the OS keyring
The server reads the token from the OS keyring first (service lexware-mcp, account api-token)
and falls back to the LEXWARE_API_TOKEN environment variable. The keyring is recommended: your MCP
config then holds no credentials.
The commands below prompt for the token, so it never lands in your shell history or the process list.
macOS:
Linux (needs a Secret Service / libsecret):
For Windows, headless machines, and the environment-variable fallback, see the configuration guide.
2. Add the server to your MCP client
Put this in your client's MCP configuration, for example claude_desktop_config.json for Claude
Desktop. In Claude Code, run:
npx downloads and runs the package; no separate install is needed. Restart the client, and the
Lexware tools appear in its tool list.
Entry points
The package provides a full server and smaller split servers that each cover one area. Use a split server to reduce context size or to stay under your MCP client's tool limit.
Run a split server with npx -y -p @lazyants/lexware-mcp-server lexware-mcp-sales. The
configuration guide
has client examples for split servers and for several Lexware accounts.
What the tools do
Tool names follow lexware_<action>_<resource>, for example lexware_create_invoice or
lexware_list_voucherlist. They create and read sales vouchers such as invoices and quotations,
manage contacts and articles, record bookkeeping vouchers, search across voucher types, upload and
download files, and manage webhook subscriptions. Your MCP client's tool list, with each tool's
description and input schema, is the authoritative inventory.
Every entry point also serves a read-only MCP resource, reference://lexware/api, with API
conventions, text formatting rules, and webhook guidance.
The usage guide explains the API caveats: finalizing at creation, voucher search filters, voucher updates, file uploads and downloads, and webhooks.
Security
- Use the OS keyring and never commit your API token to version control.
- Create, update, delete, upload, and pursue tools change real business data in your Lexware account. A pursue tool creates a follow-up document.
- Set
LEXWARE_READ_ONLY=trueto make the server refuse every tool that changes data. See Read-only mode. - Without read-only mode, two things stop unintended changes: the permissions of your Lexware API
token, which Lexware enforces, and your MCP client's approval prompts. Tool annotations such as
readOnlyHintare hints for the client, not checks. - Split servers offer fewer tools, but most of them still include tools that change data. For a conservative setup, see Limit what the server can change.
- Requests that hit the rate limit (HTTP 429) are retried automatically with exponential backoff.
To report a vulnerability, see SECURITY.md.
Documentation
- Configuration — keyring setup for macOS, Windows, and Linux; environment variables; Claude Code and Claude Desktop; split servers and multiple accounts; limiting what the server can change.
- Usage notes — API behavior and caveats.
- Releasing — maintainer release procedure.
- Changelog
Releasing
Maintainers: follow the release guide.
Never create a release with a bare gh release create; the guide's guarded tag sequence explains
why and prevents republishing an old version.
Disclaimer
This is an unofficial, independent community project. It is not affiliated with, endorsed by, sponsored by, or supported by Lexware GmbH, Haufe Group, or any of their affiliates. For official Lexware support, contact Lexware directly — issues with this MCP server should be reported here, not to Lexware.
"Lexware" and "Lexware Office" are trademarks of their respective owners and are used in this project's name and documentation under nominative fair use, solely to identify the third-party API this client connects to.
Create, update, and delete operations modify real business data in your Lexware account. The authors provide this software "as-is" and accept no responsibility for unintended changes, data loss, or any other damages arising from its use. Test against a sandbox or non-critical account before running write operations against production data.
License
FSL-1.1-MIT — see LICENSE for the full terms.
來源:README.md,提交 9a214cf
工具
0版本歷史
5- v5.4.1最新Nov 7, 2026
- v5.4.0Oct 26, 2026
- v5.3.2Oct 23, 2026
- v5.3.0Oct 3, 2026
- v5.2.0Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。