MCP setup guide · updated June 2026
TreasuryFlow runs a Model Context Protocol (MCP) server. Connect it and Claude can read your live cash position, 13-week forecast, AR aging, and vendor spend: deterministic numbers, straight from your bank feeds, no copy-paste.
See the full stack on the integrations page.
Connecting from claude.ai on the web? Skip this step: you’ll sign in with your TreasuryFlow account when Claude prompts you (OAuth), no key to copy.
In the portal, open Settings → Connected apps & API keys and create a key labeled for the device you’ll connect.
The key starts with tfmcp_ and is shown once, so store it in a
password manager. We keep only a hash.
The server URL is https://app.treasuryflow.ai/mcp (streamable HTTP). Pick your client:
Claude.ai (web): one click, no key. Go to Settings → Connectors → Add custom connector, paste the URL below, and click Add. When Claude asks you to authorize, sign in with your TreasuryFlow account and approve read-only access.
The connection uses OAuth with PKCE: claude.ai never sees a password or an API key, and you can disconnect it any time from Claude’s connector settings.
Claude Code (terminal): one command:
Claude Desktop: add this to claude_desktop_config.json
(Settings → Developer → Edit Config):
Any other MCP client connects the same two ways: OAuth (discovery starts at the server’s
401 response, dynamic client registration supported) or a bearer
Authorization header with a tfmcp_ key.
Once connected, Claude sees nine read-only tools. Things people actually ask:
Claude drafts the email, the board note, the client brief, with numbers it pulled from the same deterministic engine your dashboard uses, not numbers it guessed.
readOnlyHint and the server ships zero mutate tools. Keys carry a read scope; a future write tool would be rejected for every existing key.