kontist-mcp
kontist-mcp
Kontistの法人銀行業務に対するOAuth2クライアントおよび型付きGraphQLレイヤーであり、Model Context Protocolを通じて公開されている。これにより、残高・取引・税引当金をウェブアプリではなくツールクライアントから読み取り、注釈を付けることができる。
存在理由
Kontistはフリーランサー向けのドイツの法人銀行口座であり、ほとんどの銀行が有用な形で公開していない2つのものを保持している。自動付加価値税(VAT)および所得税の引当金サブアカウントと、簿記に使用される取引ごとの注釈フィールドである。どちらも確定申告の時期に重要であり、手作業で処理するには退屈である。
興味深いのはクエリではなく認証チェーンである。Kontistは長期有効なリフレッシュトークンを、対話型の同意と電話でのMFAプッシュ確認の背後に置いている。そのため、トークンはローカルのコールバックサーバーを通じて一度だけ取得し、その後は永続化する価値のある唯一の資格情報として扱う必要がある。それ以降は、トークン交換、キャッシュ、有効期限処理のみである。
Related MCP server: FinTS-Finanzen
ツール
Tool | 機能 |
| アカウントの識別情報とIBAN。認証のスモークテスト |
| 現在の残高 |
| 日付・金額・カテゴリでフィルタリングされた最近の取引 |
| 1件の取引の全詳細 |
| VATおよび所得税引当金サブアカウントの残高 |
| 取引に簿記メモを書き戻す |
| 範囲内の入金、出金、主要な取引相手、カテゴリ別合計 |
すべてのツール入力は、クエリが送信される前に zod スキーマで検証されるため、不正な日付範囲はGraphQLエラーではなくローカルで失敗する。
仕組み
tool client
| MCP over stdio
kontist-mcp (Node + TypeScript)
| GraphQL over fetch, OAuth2 bearer, token refreshed and cached
api.kontist.com/api/graphql認証はOAuth2で、一度だけの対話型同意により長期有効なリフレッシュトークンが発行される。.env に入るのはそのリフレッシュトークンだけである。アクセストークンはオンデマンドで取得され、.tokens-cache.json にキャッシュされ、有効期限が切れると更新されるため、対話型フローは正確に一度だけ実行される。
実行方法
npm install
cp .env.example .env # client id, client secret
npm run setup # one-time OAuth consent, writes the refresh token
npm run test:auth # confirms the token works
npm run build次に、dist/index.js を指定してMCPクライアントに登録する。Kontist開発者アプリの登録を含む完全な手順は SETUP.md にある。
技術スタック
Node 18+、TypeScript、@modelcontextprotocol/sdk、graphql-request、OAuthのやり取りのための公式 kontist SDK、ツール入力検証のための zod。ORMもフレームワークもない。
一度だけの同意ステップでは、Kontistモバイルアプリがインストールされログインしている必要がある。リフレッシュトークンは、電話でのMFAプッシュ確認後にのみ発行されるためである。
制限事項
設計上、読み取りが中心。 唯一の書き込みは注釈フィールドのみ。APIが送金をサポートし、
transfersスコープが存在するにもかかわらず、送金は意図的に公開していない。資金を動かせるエージェントは悪い考えだからだ。実アカウントでの検証はまだ。 OAuth2フロー、GraphQLクライアント、7つのツールはすべて作成済みで型チェックも通っているが、アカウント自体はGewerbeanmeldungの完了後に開設される。最初の実実行では、取引フィールドにスキーマのズレが見つかるだろう。
テストスイートなし。
test:authとtest:balanceの2つのスモークスクリプトのみ。単一アカウント。 マルチアカウント処理はなく、Kontistがデフォルトで返す以上のページネーションもない。
ライセンス
Apache 2.0。LICENSE と NOTICE を参照。
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
- Alicense-qualityFmaintenanceMCP server for accessing and managing Banktivity personal finance data, enabling account, transaction, and budget operations through natural language.3MIT
- Alicense-qualityBmaintenanceRead-only MCP server for FinTS/HBCI banking; enables account information retrieval such as balances and transactions via PIN-TAN.MIT
- Alicense-qualityBmaintenanceMCP server that turns bank transactions into a financial digest including cash-flow forecast, spending breakdown, fee detection, and receipt reconciliation, exposing deterministic engines as JSON-RPC tools.Apache 2.0
- AlicenseAqualityAmaintenanceMCP server for the Canton of Bern tax portal TaxMe/BE-Login that reads account statements and tax returns via Playwright browser automation.1341MIT
Related MCP Connectors
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
TaxSort — Tollbooth-monetized MCP server for personal tax transaction classification
Hosted MCP server for personal tools: budgets, savings goals, spaced repetition, tips, countdowns.
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/Fabi-SPL/kontist-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server