Qodercli MCP
What it does
MCP server mode for Qoder CLI — delegate coding tasks to local Qoder agents from any MCP client.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "qodercli": { "command": "npx", "args": [ "-y", "qodercli-mcp" ] } } }退出 Claude 再重新打开
试一试
用 Qodercli MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Qodercli MCP,或回答中出现 Qodercli MCP 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
QODERCLI_PATHAbsolute path to the qodercli binary (defaults to `qodercli` on PATH)QODERCLI_DEFAULT_PERMISSION_MODEDefault permission mode when callers omit permission params: dont_ask (default, read-only) | accept_edits | bypass_permissions | auto | defaultHTTP_PROXYHTTP proxy injected into qodercli subprocesses (optional)HTTPS_PROXYHTTPS proxy injected into qodercli subprocesses (optional)
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Qodercli MCP
Qodercli MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Qodercli MCP 的应用
- 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
- 需要先在电脑上安装 Node.js(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user qodercli -- npx -y qodercli-mcp在 Claude Code 中输入 /mcp
应能看到 Qodercli MCP 在列表中并显示已连接
试一试
用 Qodercli MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Qodercli MCP,或回答中出现 Qodercli MCP 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
QODERCLI_PATHAbsolute path to the qodercli binary (defaults to `qodercli` on PATH)QODERCLI_DEFAULT_PERMISSION_MODEDefault permission mode when callers omit permission params: dont_ask (default, read-only) | accept_edits | bypass_permissions | auto | defaultHTTP_PROXYHTTP proxy injected into qodercli subprocesses (optional)HTTPS_PROXYHTTPS proxy injected into qodercli subprocesses (optional)
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Qodercli MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Qodercli MCP,或回答中出现 Qodercli MCP 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
QODERCLI_PATHAbsolute path to the qodercli binary (defaults to `qodercli` on PATH)QODERCLI_DEFAULT_PERMISSION_MODEDefault permission mode when callers omit permission params: dont_ask (default, read-only) | accept_edits | bypass_permissions | auto | defaultHTTP_PROXYHTTP proxy injected into qodercli subprocesses (optional)HTTPS_PROXYHTTPS proxy injected into qodercli subprocesses (optional)
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Qodercli MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Qodercli MCP,或回答中出现 Qodercli MCP 的工具名称,就表示连接成功
4 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
QODERCLI_PATHAbsolute path to the qodercli binary (defaults to `qodercli` on PATH)QODERCLI_DEFAULT_PERMISSION_MODEDefault permission mode when callers omit permission params: dont_ask (default, read-only) | accept_edits | bypass_permissions | auto | defaultHTTP_PROXYHTTP proxy injected into qodercli subprocesses (optional)HTTPS_PROXYHTTPS proxy injected into qodercli subprocesses (optional)
说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user qodercli -- npx -y qodercli-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"qodercli": {
"command": "npx",
"args": [
"-y",
"qodercli-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"qodercli": {
"command": "npx",
"args": [
"-y",
"qodercli-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"qodercli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"qodercli-mcp"
]
}
}
}需要你填写的值
QODERCLI_PATHenvAbsolute path to the qodercli binary (defaults to `qodercli` on PATH)QODERCLI_DEFAULT_PERMISSION_MODEenvDefault permission mode when callers omit permission params: dont_ask (default, read-only) | accept_edits | bypass_permissions | auto | defaultHTTP_PROXYenvHTTP proxy injected into qodercli subprocesses (optional)HTTPS_PROXYenvHTTPS proxy injected into qodercli subprocesses (optional)
说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 cantbeblank96 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于3个月前
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5871 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5871 个服务器的 29% 更新
- 基础检查结果等于或优于此分类中其他 5871 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Qodercli MCP 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于3个月前,最新版本(0.4.3)于3个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
qodercli-mcp
English | 简体中文
The missing MCP server mode for Qoder CLI — delegate coding tasks to local Qoder agents from any MCP client (Qoder IDE, Claude Code, Cursor…).
A minimal MCP server that wraps the local qodercli (Qoder CLI) as MCP tools, letting any MCP client (Qoder IDE, Claude Code, Cursor, …) call Qoder like a sub-agent.
*30s demo: MCP client ⇄ qodercli-mcp ⇄ qodercli — initialize → tools/list → list-models (real output, not sped up)*
Quick start
Zero-config via npx — add this to your MCP client config (~/.qoder/mcp.json, claude_desktop_config.json, …):
{ "mcpServers": { "qodercli-mcp": { "command": "npx", "args": ["-y", "qodercli-mcp"] } } }
Three tools are exposed:
| Tool | Purpose |
|---|---|
ask-qoder | Delegate a task to qodercli |
list-sessions | Discover resumable sessions |
list-models | Runtime model discovery |
Highlights: verified permission semantics (see below — e.g. dont_ask is read-only), codex-style sandbox/approval_policy, structured output (session_id/duration_ms/total_credits).
Full configuration options are in Install.
Why
Some CLI agents ship an official MCP server mode (e.g. codex mcp-server), but qodercli currently only acts as an MCP client. This project fills that gap with a thin wrapper: it spawns qodercli -p under the hood and streams the result back over MCP stdio.
Features
ask-qodertool — delegate a prompt to qodercli- Structured output (
session_id,is_error,duration_ms,total_credits,num_turns) via-o jsonparsing list-sessionstool to discover resumable sessionslist-modelstool for runtime model discovery (no stale model lists)reasoning_effortparameter (--reasoning-effort)- Server
instructionsin the MCP initialize result guide clients on usage - Codex-style
sandboxlevels (read-only/workspace-write/danger-full-access) - System prompt injection (
system_prompt/append_system_prompt) - Working directory, model, permission mode, output format control
- Session resume (
resume_session_id) for multi-turn delegation - Timeout protection with SIGKILL fallback
- Proxy quota support (
HTTP_PROXY/HTTPS_PROXYinjection) - Zero build step — plain ESM JavaScript, Node.js >= 18
Prerequisites
- Node.js >= 18
qodercliinstalled and signed in (qodercli login)
Install
Option A — npx (recommended): no clone needed, the MCP client downloads the package on first use.
"command": "npx", "args": ["-y", "qodercli-mcp"]
Option B — from source (for development):
git clone https://github.com/cantbeblank96/qodercli-mcp.git
cd qodercli-mcp npm install
MCP client configuration
Qoder IDE
Add to ~/.qoder/mcp.json. Prefer the absolute path of node and set QODERCLI_PATH explicitly (nvm-managed binaries are often missing from the PATH seen by MCP child processes):
Proxy Support: To use your Qoder CLI proxy quota, add
HTTP_PROXYand/orHTTPS_PROXYto the server's environment. When these are set at the MCP server level, they will be passed to all qodercli subprocesses.
{
"mcpServers": { "qodercli-mcp": { "command": "npx", "args": ["-y", "qodercli-mcp"], "env": { "QODERCLI_PATH": "/absolute/path/to/qodercli", "PATH": "/usr/local/bin:/usr/bin:/bin" } }, "qodercli-mcp-with-proxy": { "command": "npx", "args": ["-y", "qodercli-mcp"], "env": { "QODERCLI_PATH": "/absolute/path/to/qodercli", "HTTP_PROXY": "http://127.0.0.1:39900", "HTTPS_PROXY": "http://127.0.0.1:39900", "PATH": "/usr/local/bin:/usr/bin:/bin" } } } }
Developers running a local checkout instead of the published package (Option B) should replace command/args with the absolute node path and /path/to/qodercli-mcp/src/index.js (nvm-managed node is often missing from the PATH seen by MCP child processes).
Claude Code / Claude Desktop
{
"mcpServers": { "qodercli-mcp": { "command": "node", "args": ["/absolute/path/to/qodercli-mcp/src/index.js"], "env": { "QODERCLI_PATH": "/absolute/path/to/qodercli" } } } }
Tool: ask-qoder
| Parameter | Type | Description | ||||
|---|---|---|---|---|---|---|
prompt | string (required) | The task or question for qodercli | ||||
cwd | string | Working directory | ||||
model | string | Model for this session; call list-models to discover available names | ||||
reasoning_effort | string | Reasoning effort level (--reasoning-effort), e.g. low/medium/high; depends on the model | ||||
permission_mode | enum | dont_ask (default, read-only) \ | accept_edits (auto-approve file edits) \ | bypass_permissions (full access incl. shell) \ | auto \ | default; mutually exclusive with approval_policy, prefer sandbox |
approval_policy | enum | codex-style: untrusted→read-only \ | on-request→auto \ | never→full access | ||
sandbox | enum | read-only \ | workspace-write \ | danger-full-access (codex-style; controls the effective permission mode) | ||
system_prompt | string | Replace the default system prompt | ||||
append_system_prompt | string | Append instructions to the default system prompt | ||||
resume_session_id | string | Resume a previous session | ||||
output_format | string | Passed to -o (default json). Note: non-json formats degrade structured output (session_id etc. become unavailable) | ||||
extra_args | string[] | Raw CLI args appended before the prompt; reserved flags (permission mode, system prompt, model, -o, -r, -w...) are rejected | ||||
timeout_ms | number | Timeout in ms, default 600000 |
Structured output
ask-qoder declares an MCP outputSchema and returns, in addition to the human-readable text, a structuredContent object:
{
"session_id": "77826b5c-...", // pass back as resume_session_id "content": "OK", "is_error": false, "exit_code": 0, "duration_ms": 1280, "total_credits": 0.53, "num_turns": 1, "timed_out": false, "truncated": false }
Sandbox mapping
| sandbox | Effective permission mode | Effect on qodercli |
|---|---|---|
| (omitted) | dont_ask | Read-only: permission-requiring tools are silently denied |
read-only | dont_ask | Plus --disallowed-tools write_file,replace,run_shell_command as defense in depth |
workspace-write | accept_edits | Agent can create/modify files in cwd |
danger-full-access | bypass_permissions | Full access including shell |
Explicit permission_mode or approval_policy always wins over sandbox.
Permission modes (verified semantics)
| Mode | Behavior |
|---|---|
dont_ask | Read-only: silently denies every tool call that requires permission. Headless-safe default |
accept_edits | Auto-approves file edits; shell still governed by policy |
bypass_permissions | Auto-approves everything including shell |
auto | qodercli's own automatic policy |
default | Interactive confirmation — not headless-friendly, avoid in MCP calls |
Tool: list-sessions
Lists local qodercli sessions (index, summary, session id) so a client can pick a resume_session_id. Takes no arguments.
Tool: list-models
Lists models currently supported by qodercli (via --list-models), so a client can pick a valid model value at runtime instead of relying on stale knowledge. Returns both a text list and a structured models array. Takes no arguments.
Usage Examples
Example 1: Simple code explanation
{ "name": "ask-qoder", "arguments": {
"prompt": "Explain what main.py does", "cwd": "/path/to/project", "timeout_ms": 180000 }}
Example 2: Ask a second opinion
{ "name": "ask-qoder", "arguments": {
"prompt": "@src/service.py Review this file for security issues and suggest improvements", "model": "qwen-plus", "permission_mode": "dont_ask", "timeout_ms": 300000 }}
Example 3: Multi-turn conversation via resume
// First call — session_id comes back in structuredContent
{ "name": "ask-qoder", "arguments": { "prompt": "Help me refactor this module to improve readability", "cwd": "/projects/backend", "timeout_ms": 300000 }} // Then reuse structuredContent.session_id: { "name": "ask-qoder", "arguments": { "prompt": "Now add error handling for database timeouts", "resume_session_id": "77826b5c-cd6b-4213-b423-d95b4e1deab0" }} // Or discover ids with list-sessions { "name": "list-sessions", "arguments": {} }
Example 4: Code review with specific focus
{ "name": "ask-qoder", "arguments": {
"prompt": "Analyze performance bottlenecks in utils.py", "model": "qwen-max", "permission_mode": "default", "output_format": "text", "timeout_ms": 240000 }}
Example 5: Read-only analysis
{ "name": "ask-qoder", "arguments": {
"prompt": "Audit this codebase for security issues; do not modify anything", "cwd": "/workspaces/repo", "sandbox": "read-only", "timeout_ms": 300000 }}
`read-only` disables write/shell tools — good for audits and reviews.
Example 6: Project-wide analysis
{ "name": "ask-qoder", "arguments": {
"prompt": "Summarize the architecture of this project and identify key modules", "cwd": "/workspaces/repo", "timeout_ms": 420000, "model": "qwen-plus" }}
Best Practices
- Specify working directory — Always pass
cwdwhen operating on a specific project - Use timeout protection — For complex prompts, set explicit
timeout_msshorter than 60min - Resume for multi-turn — Chain follow-ups via
resume_session_idinstead of repeating context - Model selection — Call
list-modelsfirst to discover currently supported models; larger models are better for deep analysis - Permission mode — The server default is read-only (
dont_ask); setQODERCLI_DEFAULT_PERMISSION_MODE=bypass_permissionsto make full (YOLO) access the default for personal deployments. Per-call: tasks that must create/modify files needsandbox: "workspace-write"; shell access needsdanger-full-access. Do not combinesandboxwith an explicitpermission_mode(the latter wins)
Environment variables
| Variable | Default | Description |
|---|---|---|
QODERCLI_PATH | qodercli | Path to the qodercli binary |
QODERCLI_TIMEOUT_MS | 600000 | Default timeout |
QODERCLI_MAX_OUTPUT_MB | 50 | Per-call stdout/stderr cap in MB (OOM protection) |
QODERCLI_DEFAULT_PERMISSION_MODE | dont_ask | Default permission mode when the caller omits permission_mode/approval_policy/sandbox; set bypass_permissions for full (YOLO) access |
HTTP_PROXY | - | HTTP proxy URL for qodercli |
HTTPS_PROXY | - | HTTPS proxy URL for qodercli |
Development
npm test # smoke test: protocol handshake + tool invocation
node src/index.js # run the server manually (stdio)
Disclaimer
This is an unofficial, third-party tool. It is not affiliated with, endorsed, or sponsored by Qoder. Use permission_mode: bypass_permissions with care — delegated prompts may modify files in the target working directory.
Product Hunt Gallery
Main gall