How to create API Documentation Generator using MCP
Generate OpenAPI-style docs from code or spec. This guide creates the API Documentation Generator prompt from Arthur's template catalog, sets up a blank MCP server, and links the prompt so any connected AI client can use it.
Steps
Go to Prompt Templates and search for API Documentation Generator.


Click Use template on the API Documentation Generator card and review the prefilled name, description, and content preview.


Click Create prompt — the prompt is added to your shared library.

Go to New server, choose Blank / Static as the source, and click Next.





Name the server (for example, API Documentation Generator Server) and click Create server.

On the server's Prompts tab, click Add prompt, search for API Documentation Generator, and click Add.



Open the server's Connect section and click Share the MCP swagger documentation — Arthur generates the public documentation link and QR code for this server.



Confirm it worked
The API Documentation Generator prompt appears on the server's Prompts tab, and the Connect section offers the server's MCP swagger documentation — a shareable page with setup instructions for any AI client. A connected client can now fetch the prompt through this server.
Good to know
- Produces structured API documentation with endpoints, parameters, request/response examples.
- Arguments detected from the template:
{{language}},{{code}}— callers fill these in when invoking the prompt. - Editing the prompt in the shared library updates it on every server where it's linked.
Related
Tutorial video