Documentation

MCP Tools

MCP Tools

PerfectPay provides an MCP server named perfectpay-agent-commerce that exposes agent commerce capabilities as MCP tools for AI agents (ChatGPT, Claude, custom agents).

Server Connection

EnvironmentMCP Server URL
Sandboxhttps://sandbox.perfectpay.ai/agent-commerce/mcp
Productionhttps://api.perfectpay.ai/agent-commerce/mcp

Server Info

FieldValue
nameperfectpay-agent-commerce
version1.0.0
protocol_version2024-11-05
toolsenabled
resourcesdisabled
promptsdisabled

Available Tools

ToolPurpose
search_catalogSearch and browse merchant catalog data
create_checkoutStart a checkout session
check_authorizationValidate credential or budget authority
get_order_statusTrack an order
negotiate_termsStart or continue a negotiation

Agent Commerce REST API

The same capabilities are also available as a REST API at /agent-commerce. This is the underlying HTTP surface that powers both the MCP tools and the UCP protocol adapter.

Catalog

EndpointMethodPurpose
/agent-commerce/catalog/productsPOSTCreate a product
/agent-commerce/catalog/productsGETList products
/agent-commerce/catalog/products/bulkPOSTBulk create products
/agent-commerce/catalog/products/{id}GETGet a product
/agent-commerce/catalog/products/{id}PUTUpdate a product
/agent-commerce/catalog/products/{id}DELETEArchive a product
/agent-commerce/catalog/agent-feedGETGet agent-optimized feed
/agent-commerce/catalog/categoriesGETList GPC segments
/agent-commerce/catalog/categories/{code}/childrenGETList GPC subcategories

Credentials

EndpointMethodPurpose
/agent-commerce/credentialsPOSTIssue a credential
/agent-commerce/credentialsGETList credentials
/agent-commerce/credentials/{id}GETGet a credential
/agent-commerce/credentials/{id}/confirmPOSTConfirm a credential
/agent-commerce/credentials/{id}/revokePOSTRevoke a credential
/agent-commerce/credentials/revoke-allPOSTRevoke all credentials
/agent-commerce/credentials/status/{list_id}GETGet status list

Checkout

EndpointMethodPurpose
/agent-commerce/checkoutPOSTInitiate checkout
/agent-commerce/checkout/{id}GETGet checkout
/agent-commerce/checkout/{id}/completePOSTComplete checkout
/agent-commerce/checkout/{id}/cancelPOSTCancel checkout

Approvals

EndpointMethodPurpose
/agent-commerce/approvalsGETList approvals
/agent-commerce/approvals/bulkPOSTBulk approve/deny
/agent-commerce/approvals/{id}GETGet approval
/agent-commerce/approvals/{id}/approvePOSTApprove
/agent-commerce/approvals/{id}/denyPOSTDeny

Agents

EndpointMethodPurpose
/agent-commerce/agents/platformsPOSTRegister a platform
/agent-commerce/agents/platformsGETList platforms
/agent-commerce/agents/platforms/{id}GETGet platform
/agent-commerce/agents/registerPOSTRegister an agent
/agent-commerce/agents/{id}GETGet agent
/agent-commerce/agents/capabilities/{platform_id}GETGet platform capabilities

Negotiations

EndpointMethodPurpose
/agent-commerce/negotiationsPOSTCreate negotiation
/agent-commerce/negotiationsGETList negotiations
/agent-commerce/negotiations/{id}GETGet negotiation
/agent-commerce/negotiations/{id}/actionPOSTSubmit action
/agent-commerce/negotiations/{id}/acceptPOSTAccept terms
/agent-commerce/negotiations/{id}/rejectPOSTReject terms

Analytics

EndpointMethodPurpose
/agent-commerce/analytics/overviewGETOverview metrics
/agent-commerce/analytics/revenue-by-platformGETRevenue by platform
/agent-commerce/analytics/conversion-funnelGETConversion funnel
/agent-commerce/analytics/catalog-performanceGETCatalog performance
/agent-commerce/analytics/credentialsGETCredential metrics
/agent-commerce/analytics/exportPOSTExport analytics

Integration Notes

  • Use MCP when the calling agent already supports tool invocation (ChatGPT, Claude, etc.)
  • Use the UCP REST surface when you need explicit protocol-level interoperability
  • Use the REST API directly when building custom integrations
  • Keep credentials scoped tightly to the merchant, catalog, and budget constraints you want the agent to use

What This Means For Merchant Integrators

You do not have to design separate tool contracts yourself. PerfectPay already defines the tool names and input shapes for the core commerce actions most agent platforms need first. The same logic powers MCP tools, UCP protocol, and the REST API.