MCP Server
The Global Payments MCP server lets AI assistants such as Claude work with GP API in plain language, and the Merchant Assistant shows it answering live.
The Global Payments MCP server connects an AI assistant to GP API through the Model Context Protocol. A merchant (or anyone on their team) can ask about sales, disputes, deposits, fees and payment links in plain language. The assistant calls GP API through typed tools and answers with the numbers.
It is built on the same typed TypeScript SDK that APIMatic generated from the GP API specification in this portal. Every tool call is a typed SDK call, so requests and responses are validated against the specification.
Try the Merchant Assistant
A chat page on the same server. Ask a question and see each tool call, KPI tiles, charts and tables.
Connect your assistant
Add the server to Claude Code, Claude or any MCP client over Streamable HTTP.
Tools
The nine tools, what each answers, and the GP API operations behind it.
At a glance
| MCP endpoint | https://gpx-mcp.developer-fc4.workers.dev/mcp |
| Transport | Streamable HTTP |
| Chat | gpx-mcp.developer-fc4.workers.dev |
| Environment | Sandbox (Marlow & Finch Ltd, a fictional UK homeware retailer with three shops and a web store, GBP) |
| Tools | 9 (8 read-only, 1 write: create_payment_link) |
| GP API groups | Reports, Transactions, Disputes, Settlement Reporting, Batches, Links, Access Token |
Questions to try
- How did we do this week vs last?
- Which disputes are due in the next 7 days?
- Reconcile yesterday's deposit.
- What's our effective rate this month?
- Create a £250 payment link for invoice INV-2041.
- Show me declined online payments from the last 3 days.
How it works
- The assistant reads the server's tool list. Each tool says when to use it.
- For a question, it calls one or more tools, for example
get_settlement_depositsto reconcile a deposit. - Each tool calls GP API through the typed SDK: an access token is minted with
accessToken.getAccessToken(nonce + SHA-512 secret), then calls such assettlementReporting.getDepositSingleandbatches.getSingleBatchrun. - The tool returns structured results (amounts, rates, lists), and the assistant writes the answer.