
lazyants/lexware-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP server for the Lexware Office API. Manage invoices, contacts, articles, vouchers, and more through the Model Context Protocol.
Обзор
MCP server for the Lexware Office API. Manage invoices, contacts, articles, vouchers, and more through the Model Context Protocol. — not affiliated with Lexware GmbH or Haufe Group. See the Disclaimer. - Node.js 20 or newer. - A Lexware Office API token from the Lexware Office API settings. 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. Linux (needs a Secret Service / libsecret): For Windows, headless machines, and the environment-variable fallback, see the configuration guide. Put this in your client's MCP configuration, for example claude_desktop_config.json for Claude Desktop. In Claude Code, run:
README
Показан фрагмент оригинального README. Открыть оригинал.
lexware-mcp-server
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:
security add-generic-password -s "lexware-mcp" -a "api-token" -w
Linux (needs a Secret Service / libsecret):
secret-tool store --label="Lexware Office API" service lexware-mcp username api-token
For Windows, headless machines, and the environment-variable fallback, see the configuration guide.
2. Add the server to your MCP client
{
"mcpServers": {
"lexware": {
"command": "npx",
"args": ["-y", "@lazyants/lexware-mcp-server"]
}
}
}
Put this in your client’s MCP configuration, for example claude_desktop_config.json for Claude
Desktop. In Claude Code, run:
claude mcp add --scope user lexware -- npx -y @lazyants/lexware-mcp-server
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.
| Command | Covers |
|---|---|
lexware-mcp-server |
Everything below |
lexware-mcp-sales |
Invoices, Credit Notes, Quotations, Order Confirmations, Delivery Notes, Down Payment Invoices, Dunnings, Voucherlist |
lexware-mcp-contacts |
Contacts, Articles |
lexware-mcp-bookkeeping |
Vouchers, Voucherlist, Payments |
lexware-mcp-reference |
Countries, Payment Conditions, Posting Categories, Profile, Print Layouts |
lexware-mcp-system |
Event Subscriptions, Files, Recurring Templates |
Run a split server with npx -y -p @lazyants/lexware-mcp-server lexware-mcp-sales. The
Установка
npx -y @lazyants/lexware-mcp-serverКонфигурация
{
"mcpServers": {
"lexware": {
"command": "npx",
"args": ["-y", "@lazyants/lexware-mcp-server"]
}
}
}