
Karbon Mcp Server
io.github.Mad-Man-Dan由 GitHub 帳號 Mad-Man-Dan 發布v0.2.4更新於 Oct 24, 2026
Unofficial MCP server for Karbon practice management: contacts, work, time, invoices, payments.
概覽
非官方 MCP 伺服器,讓助理連接 Karbon 事務所管理平台,處理聯絡人、工作項目、工時、發票、付款和檔案。
- 可以做什麼
- 列出、讀取、建立和更新聯絡人、組織和客戶群組,並可用自訂識別碼查找
- 列出、讀取、建立和更新工作項目,以及估算彙總、備註和留言
- 讀取工時表和工時記錄;讀取發票
- 列出和讀取付款;僅在明確開啟時可建立、刪除或沖銷手動付款
- 讀取和更新名片、自訂欄位、團隊、工作排程、使用者、帳戶設定和工作範本
- 列出、下載和上傳記錄相關的檔案
- 適用情境
- 適合需要助理在 Karbon 帳戶中查詢或修改資料的情境,例如尋找客戶、查看工作項目預算、列出未付發票、記錄備註,或用自然語言建立工作項目。
- 執行需求
- 以本機程序執行,需要 Node.js 18 或更新版本,通常透過 npx 啟動。需要 Karbon 的 API 憑證(設定 → 已連結應用程式 → API 應用程式),以環境變數 KARBON_BEARER_TOKEN 和 KARBON_ACCESS_KEY 提供。需要連線至 Karbon API 的網路。可選的 HTTP 模式另需 KARBON_HTTP_SECRET 和連接埠。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Karbon Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Karbon MCP Server
🚧 Early release — this project is brand new and we're actively making updates over the next few days. Things may change quickly; pin a version if you need stability, and check back soon.
An unofficial Model Context Protocol server for Karbon practice management. Connect Claude Code, Claude Desktop, GitHub Copilot, or any MCP-compatible client to your Karbon instance and work with contacts, work items, time, invoices, payments, files, and more using natural language.
Disclaimer: This is a community project and is not affiliated with or endorsed by Karbon. Use at your own risk.
[Install in VS Code] [Install in VS Code Insiders] [Install in Cursor]
Features
get_contact, get_organization, and get_client_group can also look records up by your own UserDefinedIdentifier instead of the Karbon key — handy if you sync IDs from your tax software.
All list tools support OData filtering ($filter), ordering ($orderby), and pagination ($top/$skip) — so you can ask things like "show my in-progress work items due this month" and the AI can express that as a precise query.
Prerequisites
- Node.js 18+
- Karbon API credentials. In Karbon go to Settings → Connected Apps → API Applications and copy your Bearer Token and Access Key. (Karbon help article)
Setup
Step-by-step walkthroughs for Claude Desktop, claude.ai/Cowork, and ChatGPT (written for non-developers) are in docs/client-guides.md.
Claude Desktop: one-click bundle
Download karbon-mcp-server.mcpb from the latest release and double-click it. Claude Desktop opens a form for your two Karbon keys (stored securely by your OS) plus a read-only toggle — no terminal needed. Walkthrough.
One-line install (nothing to download first)
No Node.js? These check for it (installing via winget/Homebrew where possible), then run the setup wizard straight from npm — no repo clone, no manual download:
Quickest with Node.js installed: automatic setup
Setup asks a few quick questions — project or user-level install, your API keys (skippable), and whether to enable read-only mode — then does everything else automatically:
- This project (the default): writes
.mcp.json(Claude Code), plus.vscode/mcp.jsonand.cursor/mcp.jsonif those folders exist in the project. - User account: detects which MCP clients are installed on your machine — Claude Code, Codex, Claude Desktop, VS Code, Cursor — and adds the server to each (for Claude Code and Codex it uses their own
mcp addCLI).
It then offers to take your two Karbon keys (Enter skips either one):
- Input is masked — you see a
*per character, then a first-4/last-4 preview (like1a2b****5c6d, the same style Karbon's site uses) so you can confirm what was entered, with a gentle warning if the format looks off (the Bearer Token is a GUID; the Access Key starts withey...). - Keys are written only to your MCP client's local config file on your machine — the same file a manual setup would use. They are never sent anywhere else.
- If you skip, placeholder values are written and setup tells you exactly which file(s) to edit later.
It backs up every existing config file before touching it, merges rather than overwrites, and never replaces real credentials with placeholders (re-running and skipping the prompts keeps your existing keys). If you go project-level, gitignore the config files — your keys live in them in plain text.
Options:
One-click installs
The Install in VS Code / Cursor badges above create the server entry for you with placeholder credentials. After installing, replace YOUR_BEARER_TOKEN and YOUR_ACCESS_KEY with your real keys — in VS Code via the Command Palette → MCP: Open User Configuration, in Cursor by editing ~/.cursor/mcp.json.
If you run the server before replacing the placeholders, it starts fine and every tool responds with setup instructions instead of failing cryptically — so you can even ask your AI assistant "why isn't Karbon working?" and it will tell you what to do.
Prefer to configure things by hand? Each client is below.
Claude Code
Claude Desktop
Add to claude_desktop_config.json:
VS Code (GitHub Copilot)
Add to .vscode/mcp.json in your workspace (or your user mcp.json):
Cursor
Add to ~/.cursor/mcp.json (or use the install badge above):
Codex (OpenAI Codex CLI)
Or add to ~/.codex/config.toml:
ChatGPT, claude.ai chat & Claude Cowork (remote connectors)
These clients can't launch local servers — they only connect to a remote MCP server over HTTPS. This package includes a streamable-HTTP mode for exactly that, so a firm can self-host it and keep their Karbon keys in their own infrastructure:
This serves the MCP endpoint at /mcp/<your-secret> (plus a /health check). Expose it over HTTPS however you like — the quickest free option is a Cloudflare Tunnel:
Then add the URL (e.g. https://your-tunnel.trycloudflare.com/mcp/your-secret) as:
- claude.ai / Cowork: Settings → Connectors → Add custom connector (Pro/Max/Team/Enterprise plans)
- ChatGPT: Settings → Connectors (requires developer mode for full tool access)
Security notes: anyone with the full URL has the same Karbon access as your API keys, so use a long random
KARBON_HTTP_SECRET, always front it with HTTPS, and considerKARBON_READ_ONLY=truefor remote use. There is deliberately no shared/hosted instance of this server — your keys should only ever live on infrastructure you control.
Configuration
Read-only mode
If you want a guarantee that the AI can never modify your Karbon data, set KARBON_READ_ONLY=true (or pass --read-only). Write tools are not registered at all in this mode, so the AI never sees them. This also disables download_file — it doesn't change Karbon, but it writes to the local disk, and read-only means no writes anywhere. The setup wizard asks about this.
Changing it later: setup always writes the toggle explicitly ("KARBON_READ_ONLY": "true" or "false"), so the switch is right there in your config file — flip the value and restart the client. Write tools appear or disappear accordingly (in read-only mode they aren't registered at all, so the AI never sees them). Alternatively, re-run setup and skip the key prompts (press Enter) — your saved keys are kept, and your new read-only answer is applied. One caveat: entries managed by the claude / codex CLIs aren't touched by a re-run — for those, run claude mcp remove karbon (or codex mcp remove karbon) first, then re-run setup.
Payment writes (extra opt-in)
Recording, deleting, or reversing payments touches financial records, so those three tools sit behind their own switch — even with writes otherwise enabled they are not registered until you set KARBON_ALLOW_PAYMENT_WRITES=true (or pass --allow-payment-writes). Setup writes the toggle as "false" so it's easy to find and flip in your config file; re-running setup never resets a value you changed by hand. Read-only mode always wins: if KARBON_READ_ONLY=true, payment writes stay off regardless.
A note on credentials
Whether you type your keys into the setup wizard or paste them into a config file by hand, they end up in exactly one place: your own MCP client's local config file — the same file a fully manual setup would use. Nothing in this project transmits your keys anywhere else. Like every stdio MCP server, the keys live in that file in plain text, so treat it like a password: it grants the same access to your Karbon account as your keys do. If a key is ever exposed, regenerate it in Karbon under Settings → Connected Apps.
Example prompts
- "Find the contact record for Jane Smith and show her business card details."
- "Update Jane Smith's email address and phone number."
- "List all in-progress work items assigned to me, ordered by due date."
- "Are we over budget on the Hendersons' tax return?"
- "Which invoices are still awaiting payment, and for how much?"
- "Create a work item for Acme Corp's 2025 tax return, assigned to [email protected], starting next Monday."
- "Add a note to the Smith work item summarizing today's client call."
- "How many hours were logged against client work last week?"
- "What files are attached to the Miller onboarding work item?"
Development
Releases are automated: pushing a v* tag runs CI, publishes to npm via trusted publishing (OIDC — no tokens), and updates the MCP Registry listing.
Test locally with the MCP Inspector:
The Karbon API is documented at developers.karbonhq.com with an OpenAPI spec at karbonhq/karbon-api-reference.
Contributing
Contributions welcome — open an issue or PR.
License
來源:README.md,提交 6a4e054
工具
0版本歷史
1- v0.2.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分