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

Capabilities

Features and capabilities supported by this server

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.

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