Skip to main content
Glama
alexfu

mcp-ynab

by alexfu

mcp-ynab

FastMCP server that exposes the YNAB API via MCP using YNAB's published OpenAPI spec.

Requirements

  • Python 3.12+

  • A YNAB personal access token

  • uv (recommended) or pip

Configuration

Environment variables:

  • YNAB_TOKEN (required): your YNAB API token

  • TRANSPORT (optional): http (default) or stdio

Run Locally

Using uv:

uv sync
export YNAB_TOKEN="your_token_here"
export TRANSPORT="http"   # optional, defaults to http
uv run python main.py

HTTP mode starts the server on 0.0.0.0:8080.

Docker

Use the prebuilt image from GHCR:

docker pull ghcr.io/alexfu/mcp-ynab:latest

Run prebuilt image in HTTP mode:

docker run --rm -p 8080:8080 \
  -e YNAB_TOKEN="your_token_here" \
  -e TRANSPORT="http" \
  ghcr.io/alexfu/mcp-ynab:latest

Run prebuilt image in stdio mode:

docker run --rm \
  -e YNAB_TOKEN="your_token_here" \
  -e TRANSPORT="stdio" \
  ghcr.io/alexfu/mcp-ynab:latest

Notes

  • The server fetches YNAB's OpenAPI spec at startup from https://api.ynab.com/papi/open_api_spec.yaml.

  • Startup will fail if YNAB_TOKEN is missing, TRANSPORT is invalid, or the spec request fails.

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexfu/mcp-ynab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server