Skip to content
VS Code

MCP Server for YNAB for VS Code

io.github.hs737/mcp-server-for-ynab

Connect your AI assistant to YNAB. Read-only by default, with reversible opt-in writes.

client:VS Code transport:stdio runtime:pypi

Install MCP Server for YNAB in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ynab-api-key",
      "description": "YNAB_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ynab-plan-id",
      "description": "YNAB_PLAN_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ynab-allow-writes",
      "description": "YNAB_ALLOW_WRITES",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-for-ynab": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-for-ynab"
      ],
      "env": {
        "YNAB_API_KEY": "${input:ynab-api-key}",
        "YNAB_PLAN_ID": "${input:ynab-plan-id}",
        "YNAB_ALLOW_WRITES": "${input:ynab-allow-writes}"
      }
    }
  }
}

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

MCP Server for YNAB in other clients