原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Octri CLI

作者:octridev版本 1.0.6i★ –i在你的电脑上运行
注册名称dev.octri/cli

安装

概览

作者提供的说明(英文原文)

Push OpenAPI specs, build SDKs in ten languages, publish API docs, and triage production SDK errors.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:OCTRI_API_KEY, HTTPS_PROXY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: OCTRI_API_KEY, OCTRI_PROJECT_ID, OCTRI_PROFILE, HTTPS_PROXY, NO_PROXY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/cli",
        "mcp",
        "serve"
      ],
      "env": {
        "OCTRI_API_KEY": "your-value",
        "OCTRI_PROJECT_ID": "your-value",
        "OCTRI_PROFILE": "your-value",
        "HTTPS_PROXY": "your-value",
        "NO_PROXY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add cli --env OCTRI_API_KEY=your-value --env OCTRI_PROJECT_ID=your-value --env OCTRI_PROFILE=your-value --env HTTPS_PROXY=your-value --env NO_PROXY=your-value -- npx -y @octri/cli mcp serve

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/cli",
        "mcp",
        "serve"
      ],
      "env": {
        "OCTRI_API_KEY": "your-value",
        "OCTRI_PROJECT_ID": "your-value",
        "OCTRI_PROFILE": "your-value",
        "HTTPS_PROXY": "your-value",
        "NO_PROXY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@octri/cli",
        "mcp",
        "serve"
      ],
      "env": {
        "OCTRI_API_KEY": "your-value",
        "OCTRI_PROJECT_ID": "your-value",
        "OCTRI_PROFILE": "your-value",
        "HTTPS_PROXY": "your-value",
        "NO_PROXY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • OCTRI_API_KEY 机密 env
    Octri API key. Not needed if you have signed in with `octri auth login`.
  • OCTRI_PROJECT_ID env
    Project to use when a tool call names none. Defaults to the CLI's selected project.
  • OCTRI_PROFILE env
    Stored CLI profile to use instead of the current one.
  • HTTPS_PROXY 机密 env
    Proxy 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_PROXY env
    Comma-separated hosts that skip HTTPS_PROXY.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 octri.dev 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32415 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32415 个服务器的 61% 更新
  • 基础检查结果等于或优于此分类中其他 32415 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Octri CLI 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:OCTRI_API_KEY, HTTPS_PROXY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.6)于25天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Safe Fetch

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Safe Fetch

作者:Sanoy24

MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@octri/cli

octri is the command line for your Octri project. It does what the dashboard does: push a spec, build SDKs, publish docs, and work through the errors those SDKs report from production.

Octri takes an OpenAPI spec and gives you a documentation site, client libraries in ten languages, an MCP server, and monitoring for the API behind all of it. See octri.dev.

Node 20 or newer.

Install

npm install -g @octri/cli

octri --help

Start here

octri auth login

octri projects use octri specs push ./openapi.yaml

auth login prompts for your email and password, and for your authenticator code if you have two-factor on. projects use with no argument opens a picker.

specs push waits for the pipeline, not the upload. Your spec parses in about a second, then the doc pages, search index and changelog get written behind it. The spinner names the stage it is on.

Build an SDK

octri sdk audit                            # what is costing you, scored

octri sdk build --lang go,typescript --download

In a terminal, sdk build draws a lane per language and repaints it through generating, verifying, packaging, installing, ready. Piped or under CI it prints append-only lines instead, and exits non-zero if any language fails, so it works as a build step with no extra flags.

sdk audit scores the spec and marks which findings the generator can fix on its own. octri sdk audit apply writes one in.

For a look at real generator output without spending a build:

octri sdk preview --lang go

octri sdk preview --lang go --show client.go

Publish docs

octri docs versions publish <specId>

octri docs versions label "Stable" octri docs domain set docs.example.com

docs domain prints the CNAME and TXT records to create, then docs domain verify checks them.

The site's structure is drafted like it is in the API Studio. Redirects, the home page and draft endpoints wait for a publish; nav buttons apply on save:

octri docs redirects add /old-guide /guides/install

octri docs home set octri docs nav publish

octri docs endpoints add POST /refunds --summary "Refund a payment" octri docs endpoints publish

octri docs components push ./components/Banner.jsx octri docs buttons add "Sign up" https://app.example.com --style primary

A component file holds the markup alone: one root element, HTML attribute names (class, not className), and props written as {name}.

The sidebar itself round-trips through a file, and is drafted like the rest:

octri docs nav --json > nav.json

octri docs nav set nav.json octri docs nav publish

Appearance, SEO, social links, page feedback, the API playground and custom code have no draft: each set is live when it returns. Keys are spelled as in the API, @file reads a value from a file, and an empty value clears a link:

octri docs theme set primaryColor=#ff6a00 colorScheme=dark codeTheme=nord

octri docs seo set metaDescription="Payments API reference" indexable=true octri docs socials set github=https://github.com/acme x= octri docs feedback on octri docs playground set enabled=true allowedOrigins=https://acme.com octri docs custom-code set css=@docs.css enabled=true

In Git Bash on Windows, a lone argument starting with / is rewritten into a Windows path before the CLI sees it. Set MSYS_NO_PATHCONV=1, or use PowerShell, for commands that take docs paths.

Monitoring

Reads and triage run on your session, so they need nothing but a login:

octri monitoring summary

octri monitoring issues --status unresolved octri monitoring issue octri monitoring resolve

monitoring issue prints the stack and marks which frames resolved against uploaded source maps. When none of them did, the release those errors came from has no symbols, and the CLI says so.

The two upload commands work differently. They talk to the monitoring service directly with an ingest token, because a CI job has one secret and no way to log in:

