2026-09-22 • 5 min read • Build
How to Build an MCP for Technical Documentation
How to add a spec or runbook in MCP Studio and test it against one number or error code the document states.
Technical documentation fails in a specific way when an agent paraphrases it.
"Retry for a bit, then time out" is not the spec. The spec says the client
should retry for 10 seconds and then surface capture_timeout. If that
sentence is what you need back, the server has to be able to cite it.
What you are putting on the server
The spec, the runbook, or the API guide you want quoted. MCP Studio indexes the URL or the upload and returns passages. Search is the tool. API reference lookup belongs on an API spec. Code example lookup belongs when the doc includes samples you want retrieved as code.
A developer portal is the public version of this, in Build an MCP for your developer documentation. An internal runbook follows Build an MCP for your internal knowledge base and stays private.
Why one number is the test
A paraphrase hides a miss. Ten seconds and capture_timeout are checkable.
"A short retry" is not.
Two versions of the spec will both look official. Leave the draft that contradicts the current spec off the server. The agent can cite either, and you will not know which until someone acts on it.
A superseded decision should not sit beside the one that replaced it. Architecture decision records are a reasonable source when the decision is the answer you want repeated. The old record comes out of the index.
Make the server in MCP Studio
Highlight the timeout and the error code before you open the app. MCP Studio is the no-code builder on Appa Tools. Open the wizard. You do not write any code.
- Name it for the system.
Billing runbookstells you what a connection is for. - Add the current spec. A URL, or an upload if the spec is a file.
- Select search. Add API reference lookup when the document is an API spec. The tool guide is the list.
- Deploy and wait until indexing finishes.

https://appatools.com/mcp-studio/api/mcp/your-server-name
Check that it works
Ask: "What is the timeout on the capture request, and which error do we surface?"
Both the 10 seconds and capture_timeout should appear, with a citation to
the spec. Open the sentence.
Then ask for a timeout the spec does not define.
You: What is the timeout on the office badge reader?
Assistant: Nothing in this server's content covers an office badge reader. The closest material is the capture timeout, which is a different subject. You would need to add that document as a source.
A fixed list of those questions is how you measure whether the right section still comes back: Measure MCP retrieval quality.
If the reply is not what you expected
A runbook that is only screenshots will not match the question. Write the steps in text beside the images. Headings that carry the number are Make your documentation AI-ready.
An old PDF next to the wiki should be disconnected if the wiki is current. Disconnecting deletes the indexed copy of that file.
Two systems on one server let a billing question cite the auth runbook as if it were the same procedure. Split by system.
If a blog post mentions the same API and keeps winning, prefer the spec with a retrieval rule. A rule points at a source. It does not correct a sentence the spec got wrong. Editing the sentence is Fix an MCP server returning the wrong information.
When the spec changes, refresh the source and ask the same question.
Put your spec on a server today
Put your spec on a server today.
Open MCP Studio, add the current spec, and deploy. Ask for the capture
timeout. Keep the server when the reply cites 10 seconds and
capture_timeout.