media-hunter-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEDIA_HUNTER_HOST | No | Host address for HTTP/SSE transport. Default is 127.0.0.1. | 127.0.0.1 |
| MEDIA_HUNTER_PORT | No | Port for HTTP/SSE transport. Default is 8787. | 8787 |
| MEDIA_HUNTER_CONFIG | No | Path to a media-hunter configuration file. If not set, the server looks for config.toml in the current directory, then in ~/.config/media-hunter/. | |
| MEDIA_HUNTER_TRANSPORT | No | Transport protocol for the MCP server. Use 'http' for Streamable HTTP (default path /mcp) or 'sse' for SSE. Defaults to stdio if not set. |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchA | 搜索 e621/rule34/ehentai/pixiv。query 使用站点原生标签或关键词。 page 从 1 开始;limit 上限分别为 320/1000/100/30。 rating:e621 s/q/e;rule34 safe/questionable/explicit; pixiv all(不限)/safe/r18/r18g(精确等级);ehentai 为画廊分类。 min_score 为站点分数(Pixiv 收藏数、E-Hentai 星级)。过滤后可能少于 limit。 |
| get_postC | 作品完整元数据。post_id 为数字;ehentai 为 gid/token。 |
| download_postA | 按 ID 下载整部作品,返回文件清单及 sidecar。subdir 为下载根目录下的分组名。 timeout 为覆盖等待、元数据、解析、下载及合成的总秒数。失败文件不会成为最终文件。 |
| download_searchA | 搜索并批量下载,最多尝试 50 个文件。超额画廊整本跳过,可用 download_post 单独下载。 返回 downloaded/errors/skipped;timeout 覆盖搜索和下载全流程。部分完成时 success=false,成功文件仍保留。 |
| download_urlC | 识别四个站点的作品页面 URL 并下载。timeout 为总秒数;不接受任意文件直链。 |
| self_checkA | 并行检查四站凭证及 API 连通性,每站最多 45 秒;不下载媒体、不返回凭证。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |