Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-mattoddie-crunch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_ID=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_SECRET=<YOUR_VALUE>",
"-e",
"CRUNCH_REDIRECT_URI=<YOUR_VALUE>",
"-e",
"CRUNCH_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_WRITES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_DELETES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_EMAIL=<YOUR_VALUE>",
"-e",
"CRUNCH_TOOLSETS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_ALLOWED_PATHS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_READ_ONLY=<YOUR_VALUE>",
"-e",
"CRUNCH_FILES_DIR=<YOUR_VALUE>",
"-e",
"CRUNCH_AUDIT_LOG=<YOUR_VALUE>",
"ghcr.io/mattoddie/crunch-mcp:0.7.0"
]
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-mattoddie-crunch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_ID=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_SECRET=<YOUR_VALUE>",
"-e",
"CRUNCH_REDIRECT_URI=<YOUR_VALUE>",
"-e",
"CRUNCH_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_WRITES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_DELETES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_EMAIL=<YOUR_VALUE>",
"-e",
"CRUNCH_TOOLSETS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_ALLOWED_PATHS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_READ_ONLY=<YOUR_VALUE>",
"-e",
"CRUNCH_FILES_DIR=<YOUR_VALUE>",
"-e",
"CRUNCH_AUDIT_LOG=<YOUR_VALUE>",
"ghcr.io/mattoddie/crunch-mcp:0.7.0"
]
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-mattoddie-crunch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_ID=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_SECRET=<YOUR_VALUE>",
"-e",
"CRUNCH_REDIRECT_URI=<YOUR_VALUE>",
"-e",
"CRUNCH_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_WRITES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_DELETES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_EMAIL=<YOUR_VALUE>",
"-e",
"CRUNCH_TOOLSETS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_ALLOWED_PATHS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_READ_ONLY=<YOUR_VALUE>",
"-e",
"CRUNCH_FILES_DIR=<YOUR_VALUE>",
"-e",
"CRUNCH_AUDIT_LOG=<YOUR_VALUE>",
"ghcr.io/mattoddie/crunch-mcp:0.7.0"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-mattoddie-crunch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_ID=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_SECRET=<YOUR_VALUE>",
"-e",
"CRUNCH_REDIRECT_URI=<YOUR_VALUE>",
"-e",
"CRUNCH_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_WRITES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_DELETES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_EMAIL=<YOUR_VALUE>",
"-e",
"CRUNCH_TOOLSETS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_ALLOWED_PATHS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_READ_ONLY=<YOUR_VALUE>",
"-e",
"CRUNCH_FILES_DIR=<YOUR_VALUE>",
"-e",
"CRUNCH_AUDIT_LOG=<YOUR_VALUE>",
"ghcr.io/mattoddie/crunch-mcp:0.7.0"
]
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-mattoddie-crunch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_ID=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_SECRET=<YOUR_VALUE>",
"-e",
"CRUNCH_REDIRECT_URI=<YOUR_VALUE>",
"-e",
"CRUNCH_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_WRITES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_DELETES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_EMAIL=<YOUR_VALUE>",
"-e",
"CRUNCH_TOOLSETS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_ALLOWED_PATHS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_READ_ONLY=<YOUR_VALUE>",
"-e",
"CRUNCH_FILES_DIR=<YOUR_VALUE>",
"-e",
"CRUNCH_AUDIT_LOG=<YOUR_VALUE>",
"ghcr.io/mattoddie/crunch-mcp:0.7.0"
]
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-mattoddie-crunch-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"MCP_TRANSPORT=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_ID=<YOUR_VALUE>",
"-e",
"CRUNCH_CLIENT_SECRET=<YOUR_VALUE>",
"-e",
"CRUNCH_REDIRECT_URI=<YOUR_VALUE>",
"-e",
"CRUNCH_REFRESH_TOKEN=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_WRITES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_DELETES=<YOUR_VALUE>",
"-e",
"CRUNCH_ALLOW_EMAIL=<YOUR_VALUE>",
"-e",
"CRUNCH_TOOLSETS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_ALLOWED_PATHS=<YOUR_VALUE>",
"-e",
"CRUNCH_RAW_READ_ONLY=<YOUR_VALUE>",
"-e",
"CRUNCH_FILES_DIR=<YOUR_VALUE>",
"-e",
"CRUNCH_AUDIT_LOG=<YOUR_VALUE>",
"ghcr.io/mattoddie/crunch-mcp:0.7.0"
]
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| MCP_TRANSPORT | No | Serve MCP over stdio. The image serves HTTP by default. |
| CRUNCH_CLIENT_ID | Yes | The client ID Crunch gave you when it approved your API application. |
| CRUNCH_CLIENT_SECRET secret | No | Only for confidential clients, which Crunch issues a secret. Leave empty for a public client. |
| CRUNCH_REDIRECT_URI | No | Only if your API account has a redirect URI registered with Crunch. Empty means http://127.0.0.1:8976/callback. |
| CRUNCH_REFRESH_TOKEN secret | No | Optional refresh token to start from instead of logging in. Don't use it anywhere else afterwards. |
| CRUNCH_ALLOW_WRITES | No | Allow creating and changing records, including issuing invoices. Off means read-only. Default: false |
| CRUNCH_ALLOW_DELETES | No | Also allow deleting records and removing payments. Needs CRUNCH_ALLOW_WRITES. Default: false |
| CRUNCH_ALLOW_EMAIL | No | Also allow emailing invoices and turning on payment reminders. Needs CRUNCH_ALLOW_WRITES. Default: false |
| CRUNCH_TOOLSETS | No | Optional comma-separated toolsets, e.g. account,reference,expenses. Empty means all but raw (list raw by name). |
| CRUNCH_RAW_ALLOWED_PATHS | No | Optional comma-separated path prefixes the raw API tool may use, e.g. /expenses. Empty allows all. |
| CRUNCH_RAW_READ_ONLY | No | Keep the raw API tool to GET requests even when CRUNCH_ALLOW_WRITES is on. Default: false |
| CRUNCH_FILES_DIR | No | Optional folder, inside the container, for receipts to attach and files to save. Mount it too. Empty turns it off. |
| CRUNCH_AUDIT_LOG | No | Optional audit log of every change: stderr, or a file path inside the container. Empty turns it off. |