@biznetgio/neo-app

中文文档
0.4.75发布于 2026/11/06UNLICENSEDES Module近 30 天下载 3987

NEO App CLI — one-command agent onboarding, MCP server, and project ops for coding agents (Codex, Claude Code).

原始使用文档
文档目录6 节
  1. Quick start
  2. Commands
  3. Environment
  4. Authentication
  5. MCP tools
  6. Develop

@biznetgio/neo-app

NEO App CLI — one-command agent onboarding, a local MCP server, and project ops for coding agents (Codex, Claude Code).

Quick start

npx -y @biznetgio/neo-app@latest agent setup
# link a project:
npx -y @biznetgio/neo-app@latest agent setup --project <project-id>

Or from a coding agent:

Fetch https://portal.app.neoapp.id/prompt.md and follow it to set this repo up on NEO App.

Commands

CommandWhat it does
agent setupAuthenticate, install the skill, register the MCP server, optionally link a project, health-check
agent doctorDiagnose CLI, API, auth, agent MCP wiring, skill, credential perms
agent uninstallRemove NEO App MCP entries, skill, (on confirm) credentials
config install-mcp [--agent codex|claude-code]Register the neo-app MCP server with detected agents
loginAuthenticate with a NEO App API key (kap_...)
link <project-id>Link this repo to a project (writes .neo-app.json)
project listList projects in your organization (find ids to link)
status / whoamiShow account, org, environment, linked project
mcpRun the local stdio MCP server (agents launch this)

All mutating commands are idempotent, back up config before editing, and never write a token into agent/MCP configuration.

Environment

The CLI talks to your NEO App control-plane — production by default. Set NEO_APP_URL to point it at a different control-plane (e.g. a local dev server).

Authentication

API key (kap_...) for now. Create one in the portal (Settings → API tokens).

  • Interactive: neo-app login prompts (hidden) and stores the key at ~/.config/neo-app/credentials.json (mode 0600), scoped per control-plane URL.
  • Headless/CI: export NEO_APP_TOKEN=kap_... — read from the environment, never persisted.

The key is kept out of every agent/MCP config file; the MCP server reads it from the credential store (or NEO_APP_TOKEN) at runtime.

MCP tools

neo_whoami, neo_list_projects, neo_get_project, neo_list_services, neo_get_deployment, neo_deploy, neo_get_logs, neo_list_variables, neo_set_variable, neo_scale_service, neo_list_approvals, neo_get_approval.

Read-only tools are annotated readOnlyHint. Production/scaling/etc. operations may return a pending_approval result — that is the org approval policy working, not an error.

Develop

npm install
npm test
node bin/neo-app.js --help

版本与发布记录

@biznetgio/neo-app 共发布 59 个版本,首次发布于 2026/10/12;过去 12 个月发布了 59 个版本。

版本发布日期距今
0.4.75latest2026/11/062 天前
0.4.742026/11/053 天前
0.4.732026/10/2910 天前
0.4.702026/10/2910 天前
0.4.692026/10/2118 天前
0.4.682026/10/2118 天前

关于 @biznetgio/neo-app 的常见问题

@biznetgio/neo-app 是什么?

NEO App CLI — one-command agent onboarding, MCP server, and project ops for coding agents (Codex, Claude Code).

如何安装 @biznetgio/neo-app?

在项目目录运行 npm install @biznetgio/neo-app,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 neo-app,可以用 npx neo-app 直接运行。

@biznetgio/neo-app 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/biznetgio__neo-app 是否存在。

@biznetgio/neo-app 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@biznetgio/neo-app 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@biznetgio/neo-app 可以商用吗?

@biznetgio/neo-app 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@biznetgio/neo-app 的下载量有多少?

根据 npm 官方下载统计,@biznetgio/neo-app 在 2026/10/08 – 2026/11/06 这 30 天内被下载 3,987 次,日均约 133 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@biznetgio/neo-app 还在维护吗?

最新版本 0.4.75 发布于 2026/11/06(2 天前);至今共发布 59 个版本,其中过去 12 个月发布了 59 个;首次发布于 2026/10/12。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。