personal-finance-mcp-server
personal-finance-mcp-server
personal-finance-service 用のリモートMCPサーバー:
ビジネスオペレーション(グループ、支払い方法、支出)をMCPツールとして公開し、Keycloakで認証します。Kiro/Claude(インタラクティブログイン)またはクラウド上のヘッドレスエージェント(M2Mログイン)から使用することを想定しています。
要件
Docker + Docker Compose
personal-finance-serviceが実行中であること(そのリポジトリでdocker compose up -d) — このサーバーはそのKeycloakとAPIに接続しますが、それらを起動するわけではありません。
Related MCP server: MCP Agent - AI Expense Tracker
実行方法
cp .env.example .env
# completar KEYCLOAK_CLIENT_SECRET con el secret de mcp-personal-finance-server
# (ver "Setup de Keycloak" en AGENTS.md si todavía no existen los clients)
docker compose up -d --buildGET http://localhost:8000/healthPOST http://localhost:8000/mcp—Authorization: Bearer <jwt>が必要
KiroでのMCP設定
{
"mcpServers": {
"personal-finance-remote": {
"url": "http://localhost:8000/mcp",
"oauth": {
"clientId": "mcp-personal-finance-client",
"scopes": []
}
}
}
}初回使用時、KiroはKeycloakへのログイン用にブラウザを開きます — personal-finance-service で既に使用しているユーザー名/パスワードを使用してください。
利用可能なツール
Tool | 機能 |
| ユーザーのグループを一覧表示 |
| グループを作成 |
| グループのメンバーを一覧表示 |
| ユーザーの支払い方法を一覧表示 |
| 支払い方法を作成 |
| 支払い方法を変更 |
| 支払い方法を削除 |
| 支出をフィルター付きで一覧表示 |
| 支出を登録(分割払いおよび/または分割) |
| カードの分割払い支出の次回分割分を生成 |
| 支出の完全な詳細 |
| 支出を変更 |
| 支出を削除 |
personal-finance-service のAPIキー管理(作成/一覧/削除)は、意図的にツールとして公開されていません — AGENTS.md を参照してください。
ヘッドレスエージェント(M2M)
背後に人間のユーザーがいないエージェント(インタラクティブログインができない)の場合、KiroのフローではなくClient Credentials Grantを使用してください:
curl -X POST http://localhost:8080/realms/personal-finance/protocol/openid-connect/token \
-d "grant_type=client_credentials&client_id=mcp-personal-finance-agent&client_secret=$AGENT_CLIENT_SECRET" \
| jq -r .access_tokenその access_token を POST /mcp に対するBearerとして使用してください。エージェントはさらに、環境に UPSTREAM_API_KEY を設定する必要があります — 実際のユーザーがあらかじめ生成したPersonal Finance API Key(personal-finance-service の POST /api-keys)です。なぜなら、そのトークンはそのAPIの実際のユーザーを表していないからです。
詳細
AGENTS.md を参照 — 設計上の決定、既知のギャップ、そして認証パススルーが機能する理由(そしていつ機能しなくなるか)。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI tools to interact with Firefly III personal finance management instances through a cloud-deployed MCP server. Supports financial operations like account management, transactions, budgeting, and reporting with configurable tool presets.12
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage personal expenses through natural language conversations. Supports adding, searching, and analyzing transactions with automatic categorization and financial insights.3MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that exposes every endpoint from Splitwise's public self-serve API docs as MCP tools, covering 27 operations for managing expenses, users, and groups.173MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to manage personal finances through MCP tools for transaction management, spending analytics, and goal tracking.1
Related MCP Connectors
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Agentic Finance: 500+ tools for AI agents over x402 or MPP, free via PoW, or prepaid card credits
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/yazkyChristianNicolas/personal-finance-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server