M(

mcpdoc (LangChain)

Serves llms.txt documentation files you choose to your coding agent, so it reads the real docs. The maker archived the repo.

📚 Up-to-date docs for codingGitHub stars1,030Updated 2026-08-20By langchain-aiLicense: MITAuth: NoneGitHub ↗

Test results

No full client pass yet
Claude CodeFailed2026-10-15 · did not connect, so the agent task could not use itTested with Claude Code 2.1.296 · package version not recorded · connect time not recorded
CursorFailed2026-10-15 · did not connect, so the agent task could not use itTested with Cursor CLI 2026.10.14-941492e · package version not recorded · connect time not recorded
Claude DesktopNot tested yet—
ChatGPT (Codex)Failed2026-10-22 · agent task failed (no successful call to this server's tools; answer missing ['5173']; no tool result containing ['5173'])Tested with Codex CLI 0.162.0-alpha.17.2 · mcpdoc 0.0.10 · connect time not recorded

Server package tested: mcpdoc 0.0.10 (uv, Python 3.12.15; resolved 2026-10-22)

Direct and key dependencies as resolved: anyio 4.15.1 · httpx 0.28.1 · markdownify 1.2.3 · mcp 2.3.0 · pydantic 2.14.1 · pydantic_core 2.50.1 · PyYAML 6.0.3 · sse-starlette 3.5.0 · starlette 1.9.0 · typing_extensions 4.16.0 · uvicorn 0.54.0

All 44 resolved dependencies
annotated-doc==0.0.5
annotated-types==0.8.0
anyio==4.15.1
attrs==26.1.0
beautifulsoup4==4.15.0
certifi==2026.10.19
cffi==2.1.1
click==8.5.0
cryptography==50.0.2
h11==0.16.0
httpcore==1.0.9
httpcore2==2.16.0
httpx==0.28.1
httpx2==2.16.0
idna==3.20
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
markdown-it-py==4.2.0
markdownify==1.2.3
mcp==2.3.0
mcp-types==2.3.0
mdurl==0.1.2
opentelemetry-api==1.45.1
pycparser==3.12
pydantic==2.14.1
pydantic_core==2.50.1
Pygments==2.21.0
PyJWT==2.15.1
python-dotenv==1.2.4
python-multipart==0.0.32
PyYAML==6.0.3
referencing==0.37.0
rich==15.0.0
rpds-py==2026.9.1
shellingham==1.5.4
six==1.17.0
soupsieve==3.0.4
sse-starlette==3.5.0
starlette==1.9.0
truststore==0.10.5
typer==0.27.3
typing-inspection==0.4.4
typing_extensions==4.16.0
uvicorn==0.54.0

Captured with: uvx --from mcpdoc python (importlib.metadata in the same uvx env; equivalent to uv pip freeze).

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with ChatGPT (Codex)?

Protocol: failed · 2026-10-22 · server exited code 1 · exited after 1.0s, never connected
🧪 Test-box note: Published uvx snippet fails to start on Oct 15 and again on Oct 19, 2026 (dependency break: pydantic ImportError at startup, chroma-mcp 0.2.6 from PyPI). Tested as published; no pinning.
🔁 Developer said they fixed this after our result. Retested on Oct 19, 2026: the published uvx command still fails to start in Claude Code and Cursor.

Real test

Failed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
Protocol check (no agent app) · mcpdoc 0.0.10
Date
Oct 22, 2026
The task we gave
details not recorded for this run
What it promised
details not recorded for this run
What happened

Tool calls: details not recorded for this run

Error

Traceback (most recent call last):
  File "…/bin/mcpdoc", line 6, in <module>
    from mcpdoc.cli import main
  File "…/lib/python3.12/site-packages/mcpdoc/cli.py", line 12, in <module>
    from mcpdoc.main import create_server, DocSource
  File "…/lib/python3.12/site-packages/mcpdoc/main.py", line 9, in <module>
    from mcp.server.fastmcp import FastMCP
  File "…/lib/python3.12/site-packages/mcp/server/fastmcp.py", line 16, in <module>
    raise ModuleNotFoundError(_MESSAGE, name=__name__)
ModuleNotFoundError: No module named 'mcp.server.fastmcp'. This is mcp 2.x, where FastMCP was renamed to MCPServer (from mcp.server.mcpserver import MCPServer) and other APIs changed; see the migration guide at https://py.sdk.modelcontextprotocol.io/v2/migration/#fastmcp-renamed-to-mcpserver or pin 'mcp<2' to keep running v1 code.
Verdict
Failed

server exited code 1

Install

claude mcp add mcpdoc -- uvx --from mcpdoc mcpdoc --urls Vite:https://vite.dev/llms.txt --transport stdio

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "mcpdoc": {
      "command": "uvx",
      "args": [
        "--from",
        "mcpdoc",
        "mcpdoc",
        "--urls",
        "Vite:https://vite.dev/llms.txt",
        "--transport",
        "stdio"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "mcpdoc": {
      "command": "uvx",
      "args": [
        "--from",
        "mcpdoc",
        "mcpdoc",
        "--urls",
        "Vite:https://vite.dev/llms.txt",
        "--transport",
        "stdio"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.mcpdoc]
command = "uvx"
args = ["--from", "mcpdoc", "mcpdoc", "--urls", "Vite:https://vite.dev/llms.txt", "--transport", "stdio"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-22Protocol (direct stdio)Protocol: failedmcpdoc 0.0.10
2026-10-22ChatGPT (Codex)Failed
agent task failed (no successful call to this server's tools; answer missing ['5173']; no tool result containing ['5173'])
Codex CLI 0.162.0-alpha.17.2 · mcpdoc 0.0.10
2026-10-15Claude CodeFailed
did not connect, so the agent task could not use it
Claude Code 2.1.296 · package version not recorded
2026-10-15CursorFailed
did not connect, so the agent task could not use it
Cursor CLI 2026.10.14-941492e · package version not recorded
2026-10-15Protocol (direct stdio)Protocol: failed
server exited code 1
Featured