Skip to main content
Glama
sphinxcontrib-mcp

sphinxcontrib-mcp

by westurner

sphinxcontrib-mcp

一个 FastMCP 服务器,用于暴露已构建 Sphinx 站点的导航、页面上下文、元数据和搜索工具。它读取由 sphinxcontrib-webmcp 生成的 webmcp.json 清单,因此服务器和浏览器端 WebMCP 集成共享同一个公共模式。

运行

sphinx-mcp --manifest docs/_build/html/webmcp.json

默认传输方式为 stdio。如需使用 Streamable HTTP,请使用 --transport http --host 127.0.0.1 --port 8001。

Related MCP server: mdbook-mcp-server

工具

  • sphinx.get_page_context:返回页面标题、URL、源文件、标题和子页面。

  • sphinx.list_navigation:返回 Sphinx 根节点和解析后的子节点。

  • sphinx.get_documentation_metadata:返回公共构建、搜索和模式元数据。

  • sphinx.search:搜索原生 Sphinx 引用或已配置的 docindex 后端。

  • sphinx.navigate:解析同站页面,而不执行浏览器导航。

native、docindex、oxirs 和 meilisearch 搜索模式保持相互独立。服务器仅使用 public_api_key;不接受清单中的 Meilisearch 管理密钥。来自 OxiRS 和 Meilisearch 的搜索结果在单独的后端条目下返回。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Indexes documentation sites by base URL and serves keyword search, optional semantic search, and Markdown page retrieval as MCP tools, all from a single SQLite file.
      -
    • F
      license
      A
      quality
      D
      maintenance
      Enables searching documentation from GitHub repositories and web pages via MCP tools, with in-memory indexing and caching for fast retrieval.
      3
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching, reading, and navigating MkDocs documentation sites through MCP tools for keyword, semantic, or hybrid search, document browsing, and project metadata.
      1
      BSD 2-Clause "Simplified"