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 |
Capabilities
Features and capabilities supported by this server
| 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. |
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/joestar817/legado-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server