Developers
Docs MCP server
Search and read the Pinter documentation from Claude, Cursor, or any MCP client.
The documentation site exposes a read-only Model Context Protocol server so AI tools can search and read these docs directly.
https://<docs-host>/mcp
The server uses the Streamable HTTP transport in stateless mode (JSON responses, no session). No authentication is required because the docs are read-only.
Connect a client
Claude Code
claude mcp add --transport http pinter-docs https://<docs-host>/mcpCursor
{
"mcpServers": {
"pinter-docs": { "url": "https://<docs-host>/mcp" }
}
}Tools
| Tool | Arguments | Description |
|---|---|---|
search_docs | query, limit?, type?, lang? | Full-text search across guides and API endpoints. type is page or endpoint. |
get_page | path, lang? | Returns a page as Markdown, for example concepts/chat. |
list_pages | section?, lang? | Lists pages grouped by section. |
get_endpoint | method?, path?, operation_id?, query?, lang? | Returns parameters, request body, responses, and a curl example for a backend endpoint. |
lang is en (default) or id for the Indonesian docs. Pages without a translation fall back to English.
Source citations
The server instructs the client’s AI agent to cite its sources:
- The server
instructions, every tool description, and a built-inanswer_with_docs_citationsprompt state a mandatory citation policy: answer only from returned content and end with a “Sources” section of Markdown links. - Every
search_docs,get_page, andget_endpointresult ends with aSOURCESblock of exact page URLs to cite, includesresource_linkitems, and returns the same list instructuredContent.sources. - When nothing matches, the tool tells the agent to say the docs do not cover the question instead of answering from memory.
A server cannot technically force a model to comply, but these signals are repeated in every response so compliant clients and models include the links.
Other machine-readable formats
/llms.txt: index of every page and endpoint./llms-full.txt: the full text of all guides.- Append
.mdto any page URL, for example/concepts/chat.md, to get its Markdown source. - The Copy page button on each page copies the same Markdown.