JMComic AI
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browse_albumsA | 浏览、过滤、排行本子,支持灵活的分类、时间范围和排序选项。 该工具结合了分类浏览和排行榜功能,支持:
参数: category: 分类过滤器。可选值: - "all" 或 "0": 全部分类 - "doujin": 同人 - "single": 单本 - "short": 短篇 - "hanman": 韩漫 - "meiman": 美漫 - "doujin_cosplay": Cosplay - "3D": 3D - "another": 其他 - "english_site": 英文站 (默认值: "all") 返回: 包含以下内容的字典: - albums: 本子简要信息列表 (id, title, tags, cover_url) - total_count: 结果总数 - error: 如果参数无效,则包含错误信息(可选) 示例: # 1. 获取本月点赞排行 (月榜) browse_albums(time_range="month", order_by="likes") |
| download_albumA | 在后台下载整个本子。 这是一个阻塞操作,会等待下载完成后返回。 下载进度会通过日志和 MCP Context(如果可用)实时报告。 参数: album_id: 要下载的本子 ID (例如 "123456") ctx: MCP Context,用于实时报告进度和日志(由 FastMCP 自动注入) 返回: 包含以下内容的字典: - status: "success" 或 "failed" - album_id: 本子 ID - title: 本子标题 - download_path: 下载目录的绝对路径 - duration: 下载调用总耗时(秒) - image_paths: 实际下载或命中缓存的图片绝对路径 - export_files: 下载插件生成的文件路径,按扩展名分组 - task_id: 本次 MCP 下载调用的任务 ID - log_path: 本次调用专属日志文件的绝对路径 - error: 如果失败则包含错误信息 |
| download_coverA | 下载特定本子的封面图片。 默认保存到下载目录下的 'covers' 子目录,也可以指定输出目录。 参数: album_id: 本子 ID (例如 "123456") output_dir: 可选的封面输出目录;省略时使用默认的 'covers' 子目录。 返回: 包含保存路径的成功消息。 |
| download_photoA | 下载本子中的特定章节。 参数: photo_id: 要下载的章节 ID (例如 "123456") ctx: MCP Context,用于实时报告进度和日志(由 FastMCP 自动注入) 返回: 包含以下内容的字典: - status: "success" 或 "failed" - photo_id: 章节 ID - image_count: 下载的图片数量 - download_path: 下载目录的绝对路径 - duration: 下载调用总耗时(秒) - image_paths: 实际下载或命中缓存的图片绝对路径 - export_files: 下载插件生成的文件路径,按扩展名分组 - task_id: 本次 MCP 下载调用的任务 ID - log_path: 本次调用专属日志文件的绝对路径 - error: 如果失败则包含错误信息 |
| get_album_commentsA | 获取本子的一页评论,包括递归回评和剧透标识。 参数: album_id: 本子 ID (例如 "302820")。 page: 评论页码,从 1 开始(默认值:1)。 返回: 包含以下内容的字典: - album_id: 本子 ID - page: 当前页码 - page_size: 每页主评论数量 - total: 全部分页的主评论总数;不可用时为 null - page_count: 总页数;不可用时为 null - comment_count: 当前页主评论与所有层级回评总数 - comments: 评论列表,每条评论包含 replies 和 is_spoiler |
| get_album_detailB | 获取特定本子的详细信息。 参数: album_id: 本子 ID (例如 "123456") 返回: 包含详细信息的字典:id, title, author, likes, views, tags, actors, description, chapter_count, update_time, cover_url。 |
| get_forum_commentsA | 获取全站最新发布的一页评论,包括评论所属本子、递归回评和剧透标识。 参数: page: 评论页码,从 1 开始(默认值:1)。 返回: 包含当前页码、分页总数、评论数量和评论列表的字典。 HTML 客户端不提供 total 和 page_count,此时对应字段为 null。 |
| loginA | 登录 JMComic 账户以访问更多功能(如收藏夹、高级内容等)。 登录后的会话 Cookie 会自动保存,供后续请求使用。 参数: username: 用户名 password: 密码 返回: 登录成功或失败的消息。 |
| post_processA | 对已下载的本子进行后处理(生成 Zip、PDF 或长图)。 参数:
album_id: 要处理的本子 ID。
process_type: 后处理类型,可选值为 "zip", "img2pdf", "long_img"。
params: 后处理参数字典。支持:
- 返回: 包含以下内容的字典: - status: "success" 或 "error" - process_type: 后处理类型 - album_id: 本子 ID - output_path: 输出文件/目录的绝对路径 - output_paths: 插件实际生成的全部文件绝对路径 - is_directory: 输出是否为目录 - message: 成功或错误消息 |
| search_albumA | 搜索本子,支持高级过滤选项。 参数: keyword: 搜索关键词(支持本子ID、标题、作者、标签等)。 page: 页码,从1开始(默认值:1)。 main_tag: 搜索范围 - 0 (站内), 1 (作品), 2 (作者), 3 (标签), 4 (角色)(默认值:0)。 order_by: 排序方式,与 browse_albums 词汇一致。可选值: - "latest": 最新更新 - "likes": 最多点赞 - "views": 最多观看 - "pictures": 最多图片 - "score": 评分最高 - "comments": 评论最多 (默认值:"latest")。 time_range: 时间过滤,与 browse_albums 词汇一致。可选值: - "all": 全部时间 - "day" 或 "today": 今天 - "week": 本周 - "month": 本月 (默认值:"all")。 category: 分类过滤 - "all" 或具体的 CID(默认值:"all")。 返回: 包含以下内容的字典: - albums: 本子信息列表。 - total_count: 结果总数。 - error: 如果 order_by / time_range 参数无效,则包含错误信息(可选)。 |
| update_optionA | 更新 JMComic 配置并保存到文件。 重要提示:此工具仅执行有限的验证。 在调用此工具之前,建议先查看以下资源了解 JmOption 语法:
参数: option_updates: 要合并的配置更新字典。 支持对 client、download、dir_rule 等进行嵌套更新。 返回: 包含文件路径的成功消息,或错误消息。 示例: option_updates = { "client": {"impl": "api"}, "download": {"threading": {"image": 50}} } |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_option_schema | Return the JSON Schema for JmOption |
| get_option_reference | Return the option reference documentation |
| get_skill_doc | Return the SKILL.md for AI guidance |
TDQS
Scored across 11 tools
Most tools target distinct resources or actions (login, detail, comments, downloads, post-processing), but browse_albums and search_album both return album lists with overlapping filters, and the download_cover/download_album/download_photo trio could be confused at a glance despite descriptions clarifying their scopes.
All tool names follow a clear snake_case verb_noun pattern (download_*, get_*, browse_albums, search_album, update_option), with no mixed conventions. Minor singular/plural differences (browse_albums vs search_album) do not undermine the predictable pattern.
Eleven tools is well-scoped for this domain: authentication, discovery, details, comments, downloads, post-processing, and configuration. Each tool serves a distinct purpose and the set is neither bloated nor too thin.
Core browse/search/detail/comment/download/post-process workflows are covered, but login promises access to favorites without any favorites-retrieval tool, and download_photo requires a photo_id that no tool enumerates from an album. These are notable gaps that could dead-end agents.