AgentPool MCP server
✓ 인증됨여러 코딩 에이전트 구독의 실시간 사용 한도를 모니터링하고, 여유 용량이 있는 프로바이더로 작업을 전환할 수 있게 도와줍니다.
다른 이름 sidduHERE/agentpool, agentpool-cli
- 스타
- 1
- Tools
- —
- 다운로드, 30일
- 1,389
- 최신 버전
- 0.1.13
- 마지막 커밋
- 2026년 8월 5일
- 라이선스
- MIT
AgentPool MCP란?
AgentPool은(는) MCP server입니다. 여러 코딩 에이전트 구독의 실시간 사용 한도를 모니터링하고, 여유 용량이 있는 프로바이더로 작업을 전환할 수 있게 도와줍니다.
프로젝트 README에서 생성된 요약
AgentPool MCP server 정보
AgentPool은 Claude Code, Cursor, Copilot, Devin과 같은 여러 코딩 에이전트 구독을 관리하는 개발자를 위한 컨트롤 플레인 역할을 합니다. 기본 프로바이더의 주간 또는 5시간 사용 한도에 도달했을 때 작업이 중단되는 대신, 이 로컬 Python CLI 및 MCP server를 통해 활성화된 모든 계정의 실시간 여유 용량을 모니터링할 수 있습니다. 잔여 용량, 초기화 시간 및 프로바이더 상태를 시각적으로 제공하므로 다음 작업을 어디로 보낼지 정보에 기반한 결정을 내릴 수 있습니다.
이 시스템은 자동 라우터가 아닌 수동 오프로딩 도구로 작동합니다. 사용자와 AI 클라이언트는 전용 워커 세션을 통해 작업을 실행할 프로바이더와 모델을 명시적으로 선택합니다. Git을 사용한 읽기 전용 또는 워크트리 기반 환경을 포함하여 다양한 격리 모드를 지원합니다. 서버는 macOS 및 Linux용으로 설계되었으며, 이러한 세션을 로컬에서 관리하기 위해 tmux를 기본 런타임으로 사용합니다.
활용 사례
- 1구독 여유 용량 모니터링모든 코딩 에이전트 구독의 잔여 사용 한도와 초기화 시간을 한 번에 확인합니다.
- 2사용 가능한 프로바이더로 작업 전환주요 구독의 한도에 도달했을 때 보조 프로바이더에서 특정 코딩 작업을 실행합니다.
- 3워커 진행 상황 및 결과물 추적실행 중인 에이전트 세션의 실시간 트랜스크립트를 관찰하고 생성된 파일을 수집합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
AgentPool MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 AgentPool MCP 설치
$ claude mcp add agentpool -- uvx agentpool-cliCursor에 AgentPool MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"agentpool": {
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}VS Code에 AgentPool MCP 설치
.vscode/mcp.json
{
"servers": {
"agentpool": {
"type": "stdio",
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}Claude Desktop에 AgentPool MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"agentpool": {
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}Codex에 AgentPool MCP 설치
~/.codex/config.toml
[mcp_servers.agentpool] command = "uvx" args = ["agentpool-cli"]
Gemini CLI에 AgentPool MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"agentpool": {
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}구성
AGENTPOOL_MCP_LOCKDOWN
| 이름 | 설명 | 유형 |
|---|---|---|
| AGENTPOOL_MCP_LOCKDOWN | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능sidduhere/agentpool is public and reachablegithub.com/sidduhere/agentpool ↗통과
- 패키지가 이 저장소를 소스로 지정검사되지 않음
- 빌드 출처(Sigstore 증명)Sigstore attestation for agentpool-clipypi.org/project/agentpool-cli/ ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-08-05github.com/sidduhere/agentpool ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from agentpool-cli통과
- 패키지와 의존성에 심각한 보안 권고 없음38 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 endpoint가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기AgentPool
You pay for several coding-agent subscriptions — Codex, Claude Code, Cursor, Copilot, Devin, Droid — but you work in one at a time. The rest sit idle until your active provider hits its 5-hour or weekly limit, and then you stall.
AgentPool is a local Python CLI and MCP server that reads the live usage limits of every coding-agent subscription you have and lets you — or your primary agent — offload work to whichever one still has headroom. Use the capacity you already pay for, and keep moving instead of hard-stopping at a cap.
It is a control plane, not an auto-router. AgentPool exposes live provider, model, session, artifact, lease, and best-effort usage/capacity state, and runs the work you offload as explicit worker sessions. You or your agent still choose the provider and model — AgentPool makes the limits visible so that choice is informed, never automatic.
The v0.1 alpha posture is conservative:
- tmux is the default runtime; Terminal Control is optional when configured.
- Provider selection is explicit;
provider=autois rejected. - Usage/capacity summaries are confidence-tagged and keyed by provider id.
- CodexBar and ccusage are optional usage helpers when installed or configured.
- AgentPool does not store provider credentials, scrape browser usage pages, rank models, merge code, or push code.
Requirements
- Python 3.11 or newer.
- tmux on
PATH. - Optional:
termctrlonPATHfor the Terminal Control runtime. - Git for worktree isolation and diff collection.
- macOS or Linux for live runtimes. Windows is not a v0.1 target except through WSL-like shells.
Install
AgentPool publishes to PyPI as agentpool-cli; the installed command is
agentpool.
uv tool install agentpool-cli # recommended
pipx install agentpool-cli # fallback
uvx agentpool-cli --help # zero-install try
Then:
agentpool setup codex
agentpool doctor --deep --privacy
The agentpool-cli package installs on macOS, Linux, and Windows, but live
terminal runtimes are supported on macOS or Linux (Windows via WSL).
Optional Terminal Control config:
runtime:
default: tmux
terminal_control:
enabled: true
binary: termctrl
session_prefix: agentpool
cols: 120
rows: 36
Install from source:
git clone https://github.com/sidduHERE/agentpool.git
cd agentpool
uv tool install --force .
Or run from a development checkout:
uv venv
uv pip install -e ".[dev]"
A GitHub release install (wheel pinned to a tag, no PyPI required) is also supported:
scripts/install.sh latest
See docs/install.md for first-run, upgrade, and MCP setup notes.
Quickstart
For AI agents, start by loading the bundled version-matched skill:
agentpool skills get agentpool
agentpool skills get core --full
agentpool init
agentpool setup cursor
agentpool config validate
agentpool doctor --deep --privacy
agentpool setup all
agentpool smoke --provider fake-question --repo . --json
agentpool inventory --json
agentpool usage-summary --refresh --json
That last command is the one you will run most: it shows every configured
subscription's remaining limit, reset time, and a usable flag, so you can see
at a glance which provider to offload the next task to.
Start an explicitly selected read-only worker:
agentpool spawn \
--provider <provider-id> \
--repo . \
--task "Inspect the project and ask one clarifying question." \
--isolation read_only
agentpool observe <session-id> --wait-for completed,error,question,approval_prompt --timeout 60 --json
agentpool send <session-id> "Continue with the smallest useful check."
agentpool artifacts <session-id> --json
agentpool transcript <session-id> --tail-lines 80 --json
agentpool session show <session-id> --json
agentpool sessions --recent 10 --json
agentpool collect <session-id> --json
agentpool terminate <session-id> --dry-run --json
agentpool terminate <session-id> --json
spawn defaults --initial-prompt-mode to provider_default. For Codex CLI
this resolves to arg, which passes the first task as the Codex prompt argument
instead of relying on a paste-and-submit startup cycle. Providers that expose
reasoning controls also accept process-local overrides such as
--reasoning-effort high; Codex also accepts --service-tier priority.
AgentPool does not edit your provider config.
For AgentPool-created edit isolation, choose worktrees explicitly:
agentpool spawn \
--provider <provider-id> \
--repo . \
--task "Make the small patch." \
--role implementer \
--isolation worktree
agentpool worktrees list --repo .
agentpool worktrees cleanup --session-id <session-id> --dry-run --json
agentpool worktrees cleanup --session-id <session-id>
Worktree isolation is not forced by default. Users often have their own
worktree setup and cleanup rules, so AgentPool only creates a worktree when
requested through --isolation worktree or policy configuration.
Usage And Capacity
agentpool usage-summary --refresh --json
agentpool usage-summary --refresh --no-interactive --json
agentpool stats --since 7d --json
agentpool usage-summary --refresh --backend codexbar --json
agentpool usage-summary --refresh --backend ccusage --provider claude-code --json
usage-summary returns a providers object keyed by provider id. It is not
ordered and it is not a recommendation list. Each row includes usable,
unusable_reason, quota windows, confidence, age/staleness, and reset timing when
the provider exposes it. The older CLI capacity-summary command is retained
as a human convenience alias; MCP also exposes get_capacity_summary as a
compatibility alias for get_usage_summary.
The default buffer is policy.min_remaining_percent = 10. If any reported
quota window is below that buffer, the provider row is marked unusable for the
summary. Staleness is reported as age information only; it does not by itself
make a provider unusable. If you want cached summary reads to refresh
automatically after a threshold, set policy.usage_auto_refresh_after_seconds
in ~/.agentpool/config.yaml.
AgentPool still does not pick an alternative provider for you.
MCP usage refreshes are intentionally bounded and may return partial=true;
use the CLI commands above when a shell-capable agent needs a complete live
refresh. Use --no-interactive or AGENTPOOL_NO_INTERACTIVE_USAGE=1 when a
shell script must avoid provider TUI fallback probes.
Provider Matrix
| Provider id | Command | Usage status in v0.1 | Model pinning |
|---|---|---|---|
codex-cli |
codex |
native local app-server rate-limit probe; CodexBar optional | --model + config-scoped reasoning/service tier |
cursor-cli |
agent or cursor-agent |
optional CodexBar Cursor usage; native CLI usage is interactive /usage only |
--model + read-only --mode ask |
claude-code |
claude |
temporary /usage probe; ccusage telemetry optional |
--model + --effort |
devin-cli |
devin |
Devin/Windsurf plan-status API from existing CLI auth, with /usage fallback |
--model |
copilot-cli |
gh copilot |
GitHub Copilot usage API from env or gh auth token |
forwarded --model |
droid-cli |
droid |
unknown unless surfaced by future safe probe | process-local settings file + --reasoning-effort |
opencode |
opencode |
configured adapter; usage unknown in this alpha | --model with provider/model ids |
Compatibility note: the PRD calls Factory's coding product factory-droid, but
AgentPool exposes it as droid-cli because the installed command is droid.
Do not add a duplicate factory-droid inventory row unless a distinct harness
appears.
Privacy Posture
AgentPool is local-first, but usage probes can still be sensitive because they read existing CLI auth state and may call provider APIs on explicit refresh.
AgentPool does not:
- store provider credentials;
- read browser cookies by default;
- scrape browser dashboards;
- trigger login flows;
- silently accept paid overage.
AgentPool does store:
- SQLite session, event, usage snapshot, artifact, and lease metadata;
- transcript and artifact files under
~/.agentpool/artifactsby default; - generated runtime settings that are not credentials.
Run:
agentpool doctor --privacy --json
See SECURITY.md and docs/usage-detection.md.
MCP
Start the MCP server:
agentpool mcp
agentpool mcp --toolsets default,stats
AGENTPOOL_MCP_LOCKDOWN=1 agentpool mcp
Example host config:
agentpool mcp-config --client generic
{
"mcpServers": {
"agentpool": {
"command": "agentpool",
"args": ["mcp"]
}
}
}
Verified install helpers (deeplink or one-liner shell command):
agentpool mcp-config --client cursor --absolute-command --install
agentpool mcp-config --client claude-code --absolute-command --install
agentpool mcp-config --client codex --absolute-command --install
agentpool mcp-config --client copilot-cli --absolute-command --install
Raw config generators:
agentpool mcp-config --client claude-code --json
agentpool mcp-config --client codex
agentpool mcp-config --client cursor
agentpool mcp-config --client claude-desktop --json
Use --absolute-command if the MCP host does not inherit your shell PATH.
Verified per-host steps live in docs/mcp-clients.md.
Team templates: .cursor/mcp.json.example,
.mcp.json.example, and docs/examples/README.md.
MCP Registry metadata: server.json. It advertises the
agentpool-cli PyPI package and should be bumped with each release. Release
checklist: docs/release.md.
Provider setup guides:
Cursor,
Cursor Agent CLI,
Codex,
Claude Code,
Copilot,
Droid, and
Devin.
MCP-connected agents should read these once on connect:
agentpool://onboardingagentpool://skill.mdagentpool://preferences.md
Then use tools for live operations. The user-owned preferences file also shows
up through agentpool preferences and get_delegation_preferences(). It may
say to use your native subagent system instead of AgentPool for some tasks. The
default MCP toolset is deliberately small: inventory, usage snapshot, usage
summary, provider models, preferences, spawn, observe, poll, send, interrupt,
collect, artifact manifest, transcript paging, and terminate. Add opt-in
toolsets with agentpool mcp --toolsets default,stats,sessions,leases,worktrees.
Shell-capable agents can use agentpool skills get agentpool instead of MCP
resources to load the same core usage guidance from the installed CLI.
Coding agents with shell access should prefer the CLI path. It is more
token-efficient because large worker output stays in artifact files and
observe/collect return compact manifests by default. MCP remains first-class
for MCP-native hosts and no-shell environments. See
docs/agent-cli-and-mcp.md.
Development Checks
Development and CI checks are documented in CONTRIBUTING.md.
AgentPool MCP 질문
AgentPool MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add agentpool -- uvx agentpool-cli를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
AgentPool MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
AgentPool이 자동으로 프로바이더를 전환해 주나요?
아니요, AgentPool은 자동 라우터가 아닌 컨트롤 플레인입니다. 사용량 한도를 시각화하여 사용자와 에이전트가 정보에 기반한 선택을 할 수 있도록 돕지만, 대안 프로바이더를 자동으로 선택하지는 않습니다.
AgentPool이 프로바이더 자격 증명을 저장하나요?
아니요, 이 서버는 로컬 우선(local-first) 개인정보 보호 원칙에 따라 설계되었으며, 프로바이더 자격 증명을 저장하거나 브라우저 쿠키를 스크랩하지 않습니다.
지원되는 운영 체제는 무엇인가요?
AgentPool은 실시간 런타임의 경우 macOS와 Linux를 지원하며, Windows는 WSL과 유사한 셸을 통해 지원합니다.
어떤 구독에 잔여 용량이 가장 많은지 어떻게 확인하나요?
usage-summary 명령어를 사용하면 구성된 모든 구독의 잔여 한도, 초기화 시간 및 사용 가능 여부를 확인할 수 있습니다.