AgentPool MCP sunucusu
✓ DoğrulandıBir AI istemcisinin birden fazla kodlama ajanı aboneliği üzerindeki canlı kullanım limitlerini izlemesine ve görevleri boş kapasitesi olan sağlayıcılara aktarmasına olanak tanır.
Ayrıca bilinen adı sidduHERE/agentpool, agentpool-cli
- Yıldızlar
- 1
- Araçlar
- —
- İndirmeler, 30 gün
- 1.389
- En son sürüm
- 0.1.13
- Son commit
- 5 Ağu 2026
- Lisans
- MIT
AgentPool MCP nedir?
AgentPool bir MCP sunucusudur. Bir AI istemcisinin birden fazla kodlama ajanı aboneliği üzerindeki canlı kullanım limitlerini izlemesine ve görevleri boş kapasitesi olan sağlayıcılara aktarmasına olanak tanır.
Özet, projenin README dosyasından oluşturuldu
AgentPool MCP sunucusu hakkında
AgentPool; Claude Code, Cursor, Copilot ve Devin gibi birden fazla kodlama ajanı aboneliğini yöneten geliştiriciler için bir kontrol düzlemi görevi görür. Birincil sağlayıcı haftalık veya beş saatlik kullanım limitine ulaştığında işlerin aksamasını önleyen bu yerel Python CLI ve MCP server, tüm aktif hesaplarınızın canlı boş kapasitesini izlemenize olanak tanır. Kalan kapasite, sıfırlanma süreleri ve sağlayıcı durumu hakkında görünürlük sağlayarak bir sonraki görevinizi nereye yönlendireceğiniz konusunda bilinçli kararlar vermenize yardımcı olur.
Sistem, otomatik bir yönlendiriciden ziyade manuel bir görev aktarma aracı olarak çalışır. Siz veya AI istemciniz, işleri yürütmek için özel çalışan oturumları (worker sessions) üzerinden bir sağlayıcıyı ve modeli açıkça seçersiniz. Git kullanarak sadece okunabilir (read-only) veya worktree tabanlı ortamlar dahil olmak üzere çeşitli izolasyon modlarını destekler. Sunucu, bu oturumları yerel olarak yönetmek için varsayılan çalışma zamanı olarak tmux kullanan macOS ve Linux için tasarlanmıştır.
Neler yapabilirsiniz
- 1Abonelik kapasitesini izlemeTüm kodlama ajanı aboneliklerinizdeki kalan kullanım limitlerini ve sıfırlanma sürelerini tek seferde kontrol edin.
- 2Görevleri mevcut sağlayıcılara aktarmaAna aboneliğiniz limitine ulaştığında belirli bir kodlama görevini ikincil bir sağlayıcıda çalıştırın.
- 3Çalışan ilerlemesini ve çıktıları takip etmeÇalışan bir ajan oturumunun canlı dökümünü izleyin ve sonuç olarak oluşan dosyaları toplayın.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
AgentPool MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıAgentPool MCP'yi Claude Code içine yükleyin
$ claude mcp add agentpool -- uvx agentpool-cliAgentPool MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"agentpool": {
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}AgentPool MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"agentpool": {
"type": "stdio",
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}AgentPool MCP'yi Claude Desktop içine yükleyin
claude_desktop_config.json
{
"mcpServers": {
"agentpool": {
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}AgentPool MCP'yi Codex içine yükleyin
~/.codex/config.toml
[mcp_servers.agentpool] command = "uvx" args = ["agentpool-cli"]
AgentPool MCP'yi Gemini CLI içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"agentpool": {
"command": "uvx",
"args": [
"agentpool-cli"
]
}
}
}Yapılandırma
AGENTPOOL_MCP_LOCKDOWN
| Ad | Açıklama | Sunucu |
|---|---|---|
| AGENTPOOL_MCP_LOCKDOWN | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Otomatik kontrollerimizden geçti. Bu bir güvenlik denetimi değildir: kodu okuyun ve sunucuya ihtiyaç duyduğu en dar erişimi verin. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirsidduhere/agentpool is public and reachablegithub.com/sidduhere/agentpool ↗Geçti
- Paket bu depoyu kaynak olarak gösteriyorKontrol edilmedi
- Derleme kaynağı (Sigstore onayı)Sigstore attestation for agentpool-clipypi.org/project/agentpool-cli/ ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-08-05github.com/sidduhere/agentpool ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilNo popular package one edit away from agentpool-cliGeçti
- Pakette ve bağımlılıklarında kritik uyarı yok38 resolved dependencies checked; no critical advisoryosv.dev ↗Geçti
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak endpoint MCP el sıkışmasına yanıt veriyorKontrol edilmedi
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 soruları
AgentPool MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add agentpool -- uvx agentpool-cli komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
AgentPool MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
AgentPool sağlayıcıları benim yerime otomatik olarak değiştirir mi?
Hayır, AgentPool bir otomatik yönlendiriciden ziyade bir kontrol düzlemidir (control plane). Kullanım limitlerini görünür kılarak sizin veya ajanınızın bilinçli bir seçim yapmasını sağlar ancak alternatif bir sağlayıcıyı otomatik olarak seçmez.
AgentPool sağlayıcı kimlik bilgilerimi saklar mı?
Hayır, sunucu yerel öncelikli (local-first) gizlilik anlayışıyla tasarlanmıştır; sağlayıcı kimlik bilgilerinizi saklamaz veya tarayıcı çerezlerini taramaz.
Hangi işletim sistemleri destekleniyor?
AgentPool, canlı çalışma zamanları için macOS ve Linux'u, Windows'u ise WSL benzeri kabuklar aracılığıyla destekler.
Hangi aboneliğin en fazla kalan kapasiteye sahip olduğunu nasıl görebilirim?
usage-summary komutunu kullanarak yapılandırılmış her bir aboneliğin kalan limitini, sıfırlanma zamanını ve kullanılabilirlik durumunu görebilirsiniz.