# CI

octri monitoring sourcemaps upload ./dist \ --url "$MONITORING_URL" --token "$MONITORING_TOKEN" \ --environment "$MONITORING_ENVIRONMENT" --release "$GIT_SHA"

your own machine, already signed in

octri monitoring sourcemaps upload ./dist

Run octri monitoring config for the three values to store as CI secrets. The release you upload under has to equal the release your SDK reports at runtime, or the service has nothing to pair a trace with.

Commands

GroupWhat
authlogin · logout · whoami · token · profiles
configlist · set · use · path
projectslist · show · create · use · current
specslist · push · import · status · delete · `convert [import\report]`
sdklanguages · operations · `settings get\set · validate · audit [apply\ignore\source] · quickstart [set\unset] · preview · build · builds · watch · artifacts · download · retry · publish · repos · stats`
docs`pages [generate\regenerate\publish\title] · show · guides · nav · redirects · home · buttons · components · endpoints · versions · domain · changelog`
monitoringstatus · enable · summary · issues · issue · `resolve\ignore\reopen\comment · logs · traces · performance · releases · alerts · checks · sourcemaps upload · sources upload · config`
orgslist · show · switch · usage · billing · invoices · members · invites
keyslist · create · revoke
githubstatus · connect · sync · auto-sync · `docs [pull\sync]`
webhookslist · events · create · update · test · deliveries · delete
jobslist · show
mcptools · permissions [set] · usage · calls · `package [download\publish] · serve`

Run octri --help for one group on its own.

Global flags: --project , --profile , --api-url , --json, --quiet, --plain, --no-color.

Output

ModeWhenWhat you get
InteractiveA terminalColour, spinners, live build lanes, tables
PlainPiped, or CI is setAppend-only lines, no escape sequences
--jsonYou ask for itOne JSON document on stdout, errors on stderr

--json is the one to script against:

octri sdk builds --json | jq '.[0].status'

octri monitoring issues --status unresolved --json | jq 'length'

NO_COLOR and FORCE_COLOR are both honoured.

Configuration

State lives in ~/.octri/config.json, mode 0600, since it holds session tokens. OCTRI_CONFIG_DIR moves it.

Profiles keep environments side by side:

octri config use prod --api-url api.octri.dev

octri config set defaultLanguages go,rust,swift

Every value resolves flag first, then environment, then the stored profile.

VariableEffect
OCTRI_PROFILEProfile to use
OCTRI_API_URLAPI root (local is shorthand for :3001)
OCTRI_TOKENBearer token, bypassing the stored session
OCTRI_API_KEYAPI key for the public routes
OCTRI_PROJECT_IDDefault project
OCTRI_CONFIG_DIRWhere config and the artifact cache live
OCTRI_DEBUGPrint stack traces on failure
Behind a proxy

The CLI and octri mcp serve read the standard proxy variables, in upper or lower case, with no extra Node flag. https:// requests use HTTPS_PROXY, or HTTP_PROXY when that is the only one set. Hosts listed in NO_PROXY, and their subdomains, connect directly; * turns the proxy off.

export HTTPS_PROXY=http://user:password@proxy.internal:3128

export NO_PROXY=localhost,127.0.0.1,corp.example octri specs push ./openapi.yaml

If the proxy inspects TLS with its own certificate authority, point Node at that CA with NODE_EXTRA_CA_CERTS=/path/to/ca.pem.

MCP clients usually start servers with a minimal environment, so set these in the server's env block rather than relying on your shell.

MCP server

octri mcp serve

This speaks MCP over stdio and offers the same commands as typed tools. An assistant can push a spec, wait for the build, read the generated Go, and then read the production error that build caused.

To add it to Cursor or VS Code in one click, through npx so no global install is needed:

The server uses the profile from octri auth login, so sign in first, or set OCTRI_API_KEY in its environment. An API key reaches the public routes only: the docs, webhook and MCP-management tools need the signed-in profile. Listed in the official MCP Registry as dev.octri/cli.

// Claude Desktop / Cursor

{ "mcpServers": { "octri": { "command": "octri", "args": ["mcp", "serve"] } } }

Credentials come from your stored profile and the assistant never sees them. Reads are open. The operations you cannot take back are refused unless you start the server with the flag for them:

octri mcp serve --allow-publish   # publishing SDKs, your MCP package, or the drafted docs nav

octri mcp serve --allow-delete # deleting specs, components or webhooks

Tool failures come back as tool results rather than protocol errors, so an assistant can read the message and correct itself.

Notes

  • Build progress is polled, not streamed. The /ws/sdk socket authenticates from a header or cookie, which Node's built-in WebSocket cannot set, and a WebSocket dependency would buy about a second of latency on a build that takes minutes.
  • Artifact archives are extracted by hand-rolled tar and zip readers, so neither binary needs to be installed. Both refuse entries that would write outside the destination directory.
  • @modelcontextprotocol/sdk is the only runtime dependency. Colour, spinners, progress bars, tables and prompts are all local.

The rest of Octri

ProductWhat it does
API StudioYour OpenAPI spec becomes a hosted documentation site with a live request playground, editable page by page.
SDK StudioThe same spec becomes client libraries for ten languages, versioned and released together.
MCPYour endpoints and docs become tools an AI assistant can call, generated from the same spec.
MonitoringErrors, traces, uptime and releases for the API, joined to the SDK calls that reached it.
Monitoring runtimes

Node · Python · Go · Ruby · Rust · PHP · Java · Kotlin · Swift · Dart

Documentation · Pricing · Changelog

MIT licensed.

问 PopNx