Skip to content

MCP server for your docs

Let agents in Claude, Cursor and VS Code search and read your docs as tools.

Every published site can serve a Model Context Protocol server at <your-site>/mcp. Coding agents and chat apps connect to it and search and read your docs as tools — always the current, published version.

Turn it on#

Open the site's Customize → AI & features and turn on MCP server. The server's URL is shown there, along with one-click setup for Claude Code, Cursor and VS Code on the site's Overview. While it's on, llms.txt names the server too.

Connect a client#

claude mcp add --transport http acme-docs https://docs.example.com/mcp

Tools#

Tool

What it does

search

Full-text search across the site, with each result's path, URL and a snippet.

read_page

A page as Markdown, by path, URL or .md link. Follows moved pages.

list_pages

The site's llms.txt: every page, by section.

The tools see what llms.txt sees: published sections, without hidden pages, pages marked no index, or content shown only under a condition.

Control access and use#

  • Require a key — create an MCP key in Customize. Clients then send Authorization: Bearer dsm_…. The key is shown once; delete it to open the server again.

  • Calls a day — cap how many tool calls the server answers per day.

  • Share-link sites need the link's token in the server URL: https://docs.example.com/mcp?token=….

  • Members-only sites never serve an MCP server.

Every tool call is counted in Insights, including searches that found nothing.

The MCP server is part of the Business plan.

Was this helpful?

Last updated

View as Markdown