Skip to main content
Glama

YNAB MCP Server

by ntdef
config.py720 B
""" Configuration for the YNAB MCP server. """ import os from dotenv import load_dotenv # Load environment variables from .env file load_dotenv() class Config: """Configuration for the YNAB MCP server.""" # YNAB API YNAB_API_TOKEN: str = os.getenv("YNAB_API_TOKEN", "") YNAB_API_BASE_URL: str = os.getenv("YNAB_API_BASE_URL", "https://api.ynab.com/v1") @classmethod def validate(cls) -> None: """Validate the configuration.""" if not cls.YNAB_API_TOKEN: raise ValueError( "YNAB_API_TOKEN is required. " "Get your token from https://app.ynab.com/settings/developer" ) # Create a singleton instance config = Config()

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/ntdef/ynab-mcp'

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