capy-fleet
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@capy-fleetdelegate fixing login bug to an agent"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
capy-fleet
An MCP server for Capy. Lets Claude Code, Cursor, Codex, or any other MCP client delegate work to Capy's cloud agents and wait for the results without you leaving the editor.
Your local agent is smart, but there's only one of it. This gives it a workforce.
you: here are 8 bugs, farm them out
-> capy_delegate x8
-> capy_wait (all 8)
-> capy_diff on each
8 diffs come back, you review them in one placeNot affiliated with Capy. I built it because I wanted it.
Install
Not on npm yet. For now, clone and build:
git clone https://github.com/Takumixbt/capy-fleet.git
cd capy-fleet
npm install
npm run buildYou'll need an API token from capy.ai/settings/tokens. It starts with capy_.
Claude Code
claude mcp add capy-fleet --env CAPY_API_KEY=capy_xxx -- node /absolute/path/to/capy-fleet/dist/index.jsCursor
~/.cursor/mcp.json:
{
"mcpServers": {
"capy-fleet": {
"command": "node",
"args": ["/absolute/path/to/capy-fleet/dist/index.js"],
"env": {
"CAPY_API_KEY": "capy_xxx",
"CAPY_PROJECT_ID": "proj_xxx"
}
}
}
}Windsurf uses the same shape in ~/.codeium/windsurf/mcp_config.json.
Codex
~/.codex/config.toml:
[mcp_servers.capy-fleet]
command = "node"
args = ["/absolute/path/to/capy-fleet/dist/index.js"]
env = { CAPY_API_KEY = "capy_xxx", CAPY_PROJECT_ID = "proj_xxx" }Setting CAPY_PROJECT_ID is optional but saves you passing a project id on every call. Run capy_projects once to find yours.
Related MCP server: agent-comm
Tools
Tool | What it does |
| Start an agent on a piece of work. Call it N times for N parallel agents. |
| Block until threads finish. Takes a list, so you can wait on the whole batch. |
| One-shot check on a thread. |
| See the whole fleet. Filter by status, tag, PR state, or free text. |
| Read the code an agent wrote. |
| Read the conversation, including the agent's own summary of what it did. |
| Steer a running agent, or answer a question it asked. |
| Ask an agent to commit and open a PR. |
| Kill a thread that's going the wrong way. |
| List projects and their repos. |
| List available models and which can act as Captain. |
| What your agents cost, split by LLM and VM, broken down by user and thread. |
Things that will confuse you if nobody tells you
Threads spawn tasks, and diffs belong to tasks. You delegate to a thread and get back a thread id, but capy_diff wants a task id. Task ids show up in the thread's task list, which capy_status and capy_wait both print. This mirrors how Capy's API actually works rather than papering over it.
There is no PR endpoint. Capy's API can't open a pull request directly. capy_open_pr sends the agent a message asking it to do it, which means the PR shows up a bit after the call returns, not during it. Run capy_wait after and read the URL off the result.
No streaming, no webhooks. The API is poll-only, so capy_wait polls with backoff (3s, growing to 15s). It returns early if a thread gets blocked on an auth or permission gate, because sitting there waiting on something that needs a human is useless. If it times out, nothing is lost. The agents keep running on Capy's side and you just call capy_wait again with the same ids.
Tasks are read-only over the API. Older unofficial Capy wrappers used POST /tasks endpoints that no longer work. Everything here goes through threads, which is the supported path.
Not burning your credits by accident
Delegating spends real money, and an LLM in a loop can delegate a lot.
CAPY_FLEET_MAX_DELEGATIONScaps how many threads one server process will start. Defaults to 25. Set it to 0 if you really want it uncapped.CAPY_FLEET_READONLY=1registers only the read tools. Handy if you want an agent that can watch the fleet but not spend anything.capy_difftruncates to a byte budget instead of dumping a 40k-line patch into your context. Usestats_onlyfirst, then pull specific paths.
Config reference
Variable | Required | Default | |
| yes | Token from capy.ai/settings/tokens | |
| no | Default project, so you can skip | |
| no |
| Override the API host |
| no |
| Per-process delegation cap, 0 for unlimited |
| no |
| Set to 1 to hide the write tools |
Development
npm run build # compile
npm run watch # compile on change
npm run smoke # start the server over stdio, check every tool registersThe smoke test uses a deliberately invalid token, so the only network call it makes is one that's supposed to come back 401. It's checking that the tools register and that errors come back readable, not that your account works.
Types in src/types.ts are transcribed from Capy's published OpenAPI document. If Capy ships changes, that's the file to update first.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceAn MCP server that enables developers to summon AI development team agents directly from their IDE to help with tasks like PR reviews, security evaluation, and CI/CD deployment setup.Last updated
- Alicense-qualityDmaintenanceMCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.Last updated1264MIT
- Alicense-qualityDmaintenanceAn MCP server that gives AI coding assistants persistent memory across sessions with chain-based project tracking, tickets, and structured handoffs.Last updatedGPL 3.0
- FlicenseBqualityCmaintenanceMCP server that gives AI coding assistants persistent memory, structural code graph analysis, and safe multi-agent coordination, enabling them to answer architectural questions, track decisions across sessions, and coordinate safely in multi-agent workflows.Last updated394
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server that integrates with Discord to provide AI-powered features.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Takumixbt/capy-fleet'
If you have feedback or need assistance with the MCP directory API, please join our Discord server