mcp-medusa
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | SSE bind host, default 0.0.0.0 | 0.0.0.0 |
| MCP_PORT | No | SSE bind port, default 8000 | 8000 |
| MEDUSA_URL | Yes | Base URL for Medusa, for example http://medusa:8081 | |
| MCP_TRANSPORT | No | stdio or sse, default stdio | stdio |
| MEDUSA_API_KEY | No | Medusa API key sent as X-Api-Key | |
| MEDUSA_TIMEOUT | No | HTTP timeout in seconds, default 30 | 30 |
| MEDUSA_WEB_ROOT | No | Web root if Medusa is hosted below a path | |
| MCP_ALLOWED_HOSTS | No | Comma-separated allowed Host headers when DNS rebinding protection is enabled | |
| MCP_ALLOWED_ORIGINS | No | Comma-separated allowed Origin headers when DNS rebinding protection is enabled | |
| MCP_DNS_REBINDING_PROTECTION | No | Enable MCP SDK Host/Origin validation, default false | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| diagnose_release_groupsA | Diagnose release group issues for a series by comparing config vs available releases. Checks provider cache first; if empty, triggers a manual search and retries. Returns a structured diagnosis with recommendation. Args: series_slug: Series slug (e.g. "tvdb1234"). season: Season number to check (default: 1). episode: Episode number to check (default: 1). max_retries: How many times to retry when a search is in progress (default: 3). retry_delay_seconds: Seconds to wait between retries (default: 5.0). |
| update_release_groupsA | Update release group configuration for a series. Sends PATCH /api/v2/series/{slug} with the specified config.release.* fields. Only the provided fields are changed; omitted fields are left as-is. Args: series_slug: Series slug (e.g. "tvdb1234"). whitelist: Whitelisted release groups. blacklist: Blacklisted release groups. fallback_groups: Anime release group fallback list (in priority order). fallback_days: Days before falling back to the next group. |
| get_aliasesA | List scene exceptions (aliases) for a series. Scene exceptions are alternative episode/release titles that Medusa recognizes when searching. This tool reads them; use create_alias to add new ones. Args: series_slug: Series slug (e.g. "tvdb1234"). season: Optional season number to filter by. |
| create_aliasA | Create a local scene exception (alias) for a series. This enables Medusa to recognize an alternative release title when searching, allowing it to match releases that use a different naming scheme. Only local (user-managed) scene exceptions can be created via this tool. Args: series_slug: Series slug (e.g. "tvdb1234"). name: The alternative title to add as a scene exception. season: Optional season number. If omitted, applies to all seasons. |
| delete_aliasC | Delete a scene exception (alias) by ID. Args: alias_id: The alias ID to delete. |
| add_animeC | Add an anime series to Medusa via /api/v2/anime/add. |
| seasonal_animeA | Query a paginated seasonal anime page from Medusa, optionally returning only selected fields. Season, source, and source_sort are case-insensitive. |
| resolve_anime_titleC | Resolve an anime title to MAL candidates with match/ambiguous/no_match decision. |
| anime_infoB | Return compact anime details and Medusa presence by title or MAL ID. Does not add anime. |
| seasonal_candidatesC | Fetch server-filtered seasonal anime candidates and apply residual preference heuristics. |
| prepare_seasonal_reviewC | Compact seasonal candidates into an AI review packet. |
| resolve_and_add_animeC | Resolve and optionally add one anime. Dry-run unless execute is true. |
| bulk_add_animeB | Dry-run or add multiple anime items. Skips filterDecision=skip; execute must be true for writes. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/cpxazn/mcp-medusa'
If you have feedback or need assistance with the MCP directory API, please join our Discord server