Self-hosted MCP server for AI-driven task management with delegation chains, lifecycle webhooks, and persistent context.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Delega MCP.
list_tasksList tasks from Delega. Visibility depends on your role: workers see tasks they created, were assigned, completed, or claimed; coordinators and admins see all account tasks — including other agents' work, so act only on tasks assigned to you or unowned ones you claim, and coordinate on teammates' tasks via add_comment. Optionally filtered by project, label, due date, or completion status. To resume work at the start of a session, call with completed:false, then use get_task_context on your tasks to recover prior decisions and state instead of starting from zero.
get_taskGet full details of a specific task including subtasks
link_taskAttach a branch, commit, pull request, or URL link to a task. Use this when work in a repo, PR, or external artifact should travel with the task.
list_task_linksList branch, commit, pull request, and URL links attached to a task.
create_taskCreate a new task in Delega
list_recurrencesList recurring task templates. Recurrences spawn normal task instances on schedule; completing an instance does not delete the schedule.
Maintenance status: Delega’s public hosted service retired on July 28, 2026. This client remains public as a verifiable engineering artifact and for Ryan McMillan’s existing private deployment. New public accounts and hosted access are not available. See the case study.
MCP server for Delega — a production task-coordination system for AI agents.
The package is maintained only where Ryan’s private operational use requires it. The default hosted endpoint accepts existing owner credentials only.
Add to your MCP client config (e.g. Claude Code claude_code_config.json):
| Variable | Default | Description |
|---|---|---|
DELEGA_API_URL | https://api.delega.dev | Delega API endpoint. The default is Ryan McMillan’s owner-only private runtime; https://staging-api.delega.dev uses the same /v1 namespace with staging credentials; custom /api-style endpoints (e.g. http://localhost:18890) are an advanced override. |
DELEGA_AGENT_KEY | (none) | Agent API key for authenticated requests. Preferred for MCP configs; if both key env vars are set, this one wins. |
DELEGA_API_KEY | (none) | Fallback alias accepted so the MCP, CLI, and SDK can share one env var when needed. |
DELEGA_CF_ACCESS_CLIENT_ID | (none) | Cloudflare Access service-token client ID for protected deployments. Must be set together with DELEGA_CF_ACCESS_CLIENT_SECRET. |
DELEGA_CF_ACCESS_CLIENT_SECRET | (none) | Cloudflare Access service-token secret. Must be set together with DELEGA_CF_ACCESS_CLIENT_ID; never place it in arguments or logs. |
DELEGA_DEBUG | 0 | Development/troubleshooting only. Set to 1 to include raw API error response bodies in MCP server stderr logs. Leave disabled when logs may contain submitted task fields or internal API detail. |
DELEGA_REVEAL_AGENT_KEYS | 0 | ⚠️ Development only. Set to 1 to print full API keys in tool output. Never enable in production: a prompt-injected agent could exfiltrate keys from register_agent or list_agents responses. |
DELEGA_REVEAL_WEBHOOK_SECRETS | 0 | ⚠️ Development only. Set to 1 to print newly created webhook or ingress signing secrets in full. Leave disabled when transcripts or tool output may be retained. |
Existing owner agents use https://api.delega.dev. This is not a public onboarding endpoint.
Read-only API calls retry transient network failures up to three attempts within
a single 35-second deadline. Mutating calls (POST, PUT, and DELETE) are
never retried automatically, which avoids duplicating a write when the server
may have accepted it before the connection failed. Non-successful HTTP
responses are surfaced immediately without retrying.
DELEGA_API_URL values must use https://.DELEGA_REVEAL_AGENT_KEYS=1 in production. This flag exists for initial setup only. In production, a prompt-injected agent could exfiltrate keys from register_agent or list_agents tool output. Keys are returned once at creation time; register a replacement agent if you need a new key.| Tool | Description |
|---|---|
list_tasks | Compact complete pagination; filter by project, label, due date, completion, claim, assignee, search or session state |
get_task | Get full task details including subtasks and task links |
link_task | Attach a branch, commit, PR, or URL link to a task |
list_task_links | List branch, commit, PR, and URL links attached to a task |
create_task | Create a new task (optional evidence_policy: 'required' forces completion evidence) |
list_recurrences | List recurring task templates |
create_recurring_task | Create a recurring task template (daily, weekly, monthly, or yearly) |
update_recurrence | Update a recurring task template, including pausing/resuming with active |
delete_recurrence | Delete a recurring task template; existing spawned task instances remain |
update_task | Update task fields (incl. assigned_to_agent_id) |
assign_task | Assign a task to an agent (or pass null to unassign) |
delegate_task | Delegate a task: create a child task linked to a parent (parent status flips to delegated). Use this for multi-agent handoffs — assign_task does not create a delegation chain. |
get_task_chain | Return the full delegation chain for a task (root + descendants, sorted by depth) |
update_task_context | Merge keys into a task's persistent context blob (deep merge, not replace), recording provenance source |
get_task_context | Current summary/key index or exact key selection; bounded full access and per-key provenance |
get_context_history | Read the append-only provenance ledger for a task's context |
recall | Search decision-memory across ALL tasks — recall a prior decision/fact without knowing which task holds it. Ranked, human-stated weighted highest, scoped to what you can read. Hosted API only. |
find_duplicate_tasks | Check whether proposed task content is similar to existing open tasks (TF-IDF + cosine similarity). Call before create_task to avoid redundant work. |
get_usage | Return quota + rate-limit info. Hosted API only (api.delega.dev); custom endpoints receive a clear error. |
claim_task | Claim a task for exclusive processing (work-queue semantics). Without task_id, claims the next available task from the queue; with task_id, targets a specific task. Lease-based: default 300s, configurable 30-3600. Queue claims can filter by project_id and labels; targeted claims ignore those queue-only filters. Hosted API only. |
heartbeat_task | Extend the lease on a claimed task. Optionally report working, waiting_input, or errored plus detail while extending the lease. Hosted API only. |
release_task | Release a claimed task back to the queue without completing it. Pass an optional handoff note ("where I left off / why I stopped") that the next agent sees as a "Resuming from" line. Hosted API only. |
set_task_state | Report working, waiting_input, or errored on a claimed task without extending the lease. Hosted API only. |
complete_task | Mark a task as completed, optionally attaching structured evidence (commit/PR/CI check/deploy SHA/artifact/command output). Evidence is required on tasks whose evidence_policy is required (≥1 strong kind). |
delete_task | Delete a task permanently |
add_comment | Add a comment to a task |
list_projects | List all projects |
get_stats | Get task statistics |
fleet_attention | Triage board of work needing a human: abandoned claims, silent holders, errored, waiting-on-input, overdue, and looping tasks. Scoped like stats. Hosted API only. |
list_agents | List registered agents |
register_agent | Register a new agent (returns API key), optionally with a role preset |
set_agent_role | Set an agent's role: worker, coordinator, or admin (admin key required) |
delete_agent | Delete an agent (refused if the agent has active tasks or is the last active agent) |
list_webhooks | List all webhooks (admin only) |
create_webhook | Create a webhook for event notifications: task.created, task.updated, task.completed, task.deleted, task.assigned, task.delegated, task.commented, task.claimed, task.released, task.state_changed, and task.linked (admin only) |
delete_webhook | Delete a webhook by ID (admin only) |
list_automations | List automation rules with run/failure counters (admin only). Hosted API only. |
create_automation | Create a when→then automation rule that runs in-process on task events — e.g. "when a task labeled bug is created, assign it to Codex at P3". Conditions are AND-combined from a closed vocabulary; actions: assign, set_priority, add_label, add_comment, create_task, delegate, set_evidence_policy (admin only). Hosted API only. |
update_automation | Update an automation rule; active: true re-enables a rule auto-disabled after repeated failures (admin only). Hosted API only. |
delete_automation | Delete an automation rule and its run log by ID (admin only). Hosted API only. |
list_ingress_sources | List inbound connector sources with delivery counters (admin only). Hosted API only. |
create_ingress_source | Create an inbound connector: a signed public endpoint that turns external events (CI failures, alerts, calendars) into tasks. Returns the HMAC signing secret once. (admin only). Hosted API only. |
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/delega-dev-delega-mcp)<a href="https://allmcps.com/mcp/delega-dev-delega-mcp"><img src="https://allmcps.com/api/badge/delega-dev-delega-mcp?style=directory" alt="Delega MCP on AllMCPs" /></a>