Provenance MCP · Concept
Docs MCP
The docs MCP is a public Model Context Protocol server over these docs, at https://provenanceauth.com/docs/mcp. Anyone reading the docs from an AI client can search them, read a page and get tested code, with no sign-in and no key. Every page is also Markdown at its URL plus .md, for pasting into an assistant or fetching from an agent.
When to use it
- Connect Claude Code, Cursor or VS Code to the docs, so the coding agent looks up the right page while it writes your integration.
- Paste a guide into an AI assistant while you build an integration.
- Index the docs for your own retrieval or search tool.
How it works
- Copy for LLM. The button beside each page title copies the page's Markdown to your clipboard.
- View as Markdown. The link beside it opens the same Markdown, at the page's URL plus
.md. - Docs MCP server.
https://provenanceauth.com/docs/mcpis a Model Context Protocol server over the same Markdown. An AI tool searches the docs, reads a page and lists the sections, finds an API operation and its schema, explains an error code, and gets tested code and a step plan for its stack, with no API key. - llms.txt.
/llms.txtlists every page's.mdURL, and/llms-full.txtholds every page's Markdown in one file. Both are published at public launch.
Fetch a page
Add .md to any docs URL. The response is text/markdown.
curl https://provenanceauth.com/docs/get-started/choose-your-path.md
const res = await fetch("https://provenanceauth.com/docs/get-started/choose-your-path.md");
const markdown = await res.text();
import urllib.request
markdown = urllib.request.urlopen("https://provenanceauth.com/docs/get-started/choose-your-path.md").read().decode()
| Page | Markdown URL |
|---|---|
| Choose your path | / |
| Intent tokens API | / |
| Docs home | / |
Connect the docs MCP server
The server URL is https://provenanceauth.com/docs/mcp. It speaks Streamable HTTP, needs no sign-in and only reads the public docs.
Claude and ChatGPT
Add a custom connector named Provenance docs with the URL https://provenanceauth.com/docs/mcp. It asks for no sign-in.
Claude Code
claude mcp add --transport http provenance-docs https://provenanceauth.com/docs/mcp
Cursor
Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:
{
"mcpServers": {
"provenance-docs": {
"url": "https://provenanceauth.com/docs/mcp"
}
}
}
VS Code
Add the server to .vscode/mcp.json in your workspace:
{
"servers": {
"provenance-docs": {
"type": "http",
"url": "https://provenanceauth.com/docs/mcp"
}
}
}
Any other MCP client that supports remote servers connects with the same URL.
Tools
| Tool | Input | Returns |
|---|---|---|
docs_ | Optionally query, url, section and limit (1 to 20, default 5) | With query: the best-matching passages, each with its title, URL, . URL, section and text. With a result's url: that page's Markdown, the same as its . URL. With neither: every docs section and its pages. |
api_ | query (words or a path such as POST /), and optionally product and limit | The matching operations of the public API, each with its method, path, summary, product and reference URL. |
api_ | operation_, or method and path, and optionally sdk (node, python or curl) | One operation's parameters, request and response fields, errors, an example request in curl and your SDK, and its reference URL. |
explain_ | code, or body: a pasted error response | What an error code or reason code means, how to fix it and its docs URL. |
generate_ | task and stack (node, next, python, fastapi, django, go or curl) | The tested code from these docs for that task: files with paths, packages, environment variables and the next step. |
plan_ | goal and stack | The ordered steps for a goal, each with the code task to fetch, the operations it calls and the sandbox check that proves it. |
validate_ | files (or code) and language | Findings in code your AI wrote, checked against the public API: the line, the rule, the fix (the rules). Up to 30 checks a minute per IP. |
The server covers the docs pages, the API reference and the SDK reference. api_search and api_get_operation cover only the public API; generate_code returns only examples these docs publish and test, and lists the supported tasks and stacks when you ask for one it doesn't have. Each client IP can make 60 requests a minute; over that, the server answers 429 with a Retry-After header.
What the Markdown contains
| Part | In the Markdown |
|---|---|
| Title and summary | The page's H1, then its one-sentence description. |
| Code | Every code block, fenced with its language. Each curl, Node and Python tab is included in order, under its label. |
| Tables and callouts | Tables are GitHub-flavored Markdown. A callout is a blockquote that starts with a bold label, such as Note:. |
| Links | Absolute. A link to another docs page points at that page's . URL. |
| API reference pages | Each endpoint's method and path, authentication, parameters, return value, errors, request examples and response example. |
Related
- Choose your path: pick the quickstart for your job.
- Provenance MCP: the signed-in server, with tools for people, developers and agents.
- Developer tools: the docs tools plus sandbox keys and integration checks, in one connection.
- API reference: every endpoint, also as Markdown.
- SDKs: typed clients for Node and Python.