Skip to main content
Glama
westurner

sphinxcontrib-mcp

by westurner

sphinxcontrib-mcp

A FastMCP server that exposes a built Sphinx site's navigation, page context, metadata, and search tools. It reads the webmcp.json manifest emitted by sphinxcontrib-webmcp, so the server and browser-side WebMCP integration share one public schema.

Run

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

The default transport is stdio. Use --transport http --host 127.0.0.1 --port 8001 for Streamable HTTP.

Related MCP server: mdbook-mcp-server

Tools

  • sphinx.get_page_context: return page title, URL, source, headings, and children.

  • sphinx.list_navigation: return the Sphinx root and resolved children.

  • sphinx.get_documentation_metadata: return public build, search, and schema metadata.

  • sphinx.search: search native Sphinx references or configured docindex backends.

  • sphinx.navigate: resolve a same-site page without performing browser navigation.

native, docindex, oxirs, and meilisearch search modes remain distinct. The server only uses public_api_key; administrative Meilisearch keys are not accepted from the manifest. Search results from OxiRS and Meilisearch are returned under separate backend entries.

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
    A
    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"