Skip to main content
Glama

MCP YNAB Server

by klauern

MCP YNAB サーバー

モデル コンテキスト プロトコルを通じて YNAB (You Need A Budget) 機能へのアクセスを提供する MCP サーバー実装。

特徴

  • 口座残高と取引を表示する
  • 新しい取引を作成する
  • 標準化された MCP リソースを通じて YNAB データにアクセスする

インストール

uv pip install -e .

構成

サーバーが機能するにはYNAB APIキーが必要です。YNAB開発者設定から取得できます。

API キーは次の方法で提供できます。

  1. 環境変数: YNAB_API_KEY=your_api_key
  2. MCP秘密管理システム
  3. プロジェクトルートの.envファイル

使用法

サーバーの実行

# Development mode with hot reload and browser launch task dev # Production install for Claude Desktop, Goose, or any other MCP-supported environment task install

利用可能なリソース

  • ynab://accounts - すべての YNAB アカウントをリストします
  • ynab://transactions/{account_id} - 特定のアカウントの最近の取引を取得する

利用可能なツール

  • create_transaction - 新しいトランザクションを作成する
  • get_account_balance - アカウントの現在の残高を取得する

使用例

# Create a new transaction result = await create_transaction( account_id="your_account_id", amount=42.50, # in dollars payee_name="Coffee Shop", category_name="Dining Out", memo="Morning coffee" ) # Get account balance balance = await get_account_balance("your_account_id") # List accounts accounts = await ctx.read_resource("ynab://accounts") # Get recent transactions transactions = await ctx.read_resource(f"ynab://transactions/{account_id}")

発達

# Install dependencies (uses uv) task deps # Run all tests including integration tests (you will need a YNAB API key for this) task test:all # Generate coverage report task coverage # Format and lint code task fmt # Should add this to Taskfile

プロジェクトタスク

このプロジェクトでは、一般的な操作にタスクファイルを使用します。主なコマンドは次のとおりです。

task dev # Start dev server with auto-reload task test # Run unit tests task coverage # Generate test coverage report task install # Install production build task deps # Synchronize dependencies

利用可能なすべてのタスクについては、 Taskfile.yml を参照してください。

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

ユーザーが YNAB データと対話し、アカウント残高、取引にアクセスしたり、モデル コンテキスト プロトコルを通じて新しい取引を作成したりできるようにする MCP サーバー。

  1. 特徴
    1. インストール
      1. 構成
        1. 使用法
          1. サーバーの実行
          2. 利用可能なリソース
          3. 利用可能なツール
        2. 使用例
          1. 発達
            1. プロジェクトタスク

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                An MCP server that exposes the XTB trading API, allowing users to interact with their XTB trading accounts through the Model Context Protocol to perform operations like account management, market data retrieval, and trade execution.
                Last updated -
                6
                TypeScript
              • A
                security
                F
                license
                A
                quality
                An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
                Last updated -
                39
                28
                • Apple
              • -
                security
                F
                license
                -
                quality
                Provides access to YNAB (You Need A Budget) functionality through the Model Context Protocol, allowing users to view account balances, access transaction data, and create new transactions.
                Last updated -
                Python
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.
                Last updated -
                Python
                MIT License

              View all related MCP servers

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

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