Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
MCP Server for YNAB
翻译准备中
开发工具GitHub @chrisguidry自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗An MCP server that lets an LLM read and manage a YNAB plan. It can answer questions about accounts, categories, spending, and scheduled transactions, and it can enter and edit transactions, assign and move money, and manage scheduled transactions. YNAB now calls budgets "plans", and so does this server.
uv sync
To use this MCP server, you need a YNAB Personal Access Token:
export YNAB_ACCESS_TOKEN=your_token_here
Set the plan ID used by all tools (required). It is the ID in the address of
your plan in YNAB's web app: https://app.ynab.com/<plan-id>/....
export YNAB_PLAN=your_plan_id_here
To serve only the tools that read the plan, set YNAB_READ_ONLY to any
non-empty value. The tools that change the plan are then not offered at all.
export YNAB_READ_ONLY=1
uv run python server.py
If uvx or you-need-an-mcp.exe fails with Access is denied (os error 5),
endpoint security may be blocking the generated console-script executable.
Launch the server through the environment's python.exe instead.
For a source checkout, after installing dependencies with uv sync --locked,
run these PowerShell commands from the repository directory:
$env:YNAB_ACCESS_TOKEN = "<your-token>"
$env:YNAB_PLAN = "<your-plan-id>"
& .\.venv\Scripts\python.exe -m server
For a persistent tool installation of a version with module-launch support
(uv tool install git+https://github.com/chrisguidry/you-need-an-mcp.git),
locate the interpreter using uv tool dir rather than assuming a fixed
installation path:
$toolDirectory = uv tool dir
$python = Join-Path $toolDirectory "you-need-an-mcp\Scripts\python.exe"
& $python -I -m server
To register that installed environment with Claude Code, replace the placeholders with your configuration:
claude mcp add ynab --scope user `
-e "YNAB_ACCESS_TOKEN=<your-token>" -e "YNAB_PLAN=<your-plan-id>" `
-- $python -I -m server
The module launch runs the same MCP server as the console-script entry point.
For installed tools, -I prevents an unrelated server.py in the current
directory from shadowing the installed module.
It requires an installed environment and permission to execute its interpreter.
If endpoint security also prevents installation or interpreter execution, use
your organization's approved setup process.
Every tool is tagged read or write, and carries MCP annotations that tell a
client whether it only reads, adds, changes, or deletes, so the client can ask
you before a change. All amounts are in your plan's currency, not milliunits.
get_plan - The plan's name, the months it covers, and its currency formatget_plan_month - One month's income, assigned, activity, Ready to Assign,
age of money, and categorieslist_plan_months - Every month's totals, newest firstget_month_category - One category's amounts and target for a monthlist_accounts - Accounts with balances, optionally including closed onescreate_account - Add an account that you track by handlist_categories / list_category_groups - Categories by group, with this
month's assigned, activity, available, and targetcreate_category, update_category - Add or change a category and its targetcreate_category_group, rename_category_group - Manage category groupsassign_money - Assign more to a category from Ready to Assign, or take some backset_assigned - Set exactly what a category has assignedmove_money - Move assigned money from one category to anotherlist_money_movements - The history of money assigned and movedlist_payees, find_payee - Browse or search payeescreate_payee, rename_payee - Manage payeeslist_transactions - Filter by account, category, payee, dates, amounts,
unapproved or uncategorized status, and textget_transaction - One transaction, with its splitscreate_transactions - Enter spending, income, transfers, and splitsupdate_transactions - Approve, categorize, and fix transactions in bulkdelete_transaction - Delete a transactionimport_transactions - Import new transactions from linked banks nowlist_scheduled_transactions, get_scheduled_transaction - Upcoming bills
and incomecreate_scheduled_transaction, update_scheduled_transaction,
delete_scheduled_transaction - Manage schedulesenter_scheduled_transaction - Enter a scheduled transaction now, before its
date, and move the schedule to its next dateYNAB's API cannot create or change split scheduled transactions, and it cannot attach receipts to transactions.
Every listing tool takes limit and offset. Check pagination.has_more, and
raise offset by limit to get the next page.
Keep your YNAB access token secure and never commit it to version control. The
token can read and change everything in your YNAB account. Use
YNAB_READ_ONLY when you want the server to only read.