Docs MCP endpoint
The documentation site exposes an MCP server at:Direct URL (streamable HTTP)
Clients that accept an MCP server URL directly:Command-based (stdio via mcp-remote)
Clients that require a command and arguments:Setup by client
Claude Code
Claude Code
Claude Desktop
Claude Desktop
- Open Settings then Connectors.
- Click Add custom connector.
- Set the name to “WebMCP Docs” and the URL to
https://docs.mcp-b.ai/mcp. - Click Save, then Connect.
Cursor
Cursor
Add to Restart Cursor after saving.
.cursor/mcp.json in your project root:Windsurf
Windsurf
Add to Restart Windsurf after saving.
mcp_config.json:ChatGPT
ChatGPT
MCP support in ChatGPT requires a paid plan with Developer Mode enabled.
- Enable Developer Mode in ChatGPT settings.
- Go to Settings, then Connectors.
- Click Add MCP server.
- Enter
https://docs.mcp-b.ai/mcpas the server URL. - Name it “WebMCP Docs” and click Save.
Codex
Codex
Add to Restart Codex after saving.
~/.codex/config.toml:What the server provides
The MCP server gives connected agents read access to the full documentation site. Agents can search for pages, retrieve page content, and browse the site structure.llms.txt
Mintlify automatically generates and hosts two files at the root of the documentation site. These files follow the llmstxt.org convention for AI-readable site indexing.Files
| File | URL | Contents |
|---|---|---|
llms.txt | docs.mcp-b.ai/llms.txt | Site overview, quick start, package table, sitemap with page titles |
llms-full.txt | docs.mcp-b.ai/llms-full.txt | Full rendered content of every page, concatenated into one file |
How they are generated
Both files are derived fromdocs.json and the published .mdx pages. Mintlify rebuilds them on every deployment. There is no manual authoring step.
The llms.txt file includes:
- A top-level description (from the
descriptionfield indocs.json) - A quick start code snippet
- A package summary table
- A flat sitemap of every page with its title and relative URL
llms-full.txt file contains the full markdown-rendered body of every page, separated by page headers.
Maintenance
Because these files are auto-generated, the only way to change their content is to update the source pages ordocs.json. You do not edit llms.txt or llms-full.txt directly.
The repository also contains a hand-maintained llms.txt file in the website-docs/ source directory. This file is a static snapshot used during development and is overwritten by Mintlify at deploy time.
Usage
AI assistants (Claude, ChatGPT, Gemini, Perplexity, and others) fetchllms.txt to understand what the site covers before retrieving specific pages. If your agent supports URL-based context, point it at https://docs.mcp-b.ai/llms.txt.
The MCP endpoint and llms.txt serve different purposes. llms.txt is a static file that agents fetch over plain HTTP. The MCP endpoint is an interactive server that agents connect to as an MCP client, allowing structured queries against the documentation.
Versioning and changelog
WebMCP uses Changesets for versioning. Each package in the@mcp-b/* scope is versioned independently and published to npm.
Where to find changelogs
| Source | What it covers |
|---|---|
| GitHub Releases | Per-release notes with links to PRs and commits |
| npm version history | Published versions for any @mcp-b/* package |
Git log (chore(release): version packages) | Changeset-generated version bumps in the monorepo |
Versioning policy
All packages follow Semantic Versioning:| Increment | Meaning |
|---|---|
| Major (X.0.0) | Breaking API changes |
| Minor (0.X.0) | New features, backward compatible |
| Patch (0.0.X) | Bug fixes, backward compatible |
Package scope
The monorepo publishes the following packages. Each has its own version number.| Package | Purpose |
|---|---|
@mcp-b/global | Entry point, auto-initializes polyfill and server |
@mcp-b/webmcp-polyfill | Polyfills navigator.modelContext |
@mcp-b/webmcp-ts-sdk | BrowserMcpServer with MCP extensions |
@mcp-b/webmcp-types | Zero-runtime TypeScript types |
@mcp-b/react-webmcp | React hooks for tool registration |
@mcp-b/usewebmcp | Strict-core React hook (alias) |
@mcp-b/transports | Tab and iframe transports |
@mcp-b/mcp-iframe | Iframe MCP communication |
@mcp-b/chrome-devtools-mcp | DevTools Protocol bridge |
@mcp-b/extension-tools | Browser extension utilities |
@mcp-b/smart-dom-reader | DOM content extraction |
@mcp-b/agent-skills | Skill parser and validator |
@mcp-b/webmcp-local-relay | Local relay server for desktop agents |
Reporting issues
If you find a bug or regression after upgrading:- Check existing issues.
- Open a new issue with the package name, version numbers, steps to reproduce, and expected versus actual behavior.
