Octri API Docs
MCP server by octridev Verified · octri.dev
Octri API Docs is an MCP server that lets an AI assistant search an Octri project's API docs, call its endpoints and pull SDK code snippets. It is for developers and teams that publish their API docs with Octri.
Install Octri API Docs
Built from the published package, never by AI.
claude mcp add octri-api-docs -e OCTRI_PROJECT_ID=YOUR_OCTRI_PROJECT_ID -- npx -y @octri/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"octri-api-docs": {
"env": {
"OCTRI_PROJECT_ID": "YOUR_OCTRI_PROJECT_ID"
},
"args": [
"-y",
"@octri/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"octri-api-docs": {
"env": {
"OCTRI_PROJECT_ID": "YOUR_OCTRI_PROJECT_ID"
},
"args": [
"-y",
"@octri/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"octri-api-docs": {
"env": {
"OCTRI_PROJECT_ID": "YOUR_OCTRI_PROJECT_ID"
},
"args": [
"-y",
"@octri/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add octri-api-docs --env OCTRI_PROJECT_ID=YOUR_OCTRI_PROJECT_ID -- npx -y @octri/mcp{
"mcpServers": {
"octri-api-docs": {
"env": {
"OCTRI_PROJECT_ID": "YOUR_OCTRI_PROJECT_ID"
},
"args": [
"-y",
"@octri/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add octri-api-docs npx -y @octri/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the octri-api-docs block.
About
Octri API Docs is an MCP server that turns an Octri project's API documentation into tools an AI assistant can call. It is built from the same OpenAPI spec that the project's docs use. An assistant can search endpoints, open guides, list SDKs, get SDK code snippets in supported languages, and check the changelog for breaking changes. Operation tools can also call the real API.
The server runs over stdio for a local client, or over Streamable HTTP when hosted. It works with Claude Desktop, Cursor and VS Code and needs a project ID. The project owner decides which operation tools run on their own, ask first, or stay off. Practice mode returns fake data built from the docs. It suits developers and teams who publish API docs with Octri and want AI assistants to use them.
Written from the project's README and checked against it.
Tools it gives your assistant
search_docsSearch the API documentation for an endpoint or concept.get_endpointGet full documentation for a specific API endpoint.list_endpointsList all available API endpoints, optionally filtered by section.get_changelogGet recent API changes and breaking changes.list_sdksList the available SDK client libraries, with languages, versions and download links.get_guideGet the full content of a written guide by its slug.get_sdk_methodsGet ready-to-use SDK code snippets for each endpoint in every supported language.
What you need
- Node.js 20 or newer
- An Octri project ID
- API credentials for operation tools that call the real API
- Docker, only if you host the server remotely
| Setting | Needed | What it is |
|---|---|---|
OCTRI_Environment variable | Required | The Octri project whose docs and endpoints this server exposes. |
OCTRI_Environment variable | Optional | Base URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio. |
OCTRI_Environment variable, secret | Optional | Bearer or OAuth2 token for the documented API, not for Octri. |
OCTRI_Environment variable, secret | Optional | API key for the documented API, not for Octri. Sent in the OCTRI_API_KEY_HEADER header. |
OCTRI_Environment variable | Optional | Header that carries OCTRI_API_KEY. Default: X-API-Key |
OCTRI_Environment variable | Optional | Basic-auth username for the documented API. |
OCTRI_Environment variable, secret | Optional | Basic-auth password for the documented API. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search my API docs for the endpoint that creates an invoice.
- Show me the Python SDK snippet for listing customers.
- What breaking changes landed in the API changelog recently?
Good to know
- Operation tools call your real API, and calls that are not reads ask first by default.
- Hosted Octri self-hosting is not available.
- Usage reporting is on by default. Set OCTRI_TELEMETRY=0 to turn it off.
- Remote HTTP hosting refuses to start without MCP_AUTH_TOKEN when bound beyond loopback.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Octri API Docs
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Octri API Docs: common questions
Does it send my API arguments to Octri?
No. Usage reporting sends the tool name, outcome, duration, tool group and client name. Arguments and responses are never sent.
Can it change data in my API?
Operation tools can call the real API. The project owner sets each tool to run on its own, ask first or off, and non-read calls ask first by default.
Can I try it without API credentials?
Yes, if the project owner turns on practice mode. It answers calls with fake data built from the API documentation, and nothing is sent.
How do I install Octri API Docs?
In Claude Code run claude mcp add octri-api-docs -e OCTRI_PROJECT_ID=YOUR_OCTRI_PROJECT_ID -- npx -y @octri/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Octri API Docs the official server?
Octri API Docs is published by octri.dev from its verified domain in the official MCP Registry.
Is Octri API Docs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Octri API Docs safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Octri API Docs?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Octri API Docs work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
