Skip to content
VS Code

Crunch Accounting (crunch-mcp) for VS Code

io.github.mattoddie/crunch-mcp

Work with your Crunch Accounting books: expenses, receipts, invoices, clients, suppliers and banking

client:VS Code transport:stdio runtime:oci

Install Crunch Accounting (crunch-mcp) in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-transport",
      "description": "MCP_TRANSPORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-client-id",
      "description": "CRUNCH_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-client-secret",
      "description": "CRUNCH_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-redirect-uri",
      "description": "CRUNCH_REDIRECT_URI",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-refresh-token",
      "description": "CRUNCH_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-allow-writes",
      "description": "CRUNCH_ALLOW_WRITES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-allow-deletes",
      "description": "CRUNCH_ALLOW_DELETES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-allow-email",
      "description": "CRUNCH_ALLOW_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-toolsets",
      "description": "CRUNCH_TOOLSETS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-files-dir",
      "description": "CRUNCH_FILES_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "crunch-audit-log",
      "description": "CRUNCH_AUDIT_LOG",
      "password": true
    }
  ],
  "servers": {
    "crunch-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mattoddie/crunch-mcp:0.4.2"
      ],
      "env": {
        "MCP_TRANSPORT": "${input:mcp-transport}",
        "CRUNCH_CLIENT_ID": "${input:crunch-client-id}",
        "CRUNCH_CLIENT_SECRET": "${input:crunch-client-secret}",
        "CRUNCH_REDIRECT_URI": "${input:crunch-redirect-uri}",
        "CRUNCH_REFRESH_TOKEN": "${input:crunch-refresh-token}",
        "CRUNCH_ALLOW_WRITES": "${input:crunch-allow-writes}",
        "CRUNCH_ALLOW_DELETES": "${input:crunch-allow-deletes}",
        "CRUNCH_ALLOW_EMAIL": "${input:crunch-allow-email}",
        "CRUNCH_TOOLSETS": "${input:crunch-toolsets}",
        "CRUNCH_FILES_DIR": "${input:crunch-files-dir}",
        "CRUNCH_AUDIT_LOG": "${input:crunch-audit-log}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Crunch Accounting (crunch-mcp) in other clients