Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、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.