The Prism MCP Server exposes your payment platform as tools that any MCP-compatible AI agent can discover and use. It targets providers managing their Prism integration programmatically — querying payments, configuring Projects, managing wallets, and monitoring earnings — all from within an AI assistant.
Account Model
Each authenticated caller is a Provider (tenant) identified by their account. Providers own one or more Projects — the core unit representing a payment integration. Most tools operate within a Project context.
- If
projectId is omitted, tools automatically default to the provider’s first active Project.
- IDs are GUIDs throughout (e.g.,
projectId, walletId, paymentId, projectIdentifyTokenId).
Connection Setup
Add the Prism MCP server to your MCP client using the server URL above. Authentication uses OAuth Authorization Code Flow — the first connection opens a browser for you to sign in with your District Pass.
Claude Desktop
Cursor / Windsurf
Custom Agent
Add to your claude_desktop_config.json: Add the server URL https://prism-mcp.fd.xyz in your editor’s MCP settings panel. The OAuth flow triggers automatically on first use.
Connect using any MCP client library. The server implements standard Streamable HTTP transport with OAuth 2.0 PKCE authentication.
After connecting, verify the integration:
“What Prism tools do you have available?”
The agent should list all 18 tools. Then try:
“Show me my Projects.”
All tools return JSON. Errors use { "error": "CODE", "message": "description" }.
MCP clients discover all tool parameters automatically on connection. CLI users can run fdx prism <tool> --help to see full parameter details. No need to memorize — the tooling tells you what it needs.
Provider
Projects
A Project is the top-level entity representing one payment integration. Most tools operate within a Project context — if projectId is omitted, your default active Project is used.
Wallets
Manage on-chain wallet addresses registered to a Project for receiving settlement funds.
Project Identify Tokens
Manage Project Identify Tokens that authenticate your application against the Prism Gateway.
Staff
Manage staff access to Projects. Staff members are invited by email and must accept via a browser OAuth flow. Only the tenant owner can manage staff.
Payments
Dashboard
Example Interactions
Once connected, you can ask your AI agent questions like:
Error Handling
All tools return structured errors:
Common errors: