What this is
Glass Money exposes a Model Context Protocol (MCP) endpoint so Cursor, Claude Desktop, Claude.ai, and similar clients can query your Indian bank and card data — spend summaries, transactions, wallet balances, statement reconciliation, and manual categorization — without a local install.
How to connect (preferred: OAuth Authorize)
- In Cursor (or another remote MCP client), add the Streamable HTTP URL
https://glassmoney.app/api/mcpwith no bearer header — leave auth to the client’s Authorize / OAuth flow.{ "mcpServers": { "glassmoney": { "url": "https://glassmoney.app/api/mcp" } } } - When the client prompts, complete Glass Money sign-in in the browser (same Google login as the web app), then Allow MCP access. Cursor callbacks we accept include
https://www.cursor.com/agents/mcp/oauth/callbackandhttp://localhost:8787/callback. - Use
https://glassmoney.app/api/mcpas the protocol URL —/mcpon this site is this human walkthrough page, not the MCP transport. The Cursor Marketplace plugin is not published yet; local plugin / manualmcp.jsonis the path today.
Fallback: mint a bearer token
- Sign in to Glass Money on the web (glassmoney.app).
- In the same browser, open https://glassmoney.app/api/mcp/token (Fly origin also works: https://finmail.fly.dev/api/mcp/token). You get a JSON payload with a fresh session token (30-day TTL).
- Paste it into your MCP client config:
Replace{ "mcpServers": { "glassmoney": { "url": "https://glassmoney.app/api/mcp", "headers": { "Authorization": "Bearer <token>" } } } }<token>with the value from step 2. When it expires, revisit the token URL for a new one.- Codex / Grok Bot: same URL — prefer OAuth when the client supports it; otherwise paste the Bearer from
/api/mcp/token.
- Codex / Grok Bot: same URL — prefer OAuth when the client supports it; otherwise paste the Bearer from
Gmail: Connecting Gmail for alert sync is still on Google’s Testing / OAuth allowlist path — not open unrestricted Gmail for everyone yet. MCP only reads data already in your Glass Money tenant after you connect in the app.
Example prompts
- How much did I spend this calendar month?
- Show my UPI payments to Swiggy or Zomato in the last 30 days.
- Break down last month’s debit spend by category.
- What are my current wallet balances by bank or card account?
- List my supported banks and card issuers.
- Reconcile my latest credit-card statement against alert transactions.
- Using SQL, which counterparties took the most money this quarter?
- Mark transaction 123 as groceries.
Privacy and tenant isolation
Every MCP request must send Authorization: Bearer <token> (from OAuth or the mint fallback). Treat tokens like passwords; do not paste them into public chats. The server resolves the token to your user id and opens only your per-user SQLite database (users/<id>/finmail.db). There is no cross-tenant tool surface: another user’s token cannot read your rows, and cookie-only browser sessions are not accepted on /api/mcp.
Gmail connect and sync stay in the Glass Money app. Full privacy policy: glassmoney.app/privacy.
Tools available
get_account_status, get_summary, get_wallet, list_transactions, sql_query (SELECT-only), get_schema, list_banks, list_statements, reconcile, list_categories, set_category.
In-repo Cursor plugin package lives at plugins/glassmoney-mcp/ (not marketplace-published yet).