Octri CLI
Push OpenAPI specs, build SDKs, publish docs and triage SDK errors from an agent
- Pricing
- Freemium
- Platforms
- CLI, API, Web
- Runs
- Locally
- Version
- 1.0.6
- Listing updated
- 2 days ago
About Octri CLI
Octri CLI is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
This server exposes the Octri command line over stdio, so an agent can run the same steps as the dashboard. The README walks through pushing a spec (the call waits for the whole pipeline, not just upload), auditing and building SDKs, publishing docs versions, managing redirects, navigation and custom components, and reading monitoring issues with source-map resolution.
Octri itself turns an OpenAPI, Swagger, Postman or AsyncAPI file into a documentation site, SDKs in ten languages (TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, Swift, Dart, Rust), an MCP server and monitoring. SDK builds show progress per language and exit non-zero on failure in CI.
The npm package needs Node 20 or newer and can authenticate with OCTRI_API_KEY or a prior octri auth login. Optional variables select the project, profile and an HTTPS proxy. The Free plan caps 1 project, 1 SDK language, 50 endpoints and 100 MB of monitoring a month.
Install
Run in a terminal
claude mcp add cli --env OCTRI_API_KEY='<OCTRI_API_KEY>' --env HTTPS_PROXY='<HTTPS_PROXY>' -- npx -y @octri/cliAdd to claude_desktop_config.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@octri/cli"
],
"env": {
"OCTRI_API_KEY": "<OCTRI_API_KEY>",
"HTTPS_PROXY": "<HTTPS_PROXY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@octri/cli"
],
"env": {
"OCTRI_API_KEY": "<OCTRI_API_KEY>",
"HTTPS_PROXY": "<HTTPS_PROXY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@octri/cli"
],
"env": {
"OCTRI_API_KEY": "<OCTRI_API_KEY>",
"HTTPS_PROXY": "<HTTPS_PROXY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@octri/cli"
],
"env": {
"OCTRI_API_KEY": "<OCTRI_API_KEY>",
"HTTPS_PROXY": "<HTTPS_PROXY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@octri/cli"
],
"env": {
"OCTRI_API_KEY": "<OCTRI_API_KEY>",
"HTTPS_PROXY": "<HTTPS_PROXY>"
}
}
}
}Configuration
OCTRI_API_KEYOctri API key. Not needed if you have signed in with `octri auth login`.OCTRI_PROJECT_IDProject to use when a tool call names none. Defaults to the CLI's selected project.OCTRI_PROFILEStored CLI profile to use instead of the current one.HTTPS_PROXYProxy for requests to Octri, e.g. http://proxy.internal:3128. Needed behind a corporate proxy, since MCP clients rarely pass your shell's environment through.NO_PROXYComma-separated hosts that skip HTTPS_PROXY.
What it does
- Spec push
- Uploads a spec and waits for docs, search index and changelog to be written.
- SDK build and audit
- Builds SDKs per language and scores the spec for generator-fixable issues.
- Docs publishing
- Publishes versions, custom domains, redirects, navigation and components.
- Monitoring triage
- Lists unresolved issues and resolves them, with source-map frame resolution.
- Proxy and profile support
- Environment variables select the project, stored profile and an HTTPS proxy.
Good for
- Push an updated OpenAPI file and publish the docs
- Generate Go and TypeScript SDKs in a CI step
- Find which release is missing source maps
- Triage production SDK errors from an assistant
Pricing
Freemium, from $49 a month
Free plan; Starter $49/mo, Growth $79/mo, Business $249/mo
Prices change. Check octri.dev before you buy.
Octri CLI FAQ
How does it authenticate?
With OCTRI_API_KEY, or the session from octri auth login.
What are the plan prices?
Free is $0; Starter $49, Growth $79 and Business $249 per month; Enterprise is custom.
Which SDK languages are supported?
TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, Swift, Dart and Rust.
What does Free cap?
1 project, 1 SDK language, 50 endpoints and 100 MB of monitoring a month.
Is Octri CLI free?
Octri CLI has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.
How do I add Octri CLI to Claude Code?
Run this command in your terminal: claude mcp add cli --env OCTRI_API_KEY='<OCTRI_API_KEY>' --env HTTPS_PROXY='<HTTPS_PROXY>' -- npx -y @octri/cli
What are the best alternatives to Octri CLI?
The closest alternatives to Octri CLI are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Octri CLI

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools