Guide · MCP · AI agents

What is an MCP commerce server?

The Model Context Protocol (MCP) is a standard way to expose tools to AI agents like Claude and GPT. An MCP commerce server exposes the tools an agent needs to transact — catalog, checkout, and orders — so the model can place an order without you hand-wiring a tool schema per provider.

The problem MCP solves

Without a shared protocol, every model wants tools defined its own way, and every integration re-implements auth, schemas, and transport. MCP standardizes that: a server advertises tools and their input schemas, and any MCP-capable client (Claude Desktop, IDEs, agent runtimes) can call them.

What a commerce MCP server exposes

For an agent to buy something, the useful tools are:

Because completion is idempotent, the agent can retry safely — one order, not two. See idempotent orders for AI agents.

Run OrderCore's MCP server

OrderCore ships an MCP server backed by short-lived public checkout tokens. Point Claude Desktop (or any MCP client) at it:

ORDERCORE_API_KEY=oc_live_xxx go run ./cmd/ordercore-mcp

Prefer raw HTTP? The same four tools are plain REST, and machine-readable schemas for OpenAI, Claude, Gemini, DeepSeek, and Grok are served at /direct-ai/tooling. Full setup: Claude / MCP quickstart.

MCP vs raw REST — which to use

Try it (no signup)

See the tools in action — the demo runs the checkout flow and proves idempotency offline in mock mode:

Run the demo → Quickstart (JS + curl)

Related