Cover image
Try Now
2025-04-04

Serveur MCP pour le sdk de Medusa JS

3 years

Works with Finder

1

Github Watches

0

Github Forks

9

Github Stars

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:

npm install

Build the project:

npm run build

▶️ Usage

Start the server:

npm start

Test using the MCP Inspector:

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

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


🌍 Environment Variables

Variable Description
MEDUSA_BACKEND_URL Your Medusa backend URL
PUBLISHABLE_KEY Your Medusa publishable API key
MEDUSA_USERNAME Medusa admin username (for admin)
MEDUSA_PASSWORD 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.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.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • JackKuo666
  • 🔍 Permettre aux assistants d'IA de rechercher et d'accéder aux informations du package PYPI via une interface MCP simple.

    Reviews

    4 (1)
    Avatar
    user_hZ9b6HB4
    2025-04-17

    As a dedicated user of medusa-mcp, I am thoroughly impressed with its capabilities. This tool, developed by SGFGOV, is incredibly efficient and user-friendly. It has significantly streamlined my workflow and enhanced productivity. The open-source nature of the project is commendable, allowing for continuous improvements and community contributions. For anyone looking for a reliable and powerful MCP application, I highly recommend checking it out on GitHub at https://github.com/SGFGOV/medusa-mcp.