Medusa logo

Medusa

Manage a Medusa v2 store through MCP tools for orders, catalog, inventory, customers, promotions, and reports.

Install Medusa

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "medusa": {
      "command": "npx",
      "args": [
        "-y",
        "medusa-mcp"
      ],
      "env": {
        "MEDUSA_READ_ONLY": "YOUR_VALUE_HERE",
        "MEDUSA_RAW_API": "YOUR_VALUE_HERE",
        "MEDUSA_TOOLSETS": "YOUR_VALUE_HERE",
        "REPORT_TIMEZONE": "YOUR_VALUE_HERE",
        "MEDUSA_CONFIRM_DESTRUCTIVE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y medusa-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 8d ago.

Overview

The Medusa MCP server connects AI clients to the Medusa v2 Admin API for store operations and analytics. It provides read tools for orders, customers, products, inventory, promotions, catalog data, sales, customer behavior, and restocking, alongside write tools for supported management workflows. A generic Admin API request tool covers endpoints without dedicated tools, with read-only and blocked-operation safeguards. Use it when an MCP client needs structured access to a Medusa store, including local stdio or remote Streamable HTTP with OAuth 2.1.

Use cases

  • Review orders, payments, refunds, and returns
  • Analyze sales and customer trends
  • Forecast inventory replenishment needs
  • Update products, prices, promotions, and stock
  • Run custom Medusa Admin API requests

Key features

  • Medusa v2 Admin API access over MCP
  • Order, customer, product, catalog, and inventory tools
  • Sales, customer, and restock analytics
  • Write actions with previews and confirmations
  • Generic Admin API request tool
  • Prompts, resources, and interactive MCP Apps views

Tools12

What Medusa lets your agent do. Expand a tool for its parameters.

Self-reported~398 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

7/7 checks healthy over the last 25d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · medusa-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads273Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Tools exposed12Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Medusa works

What Medusa does

The Medusa MCP server exposes Medusa v2 store administration through MCP. It covers common commerce data and actions, including orders, payments, refunds, returns, fulfillment, draft orders, products, variants, catalog structures, inventory, customers, promotions, and price lists.

Read-oriented tools can filter orders by text, dates, customer, or status; inspect customer history and spending; find products by catalog attributes; check stock by location; and examine promotion conditions and usage. Reporting tools compare sales with a previous period or the same period last year, while customer reporting separates new and returning buyers and identifies lapsed customers. Inventory forecasting combines sales velocity with current stock to estimate days of cover and suggested replenishment quantities.

This fits the 🛒 E-Commerce category for teams that want an assistant to inspect or operate a Medusa store without building a separate integration for every supported workflow.

How it works

The Medusa MCP server can run locally over stdio or remotely over Streamable HTTP with OAuth 2.1. Local use is intended for clients such as Claude Desktop and Claude Code. The remote connector is documented for Claude and ChatGPT environments. The server authenticates against a Medusa Admin API using a secret API key created in Medusa Admin; that key inherits the permissions of its creating user.

In addition to tools, the server supplies workflow prompts for activities such as store briefings, fulfillment, returns, restocking, customer overviews, monthly reports, and promotion planning. Resources expose the store, orders, products, and customers as attachable context. Clients that support MCP Apps can render inline sales and restocking views; other clients receive the same underlying data as text.

Setup and configuration

Create a secret API key in Medusa Admin under Settings, Developer, and Secret API Keys. The repository documents a Claude Code or Cowork plugin, a downloadable Claude Desktop extension, and manual local configuration. The plugin asks for the backend URL and API key during activation, while the extension asks for equivalent settings.

Write operations are disabled when MEDUSA_READ_ONLY=true. MEDUSA_RAW_API=false disables the generic raw Admin API request tool. MEDUSA_TOOLSETS can limit registration to groups such as orders, customers, products, catalog, inventory, pricing, promotions, reports, bulk, or raw; store information remains enabled. REPORT_TIMEZONE controls interpretation of plain report dates and defaults to UTC. MEDUSA_CONFIRM_DESTRUCTIVE=false disables confirmation dialogs for destructive actions.

Tools and capabilities

The dedicated tools include:

  • Store information, orders, customers, customer groups, products, catalog data, inventory, promotions, and price lists.
  • Sales, customer, and inventory forecast reports, with interactive dashboards where the client supports MCP Apps.
  • Fulfillment, shipment, order, payment, return, draft-order, product, variant, catalog, inventory, customer, promotion, and price-list changes.
  • Bulk price, stock, and product updates that preview changes through a dry-run option.
  • medusa_request for supported GET, POST, and DELETE requests under /admin/ when no dedicated tool exists.

Destructive operations can request confirmation through MCP elicitation when the client supports it. The raw request tool always blocks writes to api-keys, users, and invites; read-only mode also restricts it to GET requests.

Limitations and notes

The server acts on the permissions of the configured Medusa Admin API key, so access depends on the user who created that key. Write tools are not available while read-only mode is enabled. The stateless remote connector cannot use elicitation dialogs, so approval is handled by the client’s own tool-approval behavior.

Amounts use major currency units because Medusa v2 does not store minor units. The interactive views make no network requests of their own and require a client with MCP Apps support for inline rendering. Clients without that support still receive report data as text.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Medusa

Medusa is an MCP server that connects AI clients to the Medusa v2 Admin API. Its main tools manage and inspect orders, customers, products, catalog data, inventory, promotions, payments, returns, and reports, with a generic Admin API request tool for supported endpoints that lack dedicated tools.

Install it through the documented Claude Code or Cowork plugin, the downloadable Claude Desktop extension, or manual local configuration. Create a Medusa Admin secret API key first, then provide the backend URL and key when the selected client asks for them.

Yes, set `MEDUSA_READ_ONLY=true` to keep write tools disabled. The generic `medusa_request` tool also permits only `GET` requests in read-only mode, while writes to `api-keys`, `users`, and `invites` remain blocked.

It provides sales, customer, and inventory forecast reports. Sales reports include period comparisons and product, variant, country, discount-code, and sales-channel details; customer reports cover retention patterns; inventory forecasts estimate stock coverage and replenishment needs.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMedusa AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/medusa?style=directory)](https://allmcps.com/mcp/medusa)
HTML Embed
<a href="https://allmcps.com/mcp/medusa"><img src="https://allmcps.com/api/badge/medusa?style=directory" alt="Medusa on AllMCPs" /></a>