
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
karbon-mcp-server
Advanced tools
Unofficial MCP server for Karbon practice management — connect Claude Code, Claude Desktop, Copilot, or any MCP client to your Karbon instance.
🚧 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.
| Area | Tools |
|---|---|
| Contacts | list_contacts, get_contact, create_contact, update_contact |
| Organizations | list_organizations, get_organization, create_organization, update_organization |
| Client groups | list_client_groups, get_client_group, create_client_group, update_client_group |
| Work items | list_work_items, get_work_item, get_estimate_summary, create_work_item, update_work_item |
| Notes & comments | get_note, create_note, get_comment |
| Timesheets | list_timesheets, get_timesheet, list_time_entries, get_time_entry (read-only) |
| Invoices | list_invoices, get_invoice (read-only) |
| Payments | list_payments, get_payment; plus create_manual_payment, delete_manual_payment, reverse_manual_payment behind KARBON_ALLOW_PAYMENT_WRITES=true |
| Business cards | get_business_card, update_business_card — contact details (email, phone, address) |
| Custom fields | list_custom_fields, get_custom_field_values, set_custom_field_values, create_custom_field, delete_custom_field |
| Files | list_entity_files, download_file, upload_file |
| Teams | list_teams, get_team, add_team_members, remove_team_member |
| Work schedules | get_work_schedule, create_work_schedule, update_work_schedule |
| Users | list_users, get_user |
| Account | get_tenant_settings, list_work_templates, get_work_template |
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.
Step-by-step walkthroughs for Claude Desktop, claude.ai/Cowork, and ChatGPT (written for non-developers) are in docs/client-guides.md.
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.
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:
# Windows (PowerShell)
irm https://raw.githubusercontent.com/Mad-Man-Dan/karbon-mcp-server/main/scripts/install.ps1 | iex
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/Mad-Man-Dan/karbon-mcp-server/main/scripts/install.sh | bash
npx -y karbon-mcp-server 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:
.mcp.json (Claude Code), plus .vscode/mcp.json and .cursor/mcp.json if those folders exist in the project.mcp add CLI).It then offers to take your two Karbon keys (Enter skips either one):
* per character, then a first-4/last-4 preview (like 1a2b****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 with ey...).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:
npx -y karbon-mcp-server setup --scope project # skip the question
npx -y karbon-mcp-server setup --scope user
npx -y karbon-mcp-server setup --read-only # disable all write tools
npx -y karbon-mcp-server setup --client vscode,cursor # only these clients
# ids: claude-code, codex, claude-desktop, vscode, cursor
npx -y karbon-mcp-server setup --print # just print the JSON
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 mcp add karbon \
--env KARBON_BEARER_TOKEN=your-bearer-token \
--env KARBON_ACCESS_KEY=your-access-key \
-- npx -y karbon-mcp-server
Add to claude_desktop_config.json:
{
"mcpServers": {
"karbon": {
"command": "npx",
"args": ["-y", "karbon-mcp-server"],
"env": {
"KARBON_BEARER_TOKEN": "your-bearer-token",
"KARBON_ACCESS_KEY": "your-access-key"
}
}
}
}
Add to .vscode/mcp.json in your workspace (or your user mcp.json):
{
"servers": {
"karbon": {
"command": "npx",
"args": ["-y", "karbon-mcp-server"],
"env": {
"KARBON_BEARER_TOKEN": "your-bearer-token",
"KARBON_ACCESS_KEY": "your-access-key"
}
}
}
}
Add to ~/.cursor/mcp.json (or use the install badge above):
{
"mcpServers": {
"karbon": {
"command": "npx",
"args": ["-y", "karbon-mcp-server"],
"env": {
"KARBON_BEARER_TOKEN": "your-bearer-token",
"KARBON_ACCESS_KEY": "your-access-key"
}
}
}
}
codex mcp add karbon \
--env KARBON_BEARER_TOKEN=your-bearer-token \
--env KARBON_ACCESS_KEY=your-access-key \
-- npx -y karbon-mcp-server
Or add to ~/.codex/config.toml:
[mcp_servers.karbon]
command = "npx"
args = ["-y", "karbon-mcp-server"]
[mcp_servers.karbon.env]
KARBON_BEARER_TOKEN = "your-bearer-token"
KARBON_ACCESS_KEY = "your-access-key"
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:
KARBON_BEARER_TOKEN=... KARBON_ACCESS_KEY=... KARBON_HTTP_SECRET=some-long-random-string \
npx -y karbon-mcp-server --http --port 8787
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:
cloudflared tunnel --url http://localhost:8787
Then add the URL (e.g. https://your-tunnel.trycloudflare.com/mcp/your-secret) as:
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.
| Environment variable | Required | Description |
|---|---|---|
KARBON_BEARER_TOKEN | Yes | Bearer token from Karbon Connected Apps |
KARBON_ACCESS_KEY | Yes | Access key (JWT) from Karbon Connected Apps |
KARBON_READ_ONLY | No | Set to true to disable all create/update tools |
KARBON_ALLOW_PAYMENT_WRITES | No | Set to true to enable the payment write tools (create/delete/reverse manual payments). Off by default |
KARBON_API_BASE_URL | No | Override the API base URL (default https://api.karbonhq.com/v3) |
KARBON_HTTP_SECRET | No | HTTP mode only: secret path segment for the endpoint (/mcp/<secret>) |
PORT | No | HTTP mode only: port to listen on (default 8787; --port wins) |
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.
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.
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.
git clone https://github.com/Mad-Man-Dan/karbon-mcp-server.git
cd karbon-mcp-server
npm install
npm test # builds, then runs the smoke tests (tool matrix across flag combos)
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:
npx @modelcontextprotocol/inspector \
-e KARBON_BEARER_TOKEN=... -e KARBON_ACCESS_KEY=... \
node dist/index.js
The Karbon API is documented at developers.karbonhq.com with an OpenAPI spec at karbonhq/karbon-api-reference.
Contributions welcome — open an issue or PR.
FAQs
Unofficial MCP server for Karbon practice management — connect Claude Code, Claude Desktop, Copilot, or any MCP client to your Karbon instance.
We found that karbon-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.