← Back to Blog

2026-09-225 min read • Build

How to Make Your Documentation Searchable by AI Agents

How to index a documentation URL in MCP Studio and test search against a page you named before you asked.

Search is working when you can name the page in advance. "If I ask how to rotate a webhook signing key, the citation should be /docs/webhooks/rotate-keys." Anything vaguer than that is a demo, not a test.

Making the documentation searchable means indexing that URL and exposing documentation search as a tool. Connecting Claude or Cursor to the finished server is Let AI agents search your documentation. Choosing the URL, and judging the citation, is this post.

What you are indexing

You are indexing the docs, not the whole company site. A marketing homepage mixed with the reference makes the test noisy. The root of a focused docs site is the right source. A site larger than you want to judge can start at one section. A website source is indexed up to 5,000 pages, which is in Create an MCP server.

The endpoint exists before indexing finishes. Judge search after the source shows complete. What a docs server is for is What is a docs MCP server?.

Why name the page first

You need a pass you cannot talk yourself into. The path includes rotate-keys, or it does not.

A login wall is not a search problem. Pages behind a login are not in a public crawl. Export them, or connect a source the indexer is allowed to read, and keep internal material on a private server.

A PDF linked from the site is not automatically in the index. Add the file if the answer lives only there.

Make the server in MCP Studio

MCP Studio is the no-code builder on Appa Tools. Open the wizard. You do not write any code.

  1. Write the expected path down. /docs/webhooks/rotate-keys for the signing-key question.
  2. Add that docs URL. Prefer /docs over the homepage.
  3. Select documentation search. Add question answering if you also want a direct reply.
  4. Deploy and wait until the source shows complete.

The MCP Studio wizard, showing a source added and ready to deploy

https://appatools.com/mcp-studio/api/mcp/your-server-name

Check that it works

Ask the question in the words a developer would use, not the slug.

How do I rotate a webhook signing key?

The citation path should include rotate-keys. Open the page.

Then ask something the site does not document.

You: How do I rotate the office wifi password from the API?

Assistant: Nothing in this server's content covers an office wifi password. The closest material is webhook key rotation, which is a different subject. You would need to add that document as a source.

A nearby article is not a pass. Repeated misses of that kind, from real traffic, are documentation gaps.

If the reply is not what you expected

If search cites the security overview, the rotation page's heading does not use those words. Rename it, refresh the source, and ask again. That edit is Make your documentation AI-ready.

If a new page never appears, the source has not been refreshed since it shipped. The agent is searching the previous copy.

If you also publish a markdown twin of each HTML page, test the HTML URL. That is the page a reader can open. The citation should send them there.

Index your docs for search today

Index your docs for search today. Open MCP Studio, add the docs URL, turn on search, and deploy. Ask the signing-key question. Keep the server when the citation is the page you named.

Where to go next