sevdesk-mcp

sevdesk-mcp

Enables interaction with the sevDesk accounting API for managing contacts, invoices, credit notes, orders, vouchers, transactions, and parts.

Category
访问服务器

README

@honeyfield/sevdesk-mcp

MCP Server for the sevDesk Accounting API. This server provides 52 tools for managing contacts, invoices, credit notes, orders, vouchers, transactions, and parts in sevDesk.

Installation

npm install -g @honeyfield/sevdesk-mcp

Or use directly with npx:

npx @honeyfield/sevdesk-mcp

Configuration

Environment Variable

Set your sevDesk API token as an environment variable:

export SEVDESK_API_TOKEN=your-api-token

Getting an API Token

  1. Log in to your sevDesk account
  2. Go to Settings (Einstellungen) → Users (Benutzer) → API Token
  3. Generate a new token
  4. Copy and store the token securely (it's only shown once)

Claude Desktop / Claude Code

Add to your MCP configuration:

{
  "mcpServers": {
    "sevdesk": {
      "command": "npx",
      "args": ["@honeyfield/sevdesk-mcp"],
      "env": {
        "SEVDESK_API_TOKEN": "your-api-token"
      }
    }
  }
}

Available Tools (52)

Contacts (8 Tools)

Tool Description
list_contacts List contacts with filters (customers, suppliers, partners)
get_contact Get contact details by ID
create_contact Create a new contact
update_contact Update an existing contact
delete_contact Delete a contact
get_next_customer_number Generate the next customer number
list_contact_addresses List addresses for a contact
create_contact_address Create a new contact address

Invoices (12 Tools)

Tool Description
list_invoices List invoices with filters
get_invoice Get invoice details by ID
create_invoice Create a new invoice with positions
update_invoice Update an existing invoice
delete_invoice Delete an invoice
send_invoice_email Send invoice via email
book_invoice_payment Book a payment for an invoice
enshrine_invoice Lock/finalize an invoice
reset_invoice_to_draft Reset invoice to draft status
get_invoice_pdf Get invoice PDF download info
export_invoice_xml Export invoice as XRechnung XML
create_invoice_from_order Create invoice from an order

Credit Notes (9 Tools)

Tool Description
list_credit_notes List credit notes with filters
get_credit_note Get credit note details by ID
create_credit_note Create a new credit note
update_credit_note Update an existing credit note
delete_credit_note Delete a credit note
send_credit_note_email Send credit note via email
book_credit_note_payment Book a payment for a credit note
enshrine_credit_note Lock/finalize a credit note
create_credit_note_from_invoice Create credit note from an invoice

Orders (6 Tools)

Tool Description
list_orders List orders/quotes with filters
get_order Get order details by ID
create_order Create a new order/quote
update_order Update an existing order
delete_order Delete an order
send_order_email Send order via email

Vouchers (5 Tools)

Tool Description
list_vouchers List vouchers/receipts with filters
get_voucher Get voucher details by ID
create_voucher Create a new voucher
update_voucher Update an existing voucher
book_voucher Book a payment for a voucher

Transactions (5 Tools)

Tool Description
list_check_accounts List payment accounts
list_transactions List transactions with filters
get_transaction Get transaction details by ID
create_transaction Create a new transaction
update_transaction Update an existing transaction

Parts/Inventory (4 Tools)

Tool Description
list_parts List parts/articles with filters
get_part Get part details by ID
create_part Create a new part/article
update_part Update an existing part

Basics (3 Tools)

Tool Description
get_system_version Get sevDesk system version
get_next_sequence_number Get next document number
export_data Export data of a specific type

Common Parameters

Status Codes

Invoices/Credit Notes:

  • 100 - Draft
  • 200 - Open/Delivered
  • 1000 - Paid

Orders:

  • 100 - Draft
  • 200 - Delivered
  • 300 - Accepted
  • 500 - Partially invoiced
  • 750 - Invoiced
  • 1000 - Cancelled

Vouchers:

  • 50 - Draft
  • 100 - Unpaid
  • 1000 - Paid

Contact Categories

  • 3 - Customer (Kunde)
  • 4 - Supplier (Lieferant)
  • 28 - Partner

Order Types

  • AN - Quote (Angebot)
  • AB - Order Confirmation (Auftragsbestätigung)
  • LI - Delivery Note (Lieferschein)

Country IDs

  • 1 - Germany
  • See sevDesk documentation for other countries

Unity IDs

  • 1 - Piece (Stück)
  • 2 - Hour (Stunde)
  • See sevDesk documentation for other units

Examples

Create a Customer

{
  "name": "ACME GmbH",
  "categoryId": 3,
  "defaultTimeToPay": 14,
  "vatNumber": "DE123456789"
}

Create an Invoice

{
  "contactId": 12345,
  "invoiceDate": "2024-01-15",
  "positions": [
    {
      "name": "Consulting",
      "quantity": 8,
      "price": 150.00,
      "taxRate": 19,
      "unityId": 2
    }
  ],
  "header": "Invoice for January 2024",
  "timeToPay": 14
}

Create a Quote

{
  "contactId": 12345,
  "orderDate": "2024-01-10",
  "orderType": "AN",
  "positions": [
    {
      "name": "Web Development",
      "quantity": 1,
      "price": 5000.00,
      "taxRate": 19,
      "unityId": 1,
      "optional": false
    }
  ]
}

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development
npm run dev

Testing with MCP Inspector

npx @anthropic-ai/mcp-inspector dist/index.js

License

MIT

Links

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选