mcp-medusa

mcp-medusa

Exposes Medusa anime automation tools for adding anime and querying seasonal anime via MCP.

Category
访问服务器

README

mcp-medusa

MCP server that exposes Medusa anime automation tools.

Tools

add_anime

Adds an anime to Medusa using POST /api/v2/anime/add.

Common arguments:

{
  "anime_id": 62076,
  "source": "myanimelist",
  "root_dir": "/media/videos/Anime",
  "anime": true,
  "scene": false,
  "status": "wanted",
  "initial_release_group": "SubsPlease",
  "fallback_release_groups": ["SubsPlease", "Erai-raws"],
  "release_group_fallback_days": 7
}

Arguments:

Argument Required Default Allowed values / notes
anime_id yes none Source-specific anime ID. For myanimelist, this is the MAL anime ID.
root_dir yes none Medusa root directory path for the new series.
source no myanimelist myanimelist, livechart
anime no true Usually keep true.
scene no false Whether to enable scene numbering.
status no wanted Medusa episode status string, commonly wanted, skipped, or ignored.
initial_release_group no none First/active release group to whitelist, for example SubsPlease.
fallback_release_groups no none Ordered list of release groups to rotate through. Include the initial group first for deterministic behavior.
release_group_fallback_days no 7 Days after episode airdate before switching to the next fallback group.
directory_name no Medusa-generated Optional series folder name override.

seasonal_anime

Queries Medusa seasonal anime using GET /api/v2/anime/seasonal.

{
  "year": 2026,
  "season": "SPRING",
  "source": "myanimelist",
  "source_sort": "anime_num_list_users",
  "page": 1,
  "limit": 10,
  "fields": ["animeId", "displayTitle", "year", "animeType", "genres", "score", "imageUrl"]
}

Minimal call using current anime season defaults:

{}

Arguments:

Argument Required Default Allowed values / notes
year no current year If omitted, calculated from the MCP server's current date.
season no current anime season WINTER, SPRING, SUMMER, FALL. If omitted, calculated from the MCP server's current month.
source no myanimelist myanimelist, livechart
source_sort no anime_num_list_users anime_num_list_users, anime_score
page no 1 Medusa result page number. Must be 1 or greater.
limit no 10 Results per page. Medusa allows 1 through 1000; default is intentionally small to avoid MCP client truncation.
fields no null Optional list of response fields to keep. If omitted/null, the full Medusa anime objects are returned.

Current anime season defaults use this month mapping:

Months Season
January-March WINTER
April-June SPRING
July-September SUMMER
October-December FALL

Useful fields values include:

["animeId", "source", "displayTitle", "titleRomanji", "titleEnglish", "year", "season", "animeType", "status", "episodes", "episodeInfo", "genres", "studios", "score", "imageUrl", "anidbId", "tvdbId", "malId", "url", "directoryName"]

Configuration

Environment variables:

Variable Required Description
MEDUSA_URL yes Base URL for Medusa, for example http://medusa:8081
MEDUSA_API_KEY recommended Medusa API key sent as X-Api-Key
MEDUSA_WEB_ROOT no Web root if Medusa is hosted below a path
MEDUSA_TIMEOUT no HTTP timeout in seconds, default 30
MCP_TRANSPORT no stdio or sse, default stdio
MCP_HOST no SSE bind host, default 0.0.0.0
MCP_PORT no SSE bind port, default 8000
MCP_DNS_REBINDING_PROTECTION no Enable MCP SDK Host/Origin validation, default false
MCP_ALLOWED_HOSTS no Comma-separated allowed Host headers when DNS rebinding protection is enabled, for example daniel-nas.localdomain:3001,localhost:3001
MCP_ALLOWED_ORIGINS no Comma-separated allowed Origin headers when DNS rebinding protection is enabled

For container/SSE deployments, keep MCP_HOST=0.0.0.0 or set it explicitly. DNS rebinding protection is disabled by default because mapped ports, reverse proxies, and LAN hostnames otherwise commonly cause 421 Misdirected Request errors. If you enable it, include the externally visible host and port in MCP_ALLOWED_HOSTS.

Run locally

pip install -e .
MEDUSA_URL=http://localhost:8081 MEDUSA_API_KEY=... mcp-medusa

For SSE:

MEDUSA_URL=http://localhost:8081 MEDUSA_API_KEY=... mcp-medusa --transport sse --port 8000

Docker

The image defaults to SSE on port 8000.

docker build -t mcp-medusa .
docker run --rm -p 8000:8000 \
  -e MEDUSA_URL=http://medusa:8081 \
  -e MEDUSA_API_KEY=... \
  mcp-medusa

For stdio instead:

docker run --rm -i \
  -e MEDUSA_URL=http://medusa:8081 \
  -e MEDUSA_API_KEY=... \
  mcp-medusa --transport stdio

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选