Skip to main content
Glama
MCP Bitpanda Server

MCP Bitpanda Server

MCP Bitpandaサーバー

Bitpanda APIと連携するためのツールを公開するモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、MCPプロトコルを介して、取引、ウォレット、トランザクションなどのBitpanda機能へのプログラムによるアクセスを可能にします。

前提条件

  • Node.js (v18以降を推奨)

  • npm (Node.js に付属)

  • Bitpanda API キー ( BITPANDA_API_KEY環境変数として設定)

  • (オプション) MCP 互換クライアントまたはランナー (例: VSCode 拡張機能、CLI)

Related MCP server: FireHydrant MCP Server

設定

  1. リポジトリをクローンするか、プロジェクト ディレクトリにいることを確認します。

  2. 依存関係をインストールします:

    npm install
  3. サーバーを構築します。

    npm run build

    これにより、コンパイルされた JavaScript コードを含むbuildディレクトリが作成されます。

サーバーの実行

  • 直接:

    node build/index.js

    または、開始スクリプトがある場合:

    npm run start
  • MCPランナー経由: MCPクライアントをstdioトランスポートを使用してサーバーを実行するように設定します。MCP設定エントリの例:

    "mcp-bitpanda": {
      "transportType": "stdio",
      "command": "node",
      "args": [
        "/path/to/mcp-bitpanda/build/index.js"
      ]
      // Add environment variables, e.g., for the API key
      "environmentVariables": {
        "BITPANDA_API_KEY": "YOUR_BITPANDA_API_KEY" // Replace with your actual API key or use a secure method to provide it
      }
      // ... other optional settings ...
    }

利用可能なツール

  • get_asset_info : 特定の資産のシンボル (例: BTC、XAU) ごとに詳細情報を取得します。

    • パラメータ: symbol (文字列、必須)

    • 注: このツールには API キーは必要ありません。

  • get_ohlc : 特定の資産、法定通貨、および時間枠の OHLC (始値/高値/安値/終値) データを取得します。

    • パラメータ:

      • symbol (文字列、必須): 取引シンボル。

      • fiatCurrency (文字列、必須): 法定通貨 (例: USD、EUR)。

      • timeframe (文字列、必須): 「日」または「週」のいずれか。

    • 注: このツールには API キーは必要ありません。

  • list_trades : Bitpanda APIから取得したユーザーの全取引を一覧表示します。最新の取引が先頭に表示されます。レスポンスはカーソル位置に応じてページ区切りされます。

    • パラメータ:

      • type (文字列、オプション): buyまたはsellのいずれか。

      • cursor (文字列、オプション): クライアントが最後に認識した取引のID。このID以降の取引のみが返されます。cursorパラメータが空または指定されていない場合は、最初からの取引が返されます。

      • page_size (整数、オプション): ページ分割された応答のページのサイズ。

  • list_asset_wallets : Bitpanda API から、資産タイプ別にグループ化されたすべてのユーザーの資産ウォレットを一覧表示します。

    • パラメータ: なし。

  • list_fiat_wallets : Bitpanda API からすべてのユーザーの法定通貨ウォレットを一覧表示します。

    • パラメータ: なし。

  • list_fiat_transactions : Bitpanda APIから取得したユーザーの法定通貨取引をすべて一覧表示します。最新の法定通貨取引が先頭に表示されます。レスポンスはカーソル位置によってページ区切りされます。

    • パラメータ:

      • type (文字列、オプション): 購入、販売、入金、引き出し、振替、返金。

      • status (文字列、オプション): 保留中、処理中、完了、キャンセル。

      • cursor (文字列、オプション): クライアントが最後に認識した法定通貨取引のID。このID以降の法定通貨取引のみが返されます。cursorパラメータが空または指定されていない場合は、最初から法定通貨取引が返されます。

      • page_size (整数、オプション): ページ分割された応答のページのサイズ。

  • list_crypto_wallets : Bitpanda API からユーザーのすべての暗号ウォレットを一覧表示します。

    • パラメータ: なし。

  • list_crypto_transactions : Bitpanda APIから取得したユーザーのすべての暗号資産取引を一覧表示します。最新の暗号資産取引が先頭に表示されます。レスポンスはカーソル位置によってページ分けされます。

    • パラメータ:

      • type (文字列、オプション): buy 、 sell 、 deposit 、 withdrawal 、 transfer 、 refund 、 icoのいずれか。

      • status (文字列、オプション): pending 、 processing 、 unconfirmed_transaction_out 、 open_invitation 、 finished 、またはcanceledのいずれか。

      • cursor (文字列、オプション): クライアントが最後に認識した暗号トランザクションのID。このID以降の暗号トランザクションのみが返されます。cursorパラメータが空または指定されていない場合は、最初から暗号トランザクションが返されます。

      • page_size (整数、オプション): ページ分割された応答のページのサイズ。

  • list_commodity_transactions : Bitpanda APIから取得したユーザーのすべての商品取引を一覧表示します。最新の商品取引が先頭に表示されます。レスポンスはカーソル位置によってページ分けされます。

    • パラメータ:

      • cursor (文字列、オプション): クライアントによる最後の既知の商品取引のID。このID以降の商品取引のみが返されます。cursorパラメータが空または指定されていない場合は、最初からの商品取引が返されます。

      • page_size (整数、オプション): ページ分割された応答のページのサイズ。

