CodeVF MCP

官方

CodeVF MCP 让 AI 能立即将问题转交给真实工程师,从而在模型遇到瓶颈时,您的工作流不会停滞。

你可以用 CodeVF MCP 做什么?

  • 设置 MCP 集成 — 运行 npx codevf setup 通过 OAuth 进行身份验证并自动配置你的 AI 编码客户端。
  • 通过 stdio 启动 MCP 服务器 — 启动 codevf mcp stdio 用于通过标准输入/输出连接的基于命令的客户端。
  • 通过 HTTP 启动 MCP 服务器 — 运行 codevf mcp http --port 3333 通过 HTTP/SSE 为远程或基于 Web 的客户端暴露服务器。
  • 覆盖后端 URL — 在设置时传递 --base-url 或设置 CODEVF_API_URL 以将 CLI 指向自定义后端。

文档

CodeVF CLI

将 Claude Code、Codex 或 Gemini 连接到真人工程师。

安装

npx codevf

快速入门(Claude Code)

  1. npx codevf setup
  2. 在 Claude Code 中,输入 claude
  3. 开箱即用

在 Claude Code 中使用 /cvf 来强制启用 CodeVF。

快速入门(Codex)

  1. npx codevf setup
  2. 在 Codex 中,输入 codex
  3. 开箱即用

在 Codex 中使用 /mcp 来确认 CodeVF 已连接。

快速入门(Gemini)

  1. npx codevf setup
  2. 在 Gemini 中,重启客户端
  3. 开箱即用

命令

npx codevf setup

配置与 Claude Code、Codex 和 Gemini 的 MCP 服务器集成:

  • 使用 OAuth 通过 CodeVF 进行身份验证
  • 自动配置 Claude Code 的 ~/.claude.json 文件
  • 为 CodeVF 创建 Claude Code 斜杠命令
  • 选择默认项目作为上下文

在设置过程中覆盖后端 URL:

npx codevf setup --base-url http://localhost:3000

你也可以设置 CODEVF_API_URL 来达到同样的效果。

codevf mcp stdio

为非 Claude 客户端启动 MCP 服务器:

  • codevf mcp stdio - 通过 stdio 启动 MCP(基于命令/参数的客户端)

codevf mcp http --port 3333

通过 HTTP/SSE 为非 Claude 客户端启动 MCP 服务器:

  • codevf mcp http --port 3333 - 通过 HTTP/SSE 启动 MCP(显示端点)

要求

支持

许可证

商业许可证 — 请参阅 LICENSE