
Bexio Mcp Server
io.github.PromptPartner由 GitHub 帳號 PromptPartner 發布v2.6.2更新於 Oct 24, 2026
Swiss accounting integration for Bexio. 315 tools: invoices, contacts, projects, account balances
概覽
把助理接上瑞士會計平台 Bexio,提供 315 個工具,涵蓋發票、聯絡人、專案、記帳與薪資。
- 可以做什麼
- 建立、更新與搜尋聯絡人、聯絡人群組及關聯關係
- 管理發票完整流程、報價、訂單、交貨與收款紀錄
- 處理銀行帳戶、瑞士 QR 帳單與 IBAN 付款、幣別管理
- 管理專案、里程碑、工時紀錄與業務活動
- 讀取與登錄會計資料:科目表、日記帳分錄、餘額、營業稅期間
- 上傳下載文件,管理應付帳款、費用與薪資紀錄
- 適用情境
- 適合在 Bexio 上記帳的瑞士企業:讓助理查詢逾期發票、草擬或開立發票、統計客戶營收,或在對話中彙整專案工時,不必切換系統。
- 執行需求
- 以 stdio 在本機執行(n8n 等用戶端可用 HTTP 模式)。需要從 Bexio 開發者入口取得 API 權杖,透過 BEXIO_API_TOKEN 提供;多公司情境使用 BEXIO_API_TOKENS。npm 方式需 Node.js LTS,Claude Desktop 擴充套件則不需要。需能連線至 Bexio API。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Bexio Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@promptpartner/bexio-mcp-server
Complete Swiss accounting integration for Bexio via the Model Context Protocol (MCP). Works with Claude Desktop, n8n, and any MCP-compatible client.
Manage invoices, contacts, projects, time tracking, and 300+ more tools through AI conversation or workflow automation.
⚠️ Early Release Software
This project is under active development. While it's functional and tested, you may encounter bugs or unexpected behavior. Features will continue to be added and improved over time. Please report any issues you find!
Compatibility
Quick Start
For Claude Desktop
Option A: MCPB Bundle (Easiest)
- Download the latest
.mcpbfile from GitHub Releases - Install it in Claude Desktop, either way works:
- Double-click the
.mcpbfile (or drag it onto the Claude Desktop window), or - go to Settings → Extensions → Advanced settings, and under Extension Developer click Install Extension… and select the file
- Double-click the
- Enter your Bexio API token when prompted. It is stored in your operating system's keychain.
- Optional: switch on Interactive panels in the extension's settings for invoice previews, contact cards and a dashboard.
No Node.js installation is needed: Claude Desktop runs extensions with its built-in Node.js. Updating from 2.6.1 or older? Re-enter your token if Claude Desktop asks for it.
Option B: npm (manual config)
Requires Node.js (LTS). In Claude Desktop, open Settings → Developer → Edit Config and add:
Config location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Then quit Claude Desktop completely and restart it. Note that this file keeps your token in plain text; the extension (Option A) stores it in the keychain instead.
For n8n and Other HTTP Clients
Start the server in HTTP mode, with a bearer token:
Clients then send Authorization: Bearer <BEXIO_HTTP_TOKEN> on every request (GET /,
the health check, stays open).
Security: every tool reads or changes your books. Without
BEXIO_HTTP_TOKENthe HTTP endpoints are unauthenticated: on0.0.0.0(the default) anyone who can reach the port can use them, and because CORS allows any origin, even a loopback-only server can be called by a web page open in your browser. The server warns at startup when no token is set. Local file paths (upload_filefile_path,download_fileoutput_path) are refused over HTTP unlessBEXIO_FILE_DIRnames a directory to confine them to.
The server exposes MCP over HTTP at http://localhost:8000. Configure your MCP client to connect to this endpoint.
For Other stdio Clients
Or build from source:
Getting Your Bexio API Token
- Go to developer.bexio.com
- Log in with your regular Bexio account
- Navigate to Personal Access Tokens
- Click Create New Token
- Copy the token and use it in your configuration
Features
This MCP server provides 315 tools across all Bexio domains:
Contacts & CRM
- Create, update, search contacts
- Contact groups, sectors, salutations, titles
- Contact relations management
Invoices & Sales
- Full invoice lifecycle (create, issue, send, cancel)
- Quotes with accept/decline workflows
- Orders with delivery management
- Incoming payments tracking
- Interactive invoice preview (Claude Desktop)
Banking & Payments
- Swiss QR-bill payment support (QR-IBAN)
- Standard IBAN payments (ISO 20022)
- Currency management (CHF, EUR)
- Bank account management
Projects & Time Tracking
- Project management with types and statuses
- Milestones and work packages
- Timesheet entries with duration tracking
- Business activities and communication types
Accounting
- Chart of accounts
- Manual journal entries, incl. group entries (Sammelbuchung: one voucher, many postings)
- Journal by date range and account; computed account balances (Saldenliste)
- Business years and VAT periods
- Account groups
Purchase & Expenses
- Bills (creditor invoices)
- Expenses and purchase orders
- Outgoing payments
Files & Documents
- Document upload/download; upload straight from a local file path (no base64 through the chat)
- File management
Payroll (requires Bexio Payroll module)
- Employee management
- Absence tracking
- Payroll documents
Examples
Here are some real-world examples of using the Bexio MCP server with Claude:
Example 1: Finding Overdue Invoices
Prompt:
"Show me all overdue invoices"
What happens:
Claude uses the get_overdue_invoices tool to query Bexio for all invoices past their due date.
Response:
Found 3 overdue invoices:
Total overdue: CHF 8,540.50
Example 2: Creating an Invoice
Prompt:
"Create an invoice for contact 'Sunrise AG' with two items: 10 hours of consulting at CHF 150/hour and a software license for CHF 500"
What happens:
Claude uses find_contact_by_name to locate the customer, then create_invoice with the specified line items.
Response:
Created Invoice INV-2024-015 for Sunrise AG:
- 10x Consulting Hours @ CHF 150.00 = CHF 1,500.00
- 1x Software License @ CHF 500.00 = CHF 500.00
Subtotal: CHF 2,000.00 VAT (8.1%): CHF 162.00 Total: CHF 2,162.00
Invoice is in draft status. Say "issue invoice INV-2024-015" to finalize it.
Example 3: Project Time Summary
Prompt:
"How much time was logged on project 'Website Redesign' this month?"
What happens:
Claude uses search_projects to find the project, then search_timesheets to get time entries filtered by project and date range.
Response:
Time logged on "Website Redesign" (January 2024):
Total: 50 hours 45 minutes
Budget used: 50.75 of 80 hours (63%)
Example 4: Customer Revenue Report
Prompt:
"What's my revenue from 'Tech Solutions GmbH' this year?"
What happens:
Claude uses find_contact_by_name to identify the customer, then get_customer_revenue_report to calculate total revenue from paid invoices.
Response:
Revenue from Tech Solutions GmbH (2024):
- Q1: CHF 12,450.00 (3 invoices)
- Q2: CHF 8,200.00 (2 invoices)
- Q3: CHF 15,800.00 (4 invoices)
- Q4: CHF 6,500.00 (2 invoices, 1 pending)
Total paid: CHF 42,950.00 Pending: CHF 3,200.00
Environment Variables
* Provide either BEXIO_API_TOKEN (one company) or BEXIO_API_TOKENS (several).
Reducing Token Budget — Category Whitelist
All tools are registered by default. For focused workflows or smaller models,
registering only a subset reduces the system-prompt token cost. Set
BEXIO_ENABLED_CATEGORIES to a comma-separated list:
Available categories: reference, company, banking, projects,
timetracking, accounting, purchase, files, payroll, contacts,
invoices, orders, quotes, payments, reminders, deliveries,
items, reports, users, misc, notes, tasks, stock, docs,
positions. Unknown names are ignored (logged to stderr); empty/unset = all
enabled (backward compatible).
Multiple Companies (Mandates)
Bexio binds each API token to a single company (mandate) — there is no token that
spans companies. To work with several companies, generate one token per company (switch
to that company in Bexio first, then Settings → API Tokens), and configure them all on a
single server instance. Two new tools — list_companies and select_company — let
you switch the active company in conversation ("in Globex, list open invoices"). This
avoids running one server per company and the duplicated tool-context that comes with it.
Set BEXIO_API_TOKENS instead of (or alongside) BEXIO_API_TOKEN, as a comma-separated
list of label:token pairs (or a JSON object). BEXIO_DEFAULT_COMPANY picks the company
active at startup (defaults to the first):
Then just ask Claude things like "switch to Globex and show this month's invoices."
list_companies shows the configured companies and which one is active; in
multi-company mode each response also notes the active_company so it's always clear
which company a result came from. Tokens are never logged or returned. The two control
tools appear only when BEXIO_API_TOKENS is set, so single-company setups are unchanged.
HTTP/n8n note: the active company is process-global. For concurrent multi-tenant HTTP deployments, run one instance per company instead.
Command Line Options
Troubleshooting
"Invalid API token" error
- Verify your token at developer.bexio.com > Personal Access Tokens
- Ensure the token has not expired
- Check that the token has the required permissions
"Connection refused" error
- Check your internet connection
- Verify BEXIO_BASE_URL is correct (default: https://api.bexio.com/2.0)
Payroll tools return "module not available"
- Payroll tools require the Bexio Payroll module subscription
- Contact Bexio support to enable the module
Claude Desktop doesn't see the server
- Quit Claude Desktop completely (not just the window) and restart it after configuration changes
- Check that it is connected: click + in the message box → Connectors → Manage connectors
- For the JSON config: check the file path for your OS and that the JSON is valid
- Check the logs:
~/Library/Logs/Claude/mcp-server-*.log(macOS) or%APPDATA%\Claude\logs(Windows)
Privacy Policy
This MCP server acts as a pass-through to the Bexio API and does not store any data. For full details, see our Privacy Policy.
Your data is processed according to Bexio's Privacy Policy.
Support
- Issues & Bug Reports: GitHub Issues
- Email: [email protected]
Support the Project
If this project saves you time or helps your business, consider buying me a coffee! ☕
Your support helps keep this project maintained and improved!
Author
Created by Lukas Hertig from PromptPartner.ai
Acknowledgments
This project builds upon the original Bexio MCP server created by Sebastian Bryner of bryner.tech. His v1.0 implementation provided the foundational architecture and initial 83 tools that made this expanded v2.0 possible.
Development Tools
The expansion from 83 to 314 tools was developed using:
- GSD Framework - The "Get Shit Done" planning framework for structured AI-assisted development workflows
These tools helped transform a 4-weeks estimated project into a 2-days reality, demonstrating the potential of AI-augmented software development.
Disclaimer
This is an independent, community-driven project and is not affiliated with, endorsed by, or officially connected to Bexio AG in any way. "Bexio" is a trademark of Bexio AG. This project simply provides an integration layer to the publicly available Bexio API.
Use of this software is at your own risk. The authors are not responsible for any issues arising from its use with your Bexio account.
License
MIT - See LICENSE for details.
Star History
[Star History Chart]Links
來源:README.md,提交 0d67ebd
工具
0版本歷史
3- v2.6.2最新Sep 28, 2026
- v2.6.0Sep 27, 2026
- v2.5.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分