Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoSSE bind host, default 0.0.0.00.0.0.0
MCP_PORTNoSSE bind port, default 80008000
MEDUSA_URLYesBase URL for Medusa, for example http://medusa:8081
MCP_TRANSPORTNostdio or sse, default stdiostdio
MEDUSA_API_KEYNoMedusa API key sent as X-Api-Key
MEDUSA_TIMEOUTNoHTTP timeout in seconds, default 3030
MEDUSA_WEB_ROOTNoWeb root if Medusa is hosted below a path
MCP_ALLOWED_HOSTSNoComma-separated allowed Host headers when DNS rebinding protection is enabled
MCP_ALLOWED_ORIGINSNoComma-separated allowed Origin headers when DNS rebinding protection is enabled
MCP_DNS_REBINDING_PROTECTIONNoEnable MCP SDK Host/Origin validation, default falsefalse

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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