与Lexware Office(以前称为Lexoffice)集成的MCP服务器实现,通过模型上下文协议提供无缝接口以管理业务操作。
通过此MCP服务器提供了以下工具:
get-invoices
status(字符串数组,可选):按发票状态过滤("open"、"draft"、"paid"、"paidoff"、"voided")。默认值:所有状态page(数字,可选):要检索的页码(从0开始)。默认值:0size(数字,可选):每页发票数量(1-250)。默认值:250get-invoice-details
id(字符串):发票的UUIDget-contacts
email(字符串,可选):按电子邮件地址过滤联系人(支持通配符)name(字符串,可选):按姓名过滤联系人(支持通配符)number(数字,可选):按联系人号码过滤customer(布尔值,可选):按客户角色过滤vendor(布尔值,可选):按供应商角色过滤page(数字,可选):要检索的页码(从0开始)。默认值:0size(数字,可选):每页联系人数(1-250)。默认值:250list-posting-categories
type(字符串,可选):按类型过滤过账类别("income"或"outgo")list-countries
taxClassification(字符串,可选):按税务分类过滤国家("de"代表德国,"intraCommunity"代表欧盟国家,或"thirdPartyCountry"代表非欧盟国家)访问https://app.lexoffice.de/addons/public-api以获取您的API密钥。
在您的claude_desktop_config.json中添加以下内容:
{
"mcpServers": {
"mcp-lexware-office": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "LEXWARE_OFFICE_API_KEY", "mcp-lexware-office"],
"env": {
"LEXWARE_OFFICE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
{
"mcpServers": {
"mcp-lexware-office": {
"command": "npx",
"args": ["-y", "JannikWempe/mcp-lexware-office"],
"env": {
"LEXWARE_OFFICE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Docker构建:
docker build -t mcp-lexware-office:latest -f Dockerfile .
本项目根据MIT许可证发布。请参阅项目存储库中的LICENSE文件以获取详细信息。 </中文翻译>