Skip to main content
Glama
danielsuguimoto

pluggy-mcp

pluggy-mcp

Pluggy API のデータプロダクト面をラップするリモート Model Context Protocol サーバーで、Cloudflare Workers 上にデプロイされています。

Cloudflare Agents(McpAgent)を Streamable HTTP トランスポートで使用して構築されています。

ツール

Pluggy のデータプロダクトにわたる25のツールを公開しています:

ドメイン

ツール

Items

list_items, retrieve_item, create_item, update_item, delete_item, send_item_mfa

Accounts

list_accounts, retrieve_account, get_real_time_balance

Transactions

list_transactions, retrieve_transaction, update_transaction_category

Investments

list_investments, retrieve_investment, list_investment_transactions

Identities

find_identity_by_item, retrieve_identity

Categories

list_categories, retrieve_category

Loans

list_loans, retrieve_loan

Credit card bills

list_bills, retrieve_bill

Connectors

list_connectors, retrieve_connector

Payments、webhooks、Smart Transfers は対象外です。

Related MCP server: Copiloto Financeiro MCP Server

認証

MCP クライアントは、すべてのリクエストで Bearer トークンを使用して認証します:

Authorization: Bearer <base64(clientId:clientSecret)>

トークンを生成します:

printf '%s:%s' "$PLUGGY_CLIENT_ID" "$PLUGGY_CLIENT_SECRET" | base64

Worker はトークンをデコードし、POST /auth を介して短命の Pluggy API キーを発行し(TTL 2時間、期限切れの5分前に更新)、すべての Pluggy API 呼び出しで X-API-KEY として送信します。Pluggy の認証情報が MCP クライアントに届くことはありません。

開発

npm install
npm run dev   # wrangler dev on http://127.0.0.1:8787

デプロイ

npx wrangler deploy

接続

Cursor

~/.cursor/mcp.json:

{
  "mcpServers": {
    "pluggy": {
      "url": "https://<your-worker>.<your-subdomain>.workers.dev/mcp",
      "headers": { "Authorization": "Bearer <base64(clientId:clientSecret)>" }
    }
  }
}

Claude Desktop / Windsurf

同じ形式で、設定ファイルが異なります(claude_desktop_config.json / ~/.codeium/windsurf/mcp_config.json)。

注意事項

  • list_items はオプトインの Pluggy 機能です。Pluggy サポートがチームに対して有効化するまで、403 LIST_ITEMS_FEATURE_NOT_ENABLED を返します。

  • list_transactions はカーソルベースの GET /v2/transactions エンドポイントを使用します。前のレスポンスの next 値から after カーソルを渡してページネーションします。

  • Durable Object はセッションと発行された API キーをその存続期間中保持します。認証情報は Worker の fetch ハンドラーを介してリクエストごとに ctx.props に渡されます。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server for the Pluggy Open Finance Brazil API, enabling connection to bank accounts and management of financial data including transactions, accounts, investments, and payment intents through natural language.
    10 npm
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to manage personal finances for Brazilian users through MCP tools, including categorizing transactions, reconciling debts, checking cash-flow projections, and adjusting budgets, with integration to Open Finance Brasil via Pluggy.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    A read-only MCP server exposing Brazilian Open Finance personal financial data from Pluggy to MCP clients, enabling listing of connections, accounts, transactions, credit card bills, investments, and loans without moving money.
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables managing cTrader accounts, viewing market data, and handling positions and orders through 16 MCP tools with secure authentication.
    16
    MIT