sevdesk-mcp

sevdesk-mcp

Integrates with the sevdesk German accounting API, providing 76 tools for full CRUD operations across contacts, invoices, vouchers, orders, credit notes, bank accounts, transactions, parts, tags, addresses, and communication ways.

Category
访问服务器

README

sevdesk MCP Server v2.0

A comprehensive Model Context Protocol (MCP) server for integrating with the sevdesk German accounting and bookkeeping API. Features 76 tools for full CRUD operations across all major sevdesk resources.

Features

  • Contact Management - Full CRUD for customers, suppliers, and partners
  • Invoice Handling - Create, send, and manage sales invoices with line items
  • Expense Tracking - Manage vouchers/receipts with booking and enshrinement
  • Order Management - Handle offers, order confirmations, and delivery notes
  • Credit Notes - Full credit note lifecycle management
  • Products & Services - Manage parts catalog with stock tracking
  • Bank Integration - Accounts, balances, and transaction management
  • Tags & Categories - Organize records with tags
  • Contact Details - Addresses and communication ways (email, phone)
  • PDF Generation - Download PDFs for invoices, orders, and credit notes
  • Email Sending - Send documents directly via email

Prerequisites

  • Node.js 18 or higher
  • pnpm (recommended) or npm
  • A sevdesk account with API access

Installation

git clone https://github.com/sajadghawami/sevdesk-mcp.git
cd sevdesk-mcp

# Install dependencies (choose one)
pnpm install   # or: npm install | yarn install

# Build
pnpm build     # or: npm run build | yarn build

Configuration

Getting Your API Token

  1. Log in to your sevdesk account at my.sevdesk.de
  2. Navigate to SettingsUsersAPI Token
  3. Generate or copy your API token

Claude Desktop

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "sevdesk": {
      "command": "node",
      "args": ["/path/to/sevdesk-mcp/build/index.js"],
      "env": {
        "SEVDESK_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

Claude Code

Add to .mcp.json in your project directory (project-specific) or ~/.claude/.mcp.json (global):

{
  "mcpServers": {
    "sevdesk-mcp": {
      "command": "node",
      "args": ["/path/to/sevdesk-mcp/build/index.js"],
      "env": {
        "SEVDESK_API_TOKEN": "your-api-token-here"
      }
    }
  }
}

Available Tools (76 total)

Contacts (6 tools)

Tool Description
list_contacts List customers, suppliers, and partners
get_contact Get detailed contact information by ID
create_contact Create a new contact
update_contact Update existing contact
delete_contact Delete a contact
get_next_customer_number Get next available customer number

Invoices (14 tools)

Tool Description
list_invoices List sales invoices with filters
get_invoice Get invoice details by ID
create_invoice Create invoice with line items
update_invoice Update existing invoice
delete_invoice Delete an invoice
get_invoice_pdf Get invoice PDF as base64
send_invoice_email Send invoice via email
change_invoice_status Change invoice status
book_invoice_payment Record a payment
list_invoice_positions List invoice line items
get_invoice_position Get position details
create_invoice_position Add line item
update_invoice_position Update line item
delete_invoice_position Delete line item

Vouchers (12 tools)

Tool Description
list_vouchers List expense vouchers/receipts
get_voucher Get voucher details by ID
create_voucher Create expense voucher
update_voucher Update existing voucher
delete_voucher Delete a voucher
book_voucher_payment Record payment on voucher
enshrine_voucher Finalize/lock a voucher
list_voucher_positions List voucher line items
get_voucher_position Get position details
create_voucher_position Add line item
update_voucher_position Update line item
delete_voucher_position Delete line item

Orders (13 tools)

Tool Description
list_orders List orders (offers, confirmations)
get_order Get order details by ID
create_order Create order with line items
update_order Update existing order
delete_order Delete an order
get_order_pdf Get order PDF as base64
send_order_email Send order via email
change_order_status Change order status
list_order_positions List order line items
get_order_position Get position details
create_order_position Add line item
update_order_position Update line item
delete_order_position Delete line item

Credit Notes (12 tools)

Tool Description
list_credit_notes List credit notes
get_credit_note Get credit note by ID
create_credit_note Create credit note
update_credit_note Update credit note
delete_credit_note Delete credit note
get_credit_note_pdf Get PDF as base64
send_credit_note_email Send via email
list_credit_note_positions List line items
get_credit_note_position Get position
create_credit_note_position Add line item
update_credit_note_position Update line item
delete_credit_note_position Delete line item

Bank Accounts (6 tools)

Tool Description
list_check_accounts List all bank accounts
get_check_account Get account details
get_check_account_balance Get balance at date
create_check_account Create bank account
update_check_account Update account
delete_check_account Delete account

Transactions (5 tools)

Tool Description
list_transactions List bank transactions
get_transaction Get transaction details
create_transaction Create transaction
update_transaction Update transaction
delete_transaction Delete transaction

Parts/Products (6 tools)

Tool Description
list_parts List products/services
get_part Get part details
create_part Create product/service
update_part Update part
delete_part Delete part
get_part_stock Get current stock level

Tags (8 tools)

Tool Description
list_tags List all tags
get_tag Get tag details
create_tag Create new tag
update_tag Update tag
delete_tag Delete tag
list_tag_relations List tagged objects
add_tag_to_object Tag an object
remove_tag_from_object Remove tag

Contact Addresses (5 tools)

Tool Description
list_contact_addresses List addresses
get_contact_address Get address details
create_contact_address Create address
update_contact_address Update address
delete_contact_address Delete address

Communication Ways (5 tools)

Tool Description
list_communication_ways List email/phone entries
get_communication_way Get details
create_communication_way Create entry
update_communication_way Update entry
delete_communication_way Delete entry

Development

Build Commands

# Install dependencies
pnpm install

# Build the TypeScript source
pnpm build

# Start the server
pnpm start

# Watch mode for development
pnpm dev

Project Structure

sevdesk-mcp/
├── src/
│   ├── index.ts           # MCP server entry + 76 tool registrations
│   ├── api.ts             # HTTP client (GET/POST/PUT/DELETE/PDF)
│   ├── types.ts           # TypeScript interfaces (20+ types)
│   └── tools/
│       ├── contacts.ts    # Contact CRUD
│       ├── invoices.ts    # Invoice CRUD + PDF/email/status/positions
│       ├── vouchers.ts    # Voucher CRUD + book/enshrine/positions
│       ├── accounts.ts    # Bank account + transaction CRUD
│       ├── orders.ts      # Order CRUD + PDF/email/positions
│       ├── creditnotes.ts # Credit note CRUD + PDF/email/positions
│       ├── parts.ts       # Part CRUD + stock
│       ├── tags.ts        # Tag + TagRelation CRUD
│       ├── addresses.ts   # Contact address CRUD
│       └── communication.ts # Communication way CRUD
├── build/                 # Compiled JavaScript output
├── package.json
└── tsconfig.json

API Reference

This server integrates with the sevdesk REST API. For complete API documentation, see:

License

ISC

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选