JM

jannikwempe/mcp-lexware-office

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

77 stars 16 forks Качество 85 Тренд 14MIT

jannikwempe/mcp-lexware-office - кандидат на сервер MCP, импортированный из https://github.com/jannikwempe/mcp-lexware-office.

Обзор

jannikwempe/mcp-lexware-office - кандидат на сервер MCP, импортированный из https://github.com/jannikwempe/mcp-lexware-office.

Обзор (машинный перевод)

MCP-сервер для Lexware Office (ранее Lexoffice). Он позволяет помощникам с поддержкой MCP запрашивать и управлять контактами, документами о продажах, ваучерами, файлами, платежами, веб-хуками и справочными данными через общедоступный API Lexware Office.

Сервер использует Code Mode: вместо одного MCP-инструмента на конечную точку API он предоставляет два инструмента — search для изучения каталога Lexware API и execute для запуска ограниченных рабочих процессов API в песочнице. Это сохраняет поверхность инструмента небольшой, охватывая весь API, включая пагинацию, агрегацию и многоступенчатую отчетность в одном вызове.

Обновление с 1.x? Унаследованный сервер инструментов для конечных точек был удален в версии 2.0.0. См. docs/guide.md#migrating-from-1x.

Использование contentPath Теперь они требуют [3]. См. docs/guide.md#migrating-contentpath-requires-lexware office upload dirs.

Особенности

** Широкое покрытие API Lexware Office** для чтения и записи рабочих процессов Продажные документы: счета-фактуры, котировки, подтверждения заказов, кредитные ноты, примечания о доставке, уведомления о дублировании и счета-фактуры с первоначальной оплатой Управление контактами: создание, чтение и обновление клиентов и поставщиков

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Lexware Office MCP Server

An MCP server for Lexware Office (formerly Lexoffice). It lets MCP-capable assistants query and manage contacts, sales documents, vouchers, files, payments, webhooks, and reference data through the Lexware Office public API.

The server uses Code Mode: instead of one MCP tool per API endpoint, it exposes two tools — search to explore a curated Lexware API catalog and execute to run constrained, sandboxed API workflows. This keeps the tool surface small while covering the whole API, including pagination, aggregation, and multi-step reporting in a single call.

Upgrading from 1.x? The legacy tool-per-endpoint server was removed in 2.0.0. See docs/guide.md#migrating-from-1x.

Using contentPath uploads? They now require LEXWARE_OFFICE_UPLOAD_DIRS. See docs/guide.md#migrating-contentpath-requires-lexware_office_upload_dirs.

Features

  • Broad Lexware Office API coverage for read and write workflows
  • Sales documents: invoices, quotations, order confirmations, credit notes, delivery notes, dunning notices, and down-payment invoices
  • Contact management: create, read, and update customers and vendors
  • Bookkeeping: vouchers, posting categories, payments, and file uploads
  • Reference data: profile, countries, print layouts, payment conditions, recurring templates
  • Webhooks: create, list, inspect, and delete event subscriptions
  • Read-only by default: writes require explicit opt-in via environment variable
  • Workflow prompts and skills: receipt uploads, revenue and profit reports, and invoices as MCP prompts and MCP Skills generated from the catalog
  • Dry runs: preview the exact writes a workflow would send, including upload hashes, without sending them

How it works

The server exposes two MCP tools:

  • search — runs a sandboxed JavaScript async arrow function against a curated OpenAPI-lite Lexware catalog, with find/describe helpers for a ranked, compact lookup.
  • execute — runs a sandboxed JavaScript async arrow function with the lexware SDK: lexware.request for relative /v1/... Lexware API calls, plus helpers for pagination, money, voucher updates, uploads and waiting (lexware.sleep).

Both tools declare MCP annotations (search is read-only; execute is marked destructive only when writes are enabled) and return structuredContent alongside the JSON text block. Built on the MCP TypeScript SDK v2 (protocol revision 2026-07-28 and 2025-era clients). See docs/guide.md.

Example execute call:

async () => {
  const response = await lexware.request({
    method: 'GET',
    path: '/v1/contacts',
    query: { name: 'Muster', page: 0, size: 10 }
  });

  return response.data;
}
Открыть полный README на GitHub

Установка

npx -y --package=github:JannikWempe/mcp-lexware-office#semver:^4 lexware-office
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "lexware-office": { "command": "npx", "args": ["-y", "--package=github:JannikWempe/mcp-lexware-office#semver:^4", "lexware-office"], "env": { "LEXWARE_OFFICE_API_KEY": "YOUR_API_KEY_HERE", "LEXWARE_OFFICE_READ_ONLY": "true" } } } }