Set Up Published Docs MCP Server

Documentation index for AI tools: /llms.txt

Enabling the Published Docs MCP Server lets your readers connect their own AI agents to your documentation. This topic covers the portal settings involved and how to verify that the server responds.


Enable the Server

  1. Go to Settings → AI integrations → Published Docs MCP server.
  2. Select the Allow Published Docs MCP Server connections for this portal checkbox.Published Docs MCP server settings

Once the server is on, its endpoint URL is available to readers in the Connect with MCP block in the Reader UI, together with ready-to-run connection commands.

At least one publication must be public or restricted. The Published Docs MCP Server does not serve unpublished projects.

Show or Hide the Connect with MCP Block

By default, readers see a Connect with MCP block in the Copy page menu on every page of your documentation. The block gives them the endpoint URL and a quick-connect button for the most common agents.

The Connect with MCP block.

To make the block visible:

  1. Go to portal settings, Reader interface.
  2. Make sure the Next Reader UI template is selected.
  3. In the Topic Viewer section, select Show the 'Connect with MCP' options.
Hiding the block does not disable the server. Agents that already have the endpoint URL keep working. To stop serving content over MCP, clear the checkbox in AI integrations → MCP server.

For the other settings on this page, see Reader Interface Settings.

Check That It Works

Connect an agent the way your readers would, and confirm that it answers from your content.

  1. Open any page of your documentation as either an anonymous visitor in a public publication or an authenticated Power Reader with access to a restricted publication. 
  2. Click Copy page, then use the Connect with MCP block to copy the MCP server URL or a connection command for an agent you have available.
  3. Add the MCP server to your AI agent either by using the endpoint URL or running the command at the command line.
  4. Ask the agent a question that can only be answered from your documentation, and check the answer against the source topic.

If the agent cannot reach the server, confirm that the checkbox in AI integrations is selected and that you have access to the publication you are testing against.

Next Step

Enabling the server makes it available, but your readers still have to find out that it exists. See Tell Your Readers About Published Docs MCP Server.