For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP servers

Discover Commerce Layer MCP servers for operational, analytical, and documentation workflows

Commerce Layer provides purpose-built MCP servers for the Core API, Metrics API, and developer documentation. They give AI agents structured access to live commerce data, analytics, and docs through a consistent tool-based interface.

Model Context Protocol

The Model Context Protocol (MCP) is an open standard that defines how AI models discover and invoke external tools. It is supported by Claude, ChatGPT, Cursor, and a growing list of AI clients and IDEs, according to a simple yet powerful workflow:

  1. The MCP server exposes a set of typed tools.

  2. The AI client calls those tools to interact with your systems, keeping context across a session.

Commerce Layer's MCP servers go beyond thin API wrappers — they embed schema metadata, preflight validation, and documentation retrieval directly into the agent's tool loop, so every call is grounded in how the platform actually works, not in whatever the model remembered from training.

Available MCP servers

At the moment you can leverage three MCP servers, each targeting a different layer of the platform.

  • The Core MCP is the primary integration for agents that need to read and write commerce data.

  • The Metrics MCP focuses on analytics and reporting.

  • The Documentation MCP provides real-time access to the full developer docs and is a good starting point for coding assistants and IDE integrations.

Server
API
Best for

Core MCP

Operational queries, schema discovery, docs-aware writes, and agent-driven order workflows.

Metrics MCP

Order, cart, and returns analytics in natural language.

Documentation MCP

Real-time documentation access for AI assistants and coding tools.

book

Last updated