
自托管MCP服务器,支持OAuth 2.1——将Claude、ChatGPT或其他支持MCP的AI连接到您的Lexware Office账务系统。
概览
一个开源、自托管的Lexware Office会计API平台。运行你自己的实例,连接到Claude,让客服人员阅读你的发票、凭据、联系人和文章——并(可选地)起草新的发票。 带上你自己的 Lexware API 密钥——每次部署服务器都是单租户,绝不存储他人凭证。它作为远程 HTTP 服务器运行在任何容器主机上,使用 Skybridge 框架构建。 - — 需要在 Claude 应用中将其作为 ,或者 (这些客户端只接受 OAuth)。- — 更简单,但仅支持(允许发送请求头部);网页自定义连接器界面不支持该接口。 两者的设置在下方的客户端支持与认证部分。 相关项目 — 本地(stdio)Lexware MCP 服务器:lazyants/lexware-mcp-server,JannikWempe/mcp-lexware-office。 ⚠️ 请阅读 SECURITY.md,保护您的代币,并请注意——您需对其税务和法律正确性负责。无任何保证(麻省理工学院)。
概述(AI 翻译)
一个开源、自托管的MCP服务器用于 Lexware Office 会计 API。运行你自己的实例, 连接到Claude,让代理人查看你的发票、凭证、联系人和文章—— 并且(可选地)重新起草新角色。
带上你自己的 Lexware API 密钥——服务器每次部署都是单租户,从不存储 其他人的凭证。它作为远程HTTP服务器运行在任何容器主机上,构建为 Skybridge框架。
两种认证方法——选择一种:
- OAuth 2.1 — 作为web MCP服务器/自定义连接器在 Claude 应用、claude.ai web 或 ChatGPT,每个用户登录即可。
- 静态承载令牌 — 更简单。可与Claude代码/Claude桌面(该格式令 你发送请求头)。claude.ai 上只通过组织管理员操作 “静态头部”连接器选项,目前仅限部分组织测试版。
两者的设置都在客户端支持和认证中 下面是那一节。
相关项目 — 本地(stdio)Lexware MCP 服务器: lazyants/lexware-mcp-server, JannikWempe/mcp-lexware-office.
⚠️ 此中介真实会计数据。 阅读 SECURITY.md,保护您的安全
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Lexware Office MCP Server
An open-source, self-hostable MCP server for the Lexware Office accounting API. Run your own instance, connect it to Claude, and let an agent read your invoices, vouchers, contacts and articles — and (optionally) draft new ones.
Bring your own Lexware API key — the server is single-tenant per deployment and never stores anyone else’s credentials. It runs as a remote HTTP server on any container host, built with the Skybridge framework.
Two authentication methods — choose one:
- OAuth 2.1 — the way to use this as a web MCP server / custom connector in the Claude app, claude.ai web, or ChatGPT, with each user signing in.
- Static bearer token — simpler. Works with Claude Code / Claude Desktop (which let you send a request header). On claude.ai it works only through the organization-admin “static headers” connector option, which is in beta for a limited set of organizations.
Setup for both is in the Client support & authentication section below.
Related projects — local (stdio) Lexware MCP servers: lazyants/lexware-mcp-server, JannikWempe/mcp-lexware-office.
⚠️ This brokers real accounting data. Read SECURITY.md, protect your tokens, and note that finalized invoices are legally binding — you are responsible for their tax/legal correctness. No warranty (MIT).
Capabilities
62 tools across three tiers you enable via environment variables, plus one opt-in tool
outside them (upload-file-from-url, see below):
| Tier | Default | What it covers |
|---|---|---|
| Read | always on | Profile; contacts & articles (list/get); the voucherlist (plus summarize-vouchers for server-side totals); full documents (invoices, quotations, credit notes, order confirmations, delivery notes, dunnings, down-payment invoices, vouchers); render any document type to PDF and download files/receipts (returned inline as embedded resources); batch & type-dispatched reads (get-vouchers, get-document, get-voucher-file, get-document-file); payments; reference data (countries, payment conditions, posting categories, print layouts); recurring templates (get & list); event subscriptions; document deeplinks |
安装
docker run -p 8080:8080 --env-file .env lexware-mcp配置
{
"mcpServers": {
"lexware": {
"type": "http",
"url": "https://<your-host>/mcp",
"headers": { "Authorization": "Bearer <MCP_AUTH_TOKEN>" }
}
}
}