HP

howznguyen/pi-delegate-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

22 stars 7 forks 품질 80 트렌드 24MIT

MCP 서버는 피 코딩 에이전트를 steerable 배경 노동자로 전환 : 작업을 삭제하고 중간 실행을 리디렉션하고 자신의 맥락을 유지합니다.

개요

MCP 서버는 파이 코딩 에이전트를 노동자로 노출합니다. Point Claude Code (또는 MCP 호스트)는 pi's ~38 제공 업체 (DeepSeek, Grok, GLM, Kimi, Qwen, Codex, OpenRouter, Local llama.cpp)의 하위 시약의 컨텍스트가 주요 대화 중. 당신의 주요 마구는 비싼 모형에, 당신을 걱정하는 컨텍스트 창과 더불어 달립니다. 모델이 필요하지 않는 것이 많지만 상황에 적극적으로 손상되지 않습니다. 모든 전화 사이트에 대한 재포를 기름을 바르고, 한 질문에 답하기 위해 2000 라인 파일을 읽고, 뒤에 남아있는 이유를 감사하십시오. - grunt 작업은 DeepSeek, GLM, Kimi, Qwen, 또는 로컬 llama.cpp에서 실행됩니다. 당신은 실제로 그들을 필요로하는 이유 만 국경 가격을 지불합니다. - - - delegate는 자신의 예산에 파일을 읽고 결과를 반환합니다. 200 KB는 대화를 결코 입력하지 않습니다. - Delegates는 기본적으로 읽기 전용입니다 (읽기, grep, find, ls), 세션 건설에 시행.

개요(AI 번역)

MCP 서버는delegable, steerable worker로 pi 코딩 에이전트를 노출합니다.

Point Claude Code (또는 MCP 호스트)는 pi’s ~38 제공 업체 중 하나에 delegate 작업을합니다. (DeepSeek, Grok, GLM, Kimi, Qwen, Codex, OpenRouter, 지역 llama.cpp) 하위 시약 당신의 주요 대화에서 머무는 문맥.

그것은 무엇을 위해

당신의 주요 마구는 비싼 모형에, 당신을 걱정하는 컨텍스트 창과 더불어 달립니다. 더 많은 것 그것은 그 모델이 필요하지 않으며, 적극적으로 그 맥락을 손상: 모든 repo를 그라핑 전화 사이트, 한 가지 질문에 응답하기 위해 2000 라인 파일을 읽고, 뒤에 남아있는 이유를 감사.

대신 delegate로 일하는 손:

  • 비용. grunt 작업은 DeepSeek, GLM, Kimi, Qwen, 또는 로컬 llama.cpp에서 실행됩니다. 결제하기 실제로 그들을 필요로하는 이유 만 국경 가격.
  • ** 텍스트.** delegate는 자신의 예산에 파일을 읽고 결과를 반환합니다. 200 KB 그것 대화를 입력하지 마십시오.
  • 마지막 반경. ([read, grep, find, ls]])에 의해 읽을 수 있습니다. 세션 건설. 폭발적인 일을 하는 싼 모형은 너를 제외하고 당신의 나무를 만질 수 없습니다 옵션 정보

delegate는 항상 pi 대리인입니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

██████╗ ██╗    ██████╗ ███████╗██╗     ███████╗ ██████╗  █████╗ ████████╗███████╗
██╔══██╗██║    ██╔══██╗██╔════╝██║     ██╔════╝██╔════╝ ██╔══██╗╚══██╔══╝██╔════╝
██████╔╝██║    ██║  ██║█████╗  ██║     █████╗  ██║  ███╗███████║   ██║   █████╗
██╔═══╝ ██║    ██║  ██║██╔══╝  ██║     ██╔══╝  ██║   ██║██╔══██║   ██║   ██╔══╝
██║     ██║    ██████╔╝███████╗███████╗███████╗╚██████╔╝██║  ██║   ██║   ███████╗
╚═╝     ╚═╝    ╚═════╝ ╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝   ╚═╝   ╚══════╝
                            ███╗   ███╗ ██████╗██████╗
                            ████╗ ████║██╔════╝██╔══██╗
                            ██╔████╔██║██║     ██████╔╝
                            ██║╚██╔╝██║██║     ██╔═══╝
                            ██║ ╚═╝ ██║╚██████╗██║
                            ╚═╝     ╚═╝ ╚═════╝╚═╝

MCP server that exposes the pi coding agent as a delegable, steerable worker.

Point Claude Code (or any MCP host) at it and delegate work to any of pi’s ~38 providers (DeepSeek, Grok, GLM, Kimi, Qwen, Codex, OpenRouter, local llama.cpp) with the sub-agent’s context staying out of your main conversation.

What it’s for

Your main harness runs on an expensive model, with a context window you care about. A lot of what it does doesn’t need that model, and actively damages that context: grepping a repo for every call site, reading a 2000-line file to answer one question, auditing what a refactor left behind.

Hand that work to a delegate instead:

  • Cost. The grunt work runs on DeepSeek, GLM, Kimi, Qwen, or a local llama.cpp. You pay frontier prices only for the reasoning that actually needs them.
  • Context. The delegate reads the files on its own budget and returns a result. The 200 KB it read never enters your conversation.
  • Blast radius. Delegates are read-only by default (read, grep, find, ls), enforced at session construction. A cheap model doing exploratory work cannot touch your tree unless you opt it in.

The delegate is always the pi agent. Codex, Grok, DeepSeek and the rest supply the model behind it; this is not a wrapper around their CLIs.

Why pi, and not opencode or a CLI wrapper?

A delegate is only steerable if two channels stay open: you must be able to redirect it mid-task, and it must be able to ask you something and block until you answer. Most ways of driving a coding agent from another program close both.

pi -p / CLI wrappers opencode SDK this server
GitHub에서 전체 README 보기

설치

npx -y pi-delegate-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "pi": { "command": "npx", "args": ["-y", "pi-delegate-mcp"], "env": { "PI_DELEGATE_MODEL": "openrouter/stealth/ox-alpha" }, "timeout": 1800000 } } }