legado-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEGADO_WS_URL | No | Legado WebSocket 地址,可选 (如果不指定,默认按 HTTP 端口 + 1 推导) | |
| LEGADO_BASE_URL | Yes | Legado HTTP 地址 (如 http://192.168.1.10:1122) | |
| LEGADO_HTTP_TIMEOUT | No | HTTP 请求超时时间 (默认 60s) | 60 |
| LEGADO_SESSION_BUFFER_SIZE | No | WebSocket 消息缓冲区大小 (默认 1000) | 1000 |
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 |
|---|---|
| legado_pingA | Check whether the Legado Web service is reachable. |
| legado_get_api_summaryA | Return the normalized summary of supported Legado HTTP and WS endpoints. |
| book_source_getD | – |
| book_source_listD | – |
| book_source_saveD | – |
| book_source_save_manyD | – |
| book_source_delete_manyD | – |
| rss_source_getD | – |
| rss_source_listD | – |
| rss_source_saveD | – |
| rss_source_save_manyD | – |
| rss_source_delete_manyD | – |
| replace_rule_listD | – |
| replace_rule_saveD | – |
| replace_rule_deleteD | – |
| replace_rule_testD | – |
| book_saveD | – |
| book_deleteD | – |
| bookshelf_listD | – |
| book_refresh_tocD | – |
| book_get_chaptersD | – |
| book_get_contentD | – |
| book_save_progressD | – |
| book_add_localD | – |
| web_read_config_saveD | – |
| web_read_config_getD | – |
| book_get_coverD | – |
| book_get_imageD | – |
| book_source_debugA | Debug a book source and return all logs in one go. This is the recommended tool for book source debugging. Args: tag: The book source URL (NOT the name). key: The keyword or URL to debug. mode: Debug mode (auto, search, detail, explore, toc, content). timeout_seconds: Maximum time to wait for the debug session to finish. |
| book_searchA | Search for books across all enabled sources and return sorted results. This tool waits for the search to complete or timeout. Args: key: The search keyword (title or author). timeout_seconds: Maximum time to wait (multi-source search can be slow). |
| rss_source_debugC | Debug an RSS source and return logs in one go. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| legado_http_api | Read the HTTP API summary and implementation notes. |
| legado_ws_api | Read the WebSocket API summary and implementation notes. |
| legado_book_source_schema | Read the normalized JSON schema for the BookSource model. |
| legado_rss_source_schema | Read the normalized JSON schema for the RssSource model. |
TDQS
Scored across 31 tools
Many tools have very similar names (e.g., book_source_save and book_source_save_many, rss_source_save and rss_source_save_many, etc.) and most lack descriptions, making it difficult to distinguish their distinct purposes. This ambiguity risks tool misselection by an agent.
All tool names follow a consistent <object>_<action> pattern (e.g., book_search, book_delete, book_source_save, legado_ping). No mixing of conventions (camelCase or verb styles) is observed, providing a predictable naming scheme.
With 31 tools, the server covers multiple domains (books, book sources, RSS sources, replace rules, config), which is comprehensive but on the heavier side. Some tools may be redundant (e.g., separate save and save_many), suggesting slight over-scoping.
The tool set covers core CRUD and lifecycle operations for books, sources, and rules, plus debugging and configuration. Minor gaps exist (e.g., no explicit book update tool, though book_save may serve that purpose), but overall the surface is well-rounded.