Medusa MCP Server
Published · Updated
At a glance
- Category
- Business & payments
- Hosted by the vendor
- https://docs.medusajs.com/cloud/medusa-mcp
- Watch out for
- It cannot create, update or delete anything, so cancelling an order or redeploying still happens in the Medusa Admin, dashboard or Cloud CLI.
The Medusa MCP server is run by Medusa itself as part of Medusa Cloud. It is a remote server over Streamable HTTP at https://cloud.medusajs.com/mcp, so there is nothing to install locally. You sign in with OAuth, pick which Cloud environments the client may see, and from then on the agent can query those stores as your admin user.
It reaches three kinds of data: commerce data from a store's Admin and Store API routes, data from your own custom GET routes, and Cloud data such as projects, deployments, logs and environment variables. Medusa indexes each environment's API routes at build time, which is how the agent finds custom endpoints without extra setup.
The server is read-only by design and, per the Claude connector guide, still in beta access. Medusa's docs say it is available on all Cloud plans, and there is a separate Docs MCP server at https://docs.medusajs.com/mcp for implementation help while writing code. Medusa also publishes a small Claude plugin repo, medusajs/medusa-mcp-plugin, that just points Claude at the same hosted endpoint.
How it connects
Your AI app
An assistant or agent that supports MCP
Medusa MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Store discovery
- API route search and calls
- Cloud projects and deployments
- Logs and configuration
- Docs answers and status
- Static mode tools
Medusa
The data or system the tools act on
What it can do
- Store discovery
- list_connected_environments shows which stores you approved, and list_medusa_publishable_keys returns a store's publishable keys with their sales channels.
- API route search and calls
- find_commerce_api searches Admin and Store routes, including custom ones, describe_commerce_api returns a route's parameters, and read_admin_api or read_store_api send the actual GET request.
- Cloud projects and deployments
- list_connected_organizations, list_projects, get_project, list_medusa_deployments and get_medusa_deployment cover organisations, projects and deployment history with commit and version details.
- Logs and configuration
- get_environment_logs reads runtime or build logs, searchable over up to 30 days, while list_environment_variables and get_environment_variable show settings without exposing secret values.
- Docs answers and status
- ask_medusa_question searches the Medusa documentation, and get_medusa_cloud_status checks the Cloud status page for incidents.
- Static mode tools
- In static mode the server exposes a fixed set such as list_orders, get_order, list_products, list_inventory_items, get_inventory_levels, list_customers, list_promotions and list_returns.
Setting it up
You need a Medusa Cloud account, an environment with a live deployment running Medusa v2.12.4 or later, and Log in with Medusa Cloud enabled in that environment's admin. If the environment's last build predates October 8, 2026, trigger a fresh build (from the dashboard or with mcloud environments trigger-build) so its routes get indexed; a plain redeploy is not enough. For Claude Code, run claude mcp add --transport http medusa-commerce https://cloud.medusajs.com/mcp, start claude, run /mcp, pick medusa-commerce and choose Authenticate. In Cursor, add a medusa-commerce entry with "url": "https://cloud.medusajs.com/mcp" to .cursor/mcp.json and click Connect under Settings > Tools & MCPs. VS Code with Copilot uses the workspace-root .mcp.json with "type": "http" and the same URL. Codex takes codex mcp add medusa-commerce --url https://cloud.medusajs.com/mcp followed by codex mcp login medusa-commerce, and Gemini CLI uses the medusajs/gemini-cli-extension. Each client opens a browser where you log in, select the environments it may access and click Approve.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Pull the five most recent orders with totals and status to check on fulfilment without opening the admin.
- Find out why the latest deployment failed by reading its build logs.
- Scan backend runtime logs from the last hour for errors after a release.
- Answer a business question through a custom GET route, such as listing carts abandoned in the last day.
- Check which products a B2B sales channel exposes to shoppers via the Store API.
Limitations and things to watch
- It cannot create, update or delete anything, so cancelling an order or redeploying still happens in the Medusa Admin, dashboard or Cloud CLI.
- Only stores deployed on Medusa Cloud work; it needs a live deployment on Medusa v2.12.4 or later with Cloud login enabled.
- Store API calls run as a guest customer, so routes that need a logged-in customer are out of reach.
- Custom routes are only indexed under the /store and /admin prefixes, and routes defined in plugins are not indexed.
- Stores that require MFA ask you to confirm your identity in the browser before data tools run, and self-hosted n8n instances cannot connect.
Sources
Written from the project's own documentation, checked November 2026.
- docs.medusajs.com /cloud/medusa-mcp
- docs.medusajs.com /cloud/medusa-mcp/claude
- github.com /medusajs/medusa-mcp-plugin
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.