Medusa MCP server
by blackhexagon
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | HTTP host. | 0.0.0.0 |
| PORT | No | HTTP port. | 3000 |
| MCP_PATH | No | Path of the MCP endpoint. | /mcp |
| LOG_LEVEL | No | Log level: debug, info, warn, or error. | info |
| MCP_TOOL_MODE | No | Tool mode: dynamic or full. | dynamic |
| MCP_TRANSPORT | No | Transport: http (default) or stdio. | http |
| MEDUSA_API_KEY | No | Secret API key (sk_…). Recommended; use instead of MEDUSA_ADMIN_EMAIL and MEDUSA_ADMIN_PASSWORD. | |
| MCP_AUTH_TOKENS | No | Comma-separated bearer tokens. Required for HTTP transport (the default); not needed for stdio. | |
| MEDUSA_BASE_URL | Yes | Medusa backend URL, e.g. https://api.shop.com. | |
| MCP_CORS_ORIGINS | No | Allowed origins for browser clients; * allows all. | |
| MEDUSA_READ_ONLY | No | Allow only GET operations. | false |
| MEDUSA_TIMEOUT_MS | No | Timeout for Medusa requests in milliseconds. | 30000 |
| MEDUSA_ADMIN_EMAIL | No | Admin email, used with MEDUSA_ADMIN_PASSWORD instead of MEDUSA_API_KEY. | |
| MEDUSA_EXCLUDE_TAGS | No | Comma-separated tag deny-list, e.g. Users,Api Keys,Invites. | |
| MEDUSA_INCLUDE_TAGS | No | Comma-separated tag allow-list, e.g. Products,Orders,Customers,Inventory Items. | |
| MEDUSA_OPENAPI_PATH | No | Path to your own OpenAPI file (YAML/JSON) for a different Medusa version or custom routes. | |
| MEDUSA_EXTRA_HEADERS | No | JSON object of extra headers for Medusa requests. | |
| MCP_ALLOW_QUERY_TOKEN | No | Also accept ?token=… in the URL for clients that cannot set headers. | false |
| MEDUSA_ADMIN_PASSWORD | No | Admin password, used with MEDUSA_ADMIN_EMAIL instead of MEDUSA_API_KEY. | |
| MCP_MAX_RESPONSE_CHARS | No | Responses longer than this are truncated. | 60000 |
| MCP_ALLOW_UNAUTHENTICATED | No | Allow unauthenticated HTTP access. Local testing only. | false |
| MEDUSA_ALLOW_RAW_REQUESTS | No | Allow method + path calls for /admin/*; the filters above still apply. | true |
| MEDUSA_EXCLUDE_OPERATIONS | No | Comma-separated operation deny-list, e.g. DeleteProductsId,DeleteOrdersId. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues