Coming soon. The Upcharge API, SDKs and MCP server aren't live yet. This is a preview of what we're building, and paths and fields may change. Leave your number for early access
Priya's coding agent writes the checkout. Our MCP server makes sure it never charges the wrong fee.
An agent can read up on state laws. It can't make sure a surcharge never lands on a debit card or goes over a cap. The Upcharge MCP server is that compliance layer, and it gives Claude, Cursor or any MCP client five tools. This is what that looks like when Priya asks about one of her groomers.
The API is coming soon. Paths and field names may change before it goes live.
Setting it up takes one line
Priya uses Claude Code, so she ran the first command. Desktop apps like Claude Desktop and Cursor take the config block instead. Start with a test key either way.
claude mcp add upcharge -e UPCHARGE_KEY=sk_test_... -- npx -y @upcharge/mcp
Server URL https://mcp.upchargepayments.com/v1 Auth Bearer sk_test_... (or OAuth from the client)
{
"mcpServers": {
"upcharge": {
"command": "npx",
"args": ["-y", "@upcharge/mcp"],
"env": { "UPCHARGE_KEY": "sk_test_..." }
}
}
}The five tools
Each one does a single job and returns plain JSON. In the conversation above, the agent only needed the first one.
The things Priya worried about
Handing payments to an agent made her nervous, which is fair. Here's what she asked us before she turned it on.
Could it charge a real card by accident?
Not with a test key. With sk_test_ nothing touches real money. Live charges need a live key that you add on purpose.
What if I only want it to look things up?
Give it a read-only key. It can quote fees and read rules, but it can't charge anyone.
What if it asks for an illegal fee?
The API refuses. Debit surcharges and over-cap rates get turned down no matter what the agent sends.
How do I check its work?
upcharge.audit shows which rule applied to any payment, step by step. Card data stays on our PCI DSS compliant platform, through our parent company Carpay.
Docs written for your model to read
Point your model at these instead of letting it scrape web pages. They stay in sync with the API.
Want to try it with your agent?
Leave your number and we'll send a sandbox key you can hand to it today.