MCP YNAB Server
by klauern
MCP YNAB Server
An MCP server implementation that provides access to YNAB (You Need A Budget) functionality through the Model Context Protocol.
Features
- View account balances and transactions
- Create new transactions
- Access YNAB data through standardized MCP resources
Installation
Copy
Configuration
The server requires a YNAB API key to function. You can obtain one from your YNAB Developer Settings.
The API key can be provided through:
- Environment variable:
YNAB_API_KEY=your_api_key
- MCP secret management system
.env
file in project root
Usage
Running the Server
Copy
Available Resources
ynab://accounts
- List all YNAB accountsynab://transactions/{account_id}
- Get recent transactions for a specific account
Available Tools
create_transaction
- Create a new transactionget_account_balance
- Get the current balance of an account
Example Usage
Copy
Development
Copy
Project Tasks
This project uses a Taskfile for common operations. Key commands:
Copy
See Taskfile.yml for all available tasks.
You must be authenticated.
An MCP server that allows users to interact with YNAB data, enabling access to account balances, transactions, and the creation of new transactions through the Model Context Protocol.