Skip to main content
Glama
joestar817

legado-mcp-server

by joestar817

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEGADO_WS_URLNoLegado WebSocket 地址,可选 (如果不指定,默认按 HTTP 端口 + 1 推导)
LEGADO_BASE_URLYesLegado HTTP 地址 (如 http://192.168.1.10:1122)
LEGADO_HTTP_TIMEOUTNoHTTP 请求超时时间 (默认 60s)60
LEGADO_SESSION_BUFFER_SIZENoWebSocket 消息缓冲区大小 (默认 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
legado_http_apiRead the HTTP API summary and implementation notes.
legado_ws_apiRead the WebSocket API summary and implementation notes.
legado_book_source_schemaRead the normalized JSON schema for the BookSource model.
legado_rss_source_schemaRead the normalized JSON schema for the RssSource model.

TDQS

D1.9/5.0

Scored across 31 tools

Disambiguation2/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues