Skip to content
← All MCP servers

Is the YNAB MCP server safe? What it can reach

What the YNAB MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Community serverChecked

YNAB has no official MCP server, so this covers calebl/ynab-mcp-server, the most used community one. It runs locally with your YNAB Personal Access Token and can also be deployed as a Cloudflare Worker. It is read-only unless you set YNAB_READ_ONLY to false. With writes on, it can edit and delete transactions.

Who maintains it

ImplementationKindStatus
calebl/ynab-mcp-server (community)Communityactive

It runs as a local process on your machine or as a hosted remote server.

How it signs in

A YNAB Personal Access Token set as YNAB_API_TOKEN. It reaches every plan on your YNAB account, and the server does not narrow it. The README says the token is never sent to the model.

What its tools can do

KindTools
Readynab_list_plans, ynab_plan_summary, ynab_list_accounts, ynab_list_categories, ynab_list_payees, ynab_list_months, ynab_list_scheduled_transactions, ynab_get_transactions, ynab_suggest_categories, ynab_spending_by_category, ynab_spending_by_payee, ynab_cash_flow, ynab_balance_forecast, ynab_detect_recurring
Writeynab_create_transaction, ynab_update_transaction, ynab_bulk_approve_transactions, ynab_apply_category_suggestions, ynab_update_category_budget, ynab_import_transactions, ynab_move_money, ynab_auto_assign
Can’t be undoneynab_delete_transaction, ynab_manage_scheduled_transaction

The write and destructive tools are left out of the tool list unless YNAB_READ_ONLY is false. ynab_suggest_categories is opt-in and needs extra settings. ynab_manage_scheduled_transaction can create, update or delete, and its delete can’t be undone.

Built-in limits

OptionWhat it does
YNAB_READ_ONLYRead-only by default. Write tools are registered only when it is set to false, in the stdio server, the HTTP server and the Worker.
YNAB_PLAN_IDSets a default plan so tools can omit planId. A caller can still pass another planId.
YNAB_AI_CATEGORIZATION and TYPESAFE_API_KEYCategory suggestions are off unless both are set. YNAB_AI_TYPICAL_PAYEES, also off by default, adds payee history to each model request sent to TypeSafe.
Worker sign-inThe Cloudflare Worker admits one identity through Cloudflare Access or GitHub. The self-hosted HTTP server has no authentication of its own and listens on 127.0.0.1 by default.

The risks

  • With writes on, an injected instruction could delete transactions or scheduled transactions, and the README says neither delete can be undone.
  • The token covers your whole YNAB account, so anyone who can reach a deployed endpoint reaches your money data across every plan.
  • The self-hosted HTTP server does no authentication, so widening YNAB_MCP_HOST without an authenticating proxy exposes the token’s reach to the network.
  • Transaction payees and memos are text from banks and merchants, so a crafted payee name can carry instructions into the agent.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add --env YNAB_API_TOKEN=... ynab -- node /absolute/path/to/ynab-mcp-server/dist/index.js

Claude Code names MCP tools mcp__ynab__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "deny": [
      "mcp__ynab__ynab_delete_transaction"
    ],
    "ask": [
      "mcp__ynab__ynab_manage_scheduled_transaction",
      "mcp__ynab__ynab_create_transaction",
      "mcp__ynab__ynab_update_transaction",
      "mcp__ynab__ynab_bulk_approve_transactions",
      "mcp__ynab__ynab_apply_category_suggestions",
      "mcp__ynab__ynab_update_category_budget",
      "mcp__ynab__ynab_import_transactions",
      "mcp__ynab__ynab_move_money",
      "mcp__ynab__ynab_auto_assign"
    ]
  }
}

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.ynab]
command = "node"
args = ["/absolute/path/to/ynab-mcp-server/dist/index.js"]
env_vars = ["YNAB_API_TOKEN"]
disabled_tools = ["ynab_delete_transaction"]

Checklist

  • Leave YNAB_READ_ONLY unset until you need a write.
  • Set YNAB_PLAN_ID so the agent starts in the right plan.
  • Do not widen YNAB_MCP_HOST without an authenticating proxy.
  • Revoke and reissue the Personal Access Token if it leaks.
  • Keep category suggestions off unless you accept sending data to TypeSafe.

Checked against the vendor documentation on November 25, 2026. calebl/ynab-mcp-server README · README (raw)

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing