https://api.sapiom.ai/v1/mcp/pay. The key you connect with decides which user the agent acts for, so each user’s session needs its own connection with that user’s key.
The server takes the key in an x-api-key header, so your MCP client must be able to send one. It lists only the eight payment tools in MCP tools. Existing connections to https://api.sapiom.ai/v1/mcp keep working.
Browser checkout also needs a browser worker running Browser Pay.
Connect in your agent’s code
Open the connection when a session starts, with the key of the user you are serving. This example uses the TypeScript MCP SDK:Connect a client for testing
To try the tools by hand as one test user, add the server to a client such as Claude Code:sapiom_list_payment_methods and returns that user’s cards.
All tools are listed in the MCP tools reference.