延長

さらに多くの Bitpanda API エンドポイントをツールとして追加するには、 src/tools/に新しいツール ファイルを実装し、 src/tools/index.tsに登録します。

Available Tools

8 tools
get_asset_infoC

Retrieves detailed information for a specific asset by its symbol.

Inputs: symbol (required).

list_asset_walletsB

Lists all user's asset wallets grouped by asset type from the Bitpanda API.

Inputs: no named parameters.

list_commodity_transactionsA

Lists all user's commodity transactions from the Bitpanda API. Newest commodity transactions come first. Response is cursor paginated.

Inputs: cursor, page_size.

list_crypto_transactionsA

Lists all user's crypto transactions from the Bitpanda API. Newest crypto transactions come first. Response is cursor paginated.

Inputs: type, status, cursor, page_size.

list_crypto_walletsB

Lists all user's crypto wallets from the Bitpanda API.

Inputs: no named parameters.

list_fiat_transactionsA

Lists all user's fiat transactions from the Bitpanda API. Newest fiat transactions come first. Response is cursor paginated.

Inputs: type, status, cursor, page_size.

list_fiat_walletsB

Lists all user's fiat wallets from the Bitpanda API.

Inputs: no named parameters.

list_tradesA

Lists all user's trades from the Bitpanda API. Newest trades come first. Response is cursor paginated.

Inputs: type, cursor, page_size.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation4/5

    The tools are mostly distinct, focusing on different resource types like assets, wallets, transactions, and trades. However, there is some potential overlap between 'list_trades' and the transaction tools (commodity, crypto, fiat), as trades might be a subset or related to transactions, which could cause minor confusion without additional context.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with 'get_' or 'list_' prefixes, using snake_case throughout. This predictability makes it easy for agents to understand and select tools based on their naming conventions.

    Tool Count5/5

    With 8 tools, the server is well-scoped for a Bitpanda API integration, covering key areas like asset information, wallets, transactions, and trades. Each tool serves a clear purpose without being overly broad or too limited for the domain.

    Completeness3/5

    The tools provide good read/list coverage for assets, wallets, transactions, and trades, but there are notable gaps in CRUD operations. For example, there are no tools for creating, updating, or deleting resources (e.g., executing trades or modifying wallets), which limits the server's functionality to querying only.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with FireHydrant's incident management API through the Model Context Protocol. Provides programmatic access to FireHydrant's features for managing incidents, retrospectives, and operational workflows.
      5
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables interaction with Interactive Brokers through the official Web API via the Model Context Protocol, allowing clients to access brokerage account management, reporting, and trading endpoints.
      -