LL

lazyants/lexware-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

8 stars 6 forks 质量 74 趋势 36NOASSERTION

Lexware Office API的MCP服务器. 通过示范背景协议管理发票、联系人、物品、凭证等.

概览

Lexware Office API的MCP服务器. 通过示范背景协议管理发票、联系人、物品、凭证等。 ——不隶属于Lexware GmbH或Haufe集团. 见解脱者. - Node.js 20 或更新. - Lexware Office API sorder from the Lexware Office API settings. - 一个来自Lexware Office API 的 Lexware Office API 代号. 服务器首先从 OS 密钥环( service lexware-mcp, api-token) 读取令牌,然后返回 LEXWARE API TOKEN 环境变量. 密钥环被推荐: 您的 MCP 配置然后没有证书 。 下方命令提示符, 因此它不会降落在您的 shell 历史或进程列表中 。 Linux( 需要保密/ libsecret) : 对于Windows,无头机,以及环境可变倒置,参见配置指南. 把它放入客户端的 MCP 配置中, 例如 Claude desktop config.json 用于 Claude Desktop 。 在克洛德代码中,运行:

概述(AI 翻译)

Lexware Office API的MCP服务器. 通过示范背景协议管理发票、联系人、物品、凭证等。

** 非官方社区项目**——不属于Lexware GmbH或Haufe集团。 见解脱者.

□ 要求

  • 20号或更新的
  • 来自Lexware Office API设置的Lexware Office API令牌.

快开始

  1. 在OS密钥环中存储符号

服务器先从 OS 密钥环( service [T0], account [[T1]) 读取令牌 并回到[T2]环境变量。 键盘被推荐: 您的 MCP 然后,配置没有证书。

下面的命令提示符号,所以它永远不会降落在您的外壳历史或过程中 列表中选择一个选项。

马可斯:

Linux( 需要特务 / libsecret] ):

对于Windows,无头机器,以及环境可变回落,参见: 配置指南.

& 2. 将服务器添加到您的 MCP 客户端

将此输入您的客户端的 MCP 配置中, 例如 [ [T4] 为 Claude 。 台词 在克洛德代码中,运行:

npx下载并运行软件包;不需要单独安装. 重新启动客户端,以及

本页由 AI 翻译,技术细节请以原文为准。

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

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

在 GitHub 查看完整 README

安装

npx -y @lazyants/lexware-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "lexware": { "command": "npx", "args": ["-y", "@lazyants/lexware-mcp-server"] } } }