ynab-mcpb

v0.35.0
io.github.dizzlkheinz/ynab-mcpb Checked 50 minutes ago Published 6 days ago

Local-first YNAB MCP for receipt splitting, safe cleanup, and spending analysis

Values you need

VariableWhat it is
YNAB_ACCESS_TOKENrequired secret YNAB Personal Access Token from https://app.ynab.com/settings/developer
YNAB_MCP_WRITE_MODEoptional Write policy: read-only, preview (default), or enabled
YNAB_MCP_TOOL_PROFILEoptional Static tool profile: core or full (default)

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add ynab-mcpb -e 'YNAB_ACCESS_TOKEN=<YNAB_ACCESS_TOKEN>' -- npx -y --package=@dizzlkheinz/ynab-mcpb@0.35.0 ynab-mcp-server
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ynab-mcpb": {
      "args": [
        "-y",
        "--package=@dizzlkheinz/ynab-mcpb@0.35.0",
        "ynab-mcp-server"
      ],
      "command": "npx",
      "env": {
        "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ynab-mcpb": {
      "args": [
        "-y",
        "--package=@dizzlkheinz/ynab-mcpb@0.35.0",
        "ynab-mcp-server"
      ],
      "command": "npx",
      "env": {
        "YNAB_ACCESS_TOKEN": "<YNAB_ACCESS_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "YNAB_ACCESS_TOKEN",
      "id": "ynab-access-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "ynab-mcpb": {
      "args": [
        "-y",
        "--package=@dizzlkheinz/ynab-mcpb@0.35.0",
        "ynab-mcp-server"
      ],
      "command": "npx",
      "env": {
        "YNAB_ACCESS_TOKEN": "${input:ynab-access-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ynab-mcpb]
command = "npx"
args = ["-y", "--package=@dizzlkheinz/ynab-mcpb@0.35.0", "ynab-mcp-server"]
env = { "YNAB_ACCESS_TOKEN" = "<YNAB_ACCESS_TOKEN>" }

For AI agents

  1. Ask the user for: YNAB_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: ynab_list_budgets, ynab_get_budget, ynab_list_payees, ynab_get_payee, ynab_list_categories, ynab_get_category, ynab_update_category, ynab_list_accounts, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json