Delega
Client for the Delega agent task system; hosted access ended July 2026
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 1.19.1
- Listing updated
- today
Similar MCP servers
About Delega
Delega is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Delega began as a coordination layer for AI agents and was retired as a public service on July 28, 2026. The author's case study explains why: after four months, the final inventory showed one owner account and five others holding 12 lifetime tasks between them, so the hosted subscription business was shut down while the owner's private deployment stays in use.
This npm package is the MCP client. It is kept public as an engineering artifact and for the author's own deployment, and the default endpoint accepts existing owner credentials only. New accounts cannot be created. The case study lists 44 MCP tools and describes atomic work leases, heartbeats, delegation lineage, signed ingress and a single-use human-answer path.
On the client side, read-only calls retry transient failures up to three times within 35 seconds, while writes are never retried. Redirects are refused, non-local URLs must use https, keys travel in environment variables, and tool output redacts agent keys unless a development flag is set.
Install
Run in a terminal
claude mcp add delega --env DELEGA_API_KEY='<DELEGA_API_KEY>' --env DELEGA_CF_ACCESS_CLIENT_ID='<DELEGA_CF_ACCESS_CLIENT_ID>' --env DELEGA_CF_ACCESS_CLIENT_SECRET='<DELEGA_CF_ACCESS_CLIENT_SECRET>' -- npx -y @delega-dev/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"delega": {
"command": "npx",
"args": [
"-y",
"@delega-dev/mcp"
],
"env": {
"DELEGA_API_KEY": "<DELEGA_API_KEY>",
"DELEGA_CF_ACCESS_CLIENT_ID": "<DELEGA_CF_ACCESS_CLIENT_ID>",
"DELEGA_CF_ACCESS_CLIENT_SECRET": "<DELEGA_CF_ACCESS_CLIENT_SECRET>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"delega": {
"command": "npx",
"args": [
"-y",
"@delega-dev/mcp"
],
"env": {
"DELEGA_API_KEY": "<DELEGA_API_KEY>",
"DELEGA_CF_ACCESS_CLIENT_ID": "<DELEGA_CF_ACCESS_CLIENT_ID>",
"DELEGA_CF_ACCESS_CLIENT_SECRET": "<DELEGA_CF_ACCESS_CLIENT_SECRET>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"delega": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@delega-dev/mcp"
],
"env": {
"DELEGA_API_KEY": "<DELEGA_API_KEY>",
"DELEGA_CF_ACCESS_CLIENT_ID": "<DELEGA_CF_ACCESS_CLIENT_ID>",
"DELEGA_CF_ACCESS_CLIENT_SECRET": "<DELEGA_CF_ACCESS_CLIENT_SECRET>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"delega": {
"command": "npx",
"args": [
"-y",
"@delega-dev/mcp"
],
"env": {
"DELEGA_API_KEY": "<DELEGA_API_KEY>",
"DELEGA_CF_ACCESS_CLIENT_ID": "<DELEGA_CF_ACCESS_CLIENT_ID>",
"DELEGA_CF_ACCESS_CLIENT_SECRET": "<DELEGA_CF_ACCESS_CLIENT_SECRET>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"delega": {
"command": "npx",
"args": [
"-y",
"@delega-dev/mcp"
],
"env": {
"DELEGA_API_KEY": "<DELEGA_API_KEY>",
"DELEGA_CF_ACCESS_CLIENT_ID": "<DELEGA_CF_ACCESS_CLIENT_ID>",
"DELEGA_CF_ACCESS_CLIENT_SECRET": "<DELEGA_CF_ACCESS_CLIENT_SECRET>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
DELEGA_API_KEYExisting Delega owner credential. Public hosted onboarding is retired.RequiredDELEGA_API_URLDelega API endpoint. The default https://api.delega.dev is an owner-only private runtime.DELEGA_CF_ACCESS_CLIENT_IDCloudflare Access service-token client ID. Configure it together with DELEGA_CF_ACCESS_CLIENT_SECRET.DELEGA_CF_ACCESS_CLIENT_SECRETCloudflare Access service-token secret. Configure it together with DELEGA_CF_ACCESS_CLIENT_ID.
What it does
- Task coordination
- Exposes the Delega task system for agents, with leases, heartbeats and delegation lineage.
- Safe retries
- Read calls retry briefly; POST, PUT and DELETE are never retried automatically.
- Redirects refused
- Authentication headers and bodies stay at the configured endpoint.
- Key redaction
- Tool output hides full agent keys and webhook secrets unless dev flags are enabled.
- Cloudflare Access
- Optional service-token headers support protected deployments.
- Stdio via npm
- Runs through npx as @delega-dev/mcp.
Good for
- Study a worked example of an agent coordination and trust-boundary design
- Keep an existing Delega owner deployment connected to MCP clients
- Review how an MCP client handles retries, redirects and secrets
Pricing
Pricing unknown
Hosted access retired; existing owner credentials only
Prices change. Check ryanmcmillan.com before you buy.
Delega FAQ
Can I sign up for Delega?
No. Public hosted access was retired on July 28, 2026; only existing owner credentials work.
How do I install the client?
Run npm install -g @delega-dev/mcp, or use npx -y @delega-dev/mcp in your MCP client config.
Which variables does it need?
An agent key in DELEGA_AGENT_KEY or DELEGA_API_KEY, and optionally DELEGA_API_URL and the Cloudflare Access client ID and secret.
Why was the service retired?
The author says production data did not support the commercial thesis, so signup, pricing and billing were closed.
How do I add Delega to Claude Code?
Run this command in your terminal: claude mcp add delega --env DELEGA_API_KEY='<DELEGA_API_KEY>' --env DELEGA_CF_ACCESS_CLIENT_ID='<DELEGA_CF_ACCESS_CLIENT_ID>' --env DELEGA_CF_ACCESS_CLIENT_SECRET='<DELEGA_CF_ACCESS_CLIENT_SECRET>' -- npx -y @delega-dev/mcp
What are the best alternatives to Delega?
The closest alternatives to Delega are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.


