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.

At a glance

MCP endpointhttps://gpx-mcp.developer-fc4.workers.dev/mcp
TransportStreamable HTTP
Chatgpx-mcp.developer-fc4.workers.dev
EnvironmentSandbox (Marlow & Finch Ltd, a fictional UK homeware retailer with three shops and a web store, GBP)
Tools9 (8 read-only, 1 write: create_payment_link)
GP API groupsReports, 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

  1. The assistant reads the server's tool list. Each tool says when to use it.
  2. For a question, it calls one or more tools, for example get_settlement_deposits to reconcile a deposit.
  3. Each tool calls GP API through the typed SDK: an access token is minted with accessToken.getAccessToken (nonce + SHA-512 secret), then calls such as settlementReporting.getDepositSingle and batches.getSingleBatch run.
  4. The tool returns structured results (amounts, rates, lists), and the assistant writes the answer.

On this page