pluggy-mcp
pluggy-mcp
一个远程 Model Context Protocol 服务器,封装了 Pluggy API 的数据产品接口,部署在 Cloudflare Workers 上。
使用 Cloudflare Agents(McpAgent)构建,采用 Streamable HTTP 传输。
工具
在 Pluggy 的数据产品中暴露了 25 个工具:
领域 | 工具 |
项目 |
|
账户 |
|
交易 |
|
投资 |
|
身份 |
|
类别 |
|
贷款 |
|
信用卡账单 |
|
连接器 |
|
支付、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" | base64Worker 解码令牌,通过 POST /auth 生成一个短期有效的 Pluggy API 密钥(2 小时 TTL,在过期前 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。
This server cannot be deployed
Maintenance
Related MCP Connectors
Discover, plan and run tools across your connected business systems through one OAuth MCP endpoint
1Authenticated, user-scoped MCP connectors for 30+ business systems.
Read and edit GA4, Search Console and Google Tag Manager from any MCP client. 29 tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn 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 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables 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.-
- AlicenseNot gradedqualityBmaintenanceA 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.2MIT
- AlicenseAqualityBmaintenanceEnables managing cTrader accounts, viewing market data, and handling positions and orders through 16 MCP tools with secure authentication.16MIT