Medusa MCP logo

Medusa MCP

Community
SGFGOV

MCP server for Medusa JS SDK

PublisherSGFGOV
Repositorymedusa-mcp
LanguageTypeScript
Forks
21
Stars
70
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Medusa MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    70 stars and 21 forks from the linked repository.

MseeP.ai Security Assessment Badge

medusa-mcp

Overview

medusa-mcp is a Model Context Protocol (MCP) server designed for integration with the Medusa JavaScript SDK. It provides a scalable backend layer for managing and interacting with Medusa’s data models, enabling automation, orchestration, and intelligent service extensions.


🧩 What is an MCP Server?

An MCP server is a modular, extensible backend that:

  • Enables real-time service orchestration
  • Supports standardized, high-throughput communication
  • Acts as a bridge between AI/automation tools and real-world systems

These servers are used in areas like AI, IoT, and enterprise software to connect various services and automate tasks using standardized protocols like JSON-RPC.

🔑 Key Features

  • Modular Architecture – Composable services for flexibility
  • High Efficiency – Optimized for speed and scale
  • Extensible Design – Add new capabilities easily
  • Cross-Environment Deployment – Cloud, on-prem, or hybrid
  • AI-Ready Interfaces – Integrate LLMs and tools seamlessly

🧠 Role in AI Systems

MCP servers allow AI agents to:

  • Access real-time data from APIs, files, or databases
  • Automate business processes (e.g., order fulfillment, pricing updates)
  • Interact with external services in a secure and controlled way


🚀 Medusa JS + MCP

Using medusa-mcp, Medusa JS can:

  • Automate workflows (e.g., inventory or pricing adjustments)
  • Connect with external tools (email, analytics, etc.)
  • Use AI agents to analyze trends and trigger actions
  • Enable scalable, modular architecture for commerce platforms

✨ Features

  • ✅ Model Context Protocol (MCP) support
  • 📈 Scalable infrastructure
  • 🧱 Extensible plugin architecture
  • 🔗 Integrated with Medusa JS SDK

🛠️ Installation

Clone the repository and install dependencies:

bash
npm install

Build the project:

bash
npm run build

▶️ Usage

Start the server:

bash
npm start

Test using the MCP Inspector:

bash
npx @modelcontextprotocol/inspector ./dist/index.js

Note: Restart the Inspector and your browser after each rebuild.


🛠️ Generating a Claude Skill from this MCP server

You can convert this MCP server into a Claude Skill using the mcp-to-skill.py script from the mcp-to-skill-converter project, which is included in this repo as mcp-to-skill.py.

  1. Build the MCP server (so the command in the config works):

    bash
    npm run build
  2. Ensure Python and the mcp package are available:

    bash
    pip install mcp
  3. Generate a Skill for this server using the provided mcp-to-skill.json config:

    bash
    python mcp-to-skill.py --mcp-config mcp-to-skill.json --output-dir ./skills/medusa-mcp

    This will create:

    • SKILL.md – instructions for Claude
    • executor.py – MCP communication handler
    • mcp-config.json – MCP server configuration
    • package.json – minimal dependencies for the skill
  4. Install the Skill for Claude:

    bash
    cd skills/medusa-mcp
    pip install mcp
    cp -r . ~/.claude/skills/medusa-mcp

Claude will automatically discover the new Skill on next startup.


🌍 Environment Variables

VariableDescription
MEDUSA_BACKEND_URLYour Medusa backend URL
PUBLISHABLE_KEYYour Medusa publishable API key
MEDUSA_USERNAMEMedusa admin username (for admin)
MEDUSA_PASSWORDMedusa admin password (for admin)

Server runs at: http://localhost:3000


🧠 Architecture Diagram

Here's how the medusa-mcp server fits into a typical setup with Medusa JS and external systems:


       +-------------------------+
       |     AI Assistant /      |
       |     LLM / Automation    |
       +-----------+-------------+
                   |
                   v
    +--------------+--------------+
    |     MCP Server (medusa-mcp) |
    |-----------------------------|
    | - JSON-RPC Communication    |
    | - AI-Ready Interface        |
    | - Plugin Support            |
    +------+----------------------+
                   |                             
                   +
                   |                                                         
                   v                                                         
         +-------------------+
         | Medusa Backend    |
         | (Products, Orders)|
         +-------------------+
                   |
                   |
                   v
           +--------------+
           | Medusa Store |
           | Frontend     |
           +--------------+
                   |
                   |
                   v
      +-------------------------+
      | External Services / API |
      | (e.g., Payments, Email) |
      +-------------------------+

🧪 Customization

To tailor the server to your Medusa setup:

Replace admin.json and store.json with your own OAS definitions for fine-grained control.

  • Replace the OpenAPI schemas in the oas/ folder:
    • admin.json – Admin endpoints
    • store.json – Storefront endpoints

Use the @medusajs/medusa-oas-cli to regenerate these files.

You can also fork this project to build your own custom MCP-powered Medusa integration.


🤝 Contributing

We welcome contributions! Please see our CONTRIBUTING.md guide.


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Installation

TypingMind
{
  "mcpServers": {
    "medusa-mcp": {
      "command": "npx",
      "args": [
        "@sgftech/medusa-mcp"
      ]
    }
  }
}

Use Medusa MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Medusa MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Medusa MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Medusa MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "medusa-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sgftech/medusa-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Medusa MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Medusa MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Medusa MCP to help me with this task?
Medusa MCP
Sure. I read it.
Here is what I found using Medusa MCP.

Frequently asked questions

What is the Medusa MCP MCP server used for?

Medusa MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Medusa MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Medusa MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Medusa MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Medusa MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Medusa MCP MCP to TypingMind?

Medusa MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Medusa MCP MCP provide in TypingMind?

Medusa MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Medusa MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Medusa MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