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:
The MCP server exposes a set of typed tools.
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.
Core MCP
Operational queries, schema discovery, docs-aware writes, and agent-driven order workflows.
Each server is documented in the following pages. To test and debug connections without configuring an AI client first, use the MCP inspector. Before using them, read the security guidelines for best practices and optimal methods.
Last updated