ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Deputy

โดย alimohammadiamirhosseinรุ่น 0.3.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.alimohammadiamirhossein/deputy

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Claude Code helper: DeepSeek V4.1 Flash reviews Claude's code for bugs and gives second opinions

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: DEPUTY_PROVIDER, DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_MODE, DEPUTY_THINKING, DEPUTY_MODEL, DEPUTY_BASE_URL, DEPUTY_WORKSPACE, DEPUTY_API_KEY

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "deputy": {
      "command": "uvx",
      "args": [
        "deputy-cc",
        "serve"
      ],
      "env": {
        "DEPUTY_PROVIDER": "ใส่ค่าของคุณ",
        "DEEPINFRA_API_KEY": "ใส่ค่าของคุณ",
        "XAI_API_KEY": "ใส่ค่าของคุณ",
        "DEPUTY_MODE": "ใส่ค่าของคุณ",
        "DEPUTY_THINKING": "ใส่ค่าของคุณ",
        "DEPUTY_MODEL": "ใส่ค่าของคุณ",
        "DEPUTY_BASE_URL": "ใส่ค่าของคุณ",
        "DEPUTY_WORKSPACE": "ใส่ค่าของคุณ",
        "DEPUTY_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add deputy --env DEPUTY_PROVIDER='ใส่ค่าของคุณ' --env DEEPINFRA_API_KEY='ใส่ค่าของคุณ' --env XAI_API_KEY='ใส่ค่าของคุณ' --env DEPUTY_MODE='ใส่ค่าของคุณ' --env DEPUTY_THINKING='ใส่ค่าของคุณ' --env DEPUTY_MODEL='ใส่ค่าของคุณ' --env DEPUTY_BASE_URL='ใส่ค่าของคุณ' --env DEPUTY_WORKSPACE='ใส่ค่าของคุณ' --env DEPUTY_API_KEY='ใส่ค่าของคุณ' -- uvx deputy-cc serve

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "deputy": {
      "command": "uvx",
      "args": [
        "deputy-cc",
        "serve"
      ],
      "env": {
        "DEPUTY_PROVIDER": "ใส่ค่าของคุณ",
        "DEEPINFRA_API_KEY": "ใส่ค่าของคุณ",
        "XAI_API_KEY": "ใส่ค่าของคุณ",
        "DEPUTY_MODE": "ใส่ค่าของคุณ",
        "DEPUTY_THINKING": "ใส่ค่าของคุณ",
        "DEPUTY_MODEL": "ใส่ค่าของคุณ",
        "DEPUTY_BASE_URL": "ใส่ค่าของคุณ",
        "DEPUTY_WORKSPACE": "ใส่ค่าของคุณ",
        "DEPUTY_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "deputy": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deputy-cc",
        "serve"
      ],
      "env": {
        "DEPUTY_PROVIDER": "ใส่ค่าของคุณ",
        "DEEPINFRA_API_KEY": "ใส่ค่าของคุณ",
        "XAI_API_KEY": "ใส่ค่าของคุณ",
        "DEPUTY_MODE": "ใส่ค่าของคุณ",
        "DEPUTY_THINKING": "ใส่ค่าของคุณ",
        "DEPUTY_MODEL": "ใส่ค่าของคุณ",
        "DEPUTY_BASE_URL": "ใส่ค่าของคุณ",
        "DEPUTY_WORKSPACE": "ใส่ค่าของคุณ",
        "DEPUTY_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • DEPUTY_PROVIDER env
    deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3).
  • DEEPINFRA_API_KEY ความลับ env
    DeepInfra API key (deepinfra.com, Dashboard > API Keys), for the default provider. Only sent to api.deepinfra.com.
  • XAI_API_KEY ความลับ env
    xAI API key (console.x.ai), when DEPUTY_PROVIDER is xai. Only sent to api.x.ai.
  • DEPUTY_MODE env
    accuracy: Claude writes all code; Deputy reviews and consults. lean: fewest Claude tokens, little accuracy loss. balanced: Deputy takes mechanical work. partner: Deputy does all low-level work and gi…
  • DEPUTY_THINKING env
    How hard the helper model thinks.
  • DEPUTY_MODEL env
    Model id served by the endpoint.
  • DEPUTY_BASE_URL env
    Any OpenAI-compatible endpoint (https, or http on localhost for a local model).
  • DEPUTY_WORKSPACE env
    Project folder Deputy may read and edit. Defaults to the client's project folder.
  • DEPUTY_API_KEY ความลับ env
    API key for a non-DeepInfra endpoint. Takes precedence over DEEPINFRA_API_KEY.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub alimohammadiamirhossein ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 4924 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 75% ของอีก 4924 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 4924 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Deputy ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.1) เข้า registry 12 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

โดย githubใช้กันมาก★ 34.2Kอัปเดต 5 วันที่ผ่านมา

บนเครื่องหรือคลาวด์

Desktop Commander

MCP server for terminal commands, file operations, and process management

โดย wonderwhy-erใช้กันมาก↓ 709.6K/สัปดาห์★ 10.2Kอัปเดต 17 วันที่ผ่านมา

รันบนเครื่อง

Cloudflare MCP

Cloudflare MCP servers

โดย cloudflareกำลังโต★ 4.4Kอัปเดต 14 เดือนที่ผ่านมา

รันบนคลาวด์✓ mcp.cloudflare.com

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Deputy

Deputize cheap models. Claude stays the sheriff.

Deputy is a Claude Code plugin and MCP server that has a cheap model, DeepSeek V4.1 Flash, review Claude's code for bugs and give second opinions, for under a cent each. Claude keeps writing the code.

A replay of one benchmark case. Deputy's findings, time and cost, the repro and the test run are real.

claude plugin marketplace add alimohammadiamirhossein/deputy

claude plugin install deputy@deputy

Inside Claude Code the same thing is /plugin marketplace add alimohammadiamirhossein/deputy. You need uv and a DeepInfra API key.

What it costs (measured)

RunTimeCost
review: two reviewers check a change with a planted off-by-one bug (both caught it)27 s$0.0011
consult: second opinions from 2 angles68 s$0.0018
investigate: list a project's functions and their tests18 s$0.0004
delegate: fix a bug, add 3 tests, run pytest until green46 s$0.0006

Measured on a small demo project with thinking high. Reviews and second opinions now think at low by default, which makes them faster and cheaper (see the review benchmark below). On real projects, expect consult and review to stay under $0.01. Every result shows its real tokens and cost.

Benchmark: Opus with and without Deputy

Four small Python tasks with hidden tests Claude never sees (bench/), one run each on Claude Opus 5.5, October 2026. These runs predate the faster reviews: reviewers then thought at high with no time limit, and the prompt asked Claude to review every task.

ConfigHidden tests passedMean cost (Claude + Deputy)Median time
Opus alone4/4$0.1830 s
Opus + /deputy:review4/4$0.31 ($0.30 + $0.013)3.7 min
Opus + /deputy:delegate4/4$0.19 ($0.19 + $0.0015)76 s

What this shows, and what it doesn't:

  • No accuracy gain to measure here. The tasks are too easy: Opus passed every hidden test on its own.
  • Reviews cost Claude more than they cost Deputy. Deputy's share is about a cent, but Claude spends more checking the findings, so a reviewed task cost 68% more and took longer. One review took 24 minutes because a reviewer thought for 73k tokens. Reviewers now think at low and stop after 180 s, and Claude reviews only risky or large changes.
  • The findings still changed the code. In 3 of 4 tasks Claude hardened the code beyond the spec: it fixed a rate limiter that a NaN timestamp would block forever, and added missing tests. It rejected one finding that contradicted the spec.
  • Delegating saved nothing on tasks this small. Claude's own reading and checking cost about as much as writing the code itself.
  • Small sample. One run per config. Full table: bench/results/2026-10-24-opus.
Does review catch bugs, and how often does it cry wolf?

Deputy's review on its own, without Claude, on 6 changes with a planted bug and 8 clean changes. Each planted bug has a clean twin, the same change done right. Five runs each with the default settings (bench/review_cases):

DiffsReviewsFlaggedFlagged major or criticalMean costMedian timeSlowest
Planted bug3030/30 caught30/30$0.001628 s59 s
Clean4022/4010/40$0.003980 s230 s
  • Every planted bug was caught, at major or critical severity, by both reviewers every time.
  • Reviews are quick. Reviewers think at low and stop after 180 s. With high thinking and no cap they caught the same bugs, but the median clean review took 160 s and the slowest 23 minutes.
  • Clean code still draws findings, so Claude has to check each one. Most are minor (36 of 50), but a quarter of clean reviews included a major claim.
  • Many of those findings are fair, such as a test that can't fail, an entry point no test covers, or a cache key wider than the change assumed.
  • The benchmark already fixed one cause of false alarms. In the first run, reviewers read new files labelled "(untracked)" as left out of the change. Deputy now shows them as git diff does, and those findings went from 6 to 0.
  • Agreement is weak evidence on clean code. Both reviewers flagged the same spot on 20% of clean diffs, so a finding isn't real just because two reviewers report it.
  • Every finding on a clean diff is listed in the results: default settings, high thinking, no cap, first run.

What it does

Claude (for example Opus 5.5) stays in charge and writes the code. Deputy adds four tools that run a much cheaper model as a helper inside your project:

ToolWhat it does
`review`Independent reviewers hunt for bugs in a risky or large change before Claude calls it done
`consult`Second opinions from 2–4 angles at once, before Claude commits to a plan
`investigate`Reads lots of code and returns file:line leads
`delegate`Hands a coding task to the cheap model (off by default; on request, or in savings mode)
`stats`Shows roughly how many tokens and dollars Deputy saved: this session, today, this week, all time

Claude treats everything Deputy says as an unverified hint: it checks each finding against the code and keeps only what holds up.

See what you saved

Every result ends with a one-line estimate, for example from a real investigate run:

Savings (rough): this work would cost about $0.0082 on Claude Opus 5.5; Deputy did it for $0.0001. Saved about $0.0074 and 2.0k Claude Opus 5.5 tokens.

Ask Claude for stats, or run deputy stats, for totals. Reviews and second opinions are listed separately as extra checks, so they never inflate the savings. The estimate assumes your lead model would use about as many tokens, so treat it as an order of magnitude. Only numbers are stored, never code or prompts. Set your lead model with DEPUTY_LEAD_MODEL (opus, sonnet, haiku, fable or custom).

When to use Deputy, and when not to

Use it for:

  • Risky or large changes, where a missed bug costs more than a minute of waiting: tricky logic, security, data handling, concurrency, refactors that touch several files.
  • A second opinion before Claude commits to a design, without spending Claude tokens on it.
  • Wide reading in a big codebase, such as "where is this setting read?".
  • Well-specified mechanical work (boilerplate, renames, test scaffolding) in lean, balanced, partner or savings mode, when you want to save Claude tokens on larger jobs. On small tasks it saved nothing in the benchmark.

Skip it for:

  • Routine changes whose tests pass, and trivial edits like typos and one-liners. A review makes you wait and adds little there.
  • Code you may not share with a third party. Deputy sends code to DeepInfra, or to whatever endpoint you set in DEPUTY_BASE_URL (a local model works too).
  • Final answers. Findings come from a weaker model and include false positives, which is why Claude verifies every one.
  • Architecture and security-sensitive decisions in savings mode. Keep those with Claude.

Quick start

1. Get a DeepInfra API key (DeepInfra hosts DeepSeek's models in the US)

  1. Sign up at [deepinfra.com](https://deepinfra.com/) with GitHub, Google or email.
  2. In Dashboard → Billing, add a card and $5–10 of credit, then set a spending limit equal to that amount.
  3. In API Keys, create a key (it starts with sk-di-) and copy it. Keep it private.

You don't need a plan, a model purchase or a dedicated GPU. Pay-as-you-go credit is enough.

2. Install uv and the plugin

claude plugin marketplace add alimohammadiamirhossein/deputy

claude plugin install deputy@deputy

Claude Code asks for your DeepInfra key and stores it in your system's secure storage.

3. Restart Claude Code and try it

/deputy:review

/deputy:consult I plan to cache sessions in Redis. What am I missing? /deputy:investigate how does a request reach the database? /deputy:ds add input validation to the signup form, with tests

Or just work normally: Claude calls Deputy on its own when it pays off, and skips reviews on routine changes whose tests pass.

Cursor and Codex

One command adds Deputy to the editor's MCP config (with a backup of the old file) and installs the playbook as a Cursor rule or Codex skill:

uvx --from git+https://github.com/alimohammadiamirhossein/deputy deputy setup cursor --project .

uvx --from git+https://github.com/alimohammadiamirhossein/deputy deputy setup codex

Set DEEPINFRA_API_KEY in your environment first, then restart the editor. Add --dry-run to see the changes without writing them. Ready-made files are in integrations/.

Grok instead of DeepSeek (experimental, not tested yet): Grok support follows xAI's documentation but has not been run with a real xAI key. If you try it, please tell us what worked and what didn't, even if it was just a one-word "works". Add --provider xai and set XAI_API_KEY (from console.x.ai) instead. Deputy then uses grok-4.3; set DEPUTY_MODEL to grok-build-0.1 (xAI's coding model) or grok-4.7 (its strongest). Grok costs about 10 times more per token than DeepSeek V4.1 Flash.

uvx --from git+https://github.com/alimohammadiamirhossein/deputy deputy setup cursor --project . --provider xai
Other MCP clients (Cline, Windsurf, Claude Desktop)

Deputy is on PyPI as deputy-cc. Add a stdio MCP server that runs:

uvx deputy-cc serve

with DEEPINFRA_API_KEY set in its environment. Check your setup with uvx deputy-cc doctor.

Recommended model: DeepSeek V4.1 Flash, thinking

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx