medusa-mcp
Provides tools for interacting with Medusa's commerce backend, enabling AI agents to manage products, orders, inventory, and pricing through the Medusa JavaScript SDK.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@medusa-mcpList all products that are out of stock."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Clind MCP Server
π§© 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:
npm installBuild the project:
npm run buildβΆοΈ Usage
Start the server:
npm startTest using the MCP Inspector:
npx @modelcontextprotocol/inspector ./dist/index.jsNote: Restart the Inspector and your browser after each rebuild.
π Environment Variables
Variable | Description |
| Your Medusa backend URL |
| Your Medusa publishable API key |
| Medusa admin username (for admin) |
| Medusa 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.jsonandstore.jsonwith your own OAS definitions for fine-grained control.
Replace the OpenAPI schemas in the
oas/folder:admin.jsonβ Admin endpointsstore.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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceAn MCP server that enables AI agents to interact with the commercetools Composable Commerce platform. It provides tools for managing products, categories, orders, carts, and customer data through secure read and write operations.13MIT
- Flicense-quality-maintenanceA Shopify-focused MCP server that enables AI agents to manage store operations like order tracking, product discovery, and checkout link generation. It facilitates customer-facing interactions including shipping estimates and real-time inventory searches.
- AlicenseAqualityCmaintenanceMCP server for managing WooCommerce stores through AI assistants like Claude. Provides 101 tools covering products, orders, customers, coupons, shipping, taxes, webhooks, settings, reports, and more.1001001MIT
- Flicense-qualityCmaintenanceHosted MCP server that gives AI agents read and write access to your full marketing & ecommerce stack β Google Analytics, Search Console, Google & Meta Ads, Shopify, WooCommerce, Shopware, Slack and LinkedIn. 100+ tools across 10 connectors. BYOK, OAuth 2.1.
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors β no code.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mneema/ai-medusa-mcp-server-integration'
If you have feedback or need assistance with the MCP directory API, please join our Discord server