2.3. Medusa MCP Remote Server
The Medusa documentation provides a remote Model Context Protocol (MCP) server that allows you to find information from the Medusa documentation right in your IDEs or AI tools, such as Cursor.
Medusa hosts a Streamable HTTP MCP server at https://docs.medusajs.com/mcp that you can add to AI agents supporting MCP server connections.
Connect to the Medusa MCP Server#
Claude Code#
To connect to the Medusa MCP server in Claude Code, run the following command in your terminal:
Cursor#
Click here to add the Medusa MCP server to Cursor.
To manually connect to the Medusa MCP server in Cursor, add the following to your .cursor/mcp.json file or Cursor settings, as explained in the Cursor documentation:
VS Code#
Click here to add the Medusa MCP server to VSCode.
To manually connect to the Medusa MCP server in VSCode, add the following to your .vscode/mcp.json file in your workspace:
How to Use the MCP Server#
After connecting to the Medusa MCP server in your AI tool or IDE, you can start asking questions or requesting your AI assistant to build Medusa customizations. It will fetch the relevant information from the Medusa documentation and provide you with accurate answers, code snippets, and explanations.
For example, you can ask:
- "Create a Product Review module for Medusa. Refer to the Medusa documentation for information."
- "How to update Medusa to the latest version?"
- "Explain the Medusa workflow system."
- "Integrate Medusa with X provider. Refer to the Medusa documentation for information."