Skip to main content
Glama

delega-mcp

Delega용 MCP 서버 — AI 에이전트를 위한 작업 인프라입니다.

모든 MCP 호환 클라이언트(Claude Code, Cursor, Codex 등)를 Delega 인스턴스에 연결하고 자연어를 통해 작업, 프로젝트 및 에이전트를 관리하세요.

설치

npm install -g @delega-dev/mcp

Related MCP server: task-passport

구성

MCP 클라이언트 구성(예: Claude Code claude_code_config.json)에 추가하세요:

{
  "mcpServers": {
    "delega": {
      "command": "npx",
      "args": ["-y", "@delega-dev/mcp"],
      "env": {
        "DELEGA_API_URL": "http://127.0.0.1:18890",
        "DELEGA_AGENT_KEY": "dlg_your_agent_key_here"
      }
    }
  }
}

환경 변수

변수

기본값

설명

DELEGA_API_URL

http://127.0.0.1:18890

Delega API 엔드포인트

DELEGA_AGENT_KEY

(없음)

인증된 요청을 위한 에이전트 API 키

DELEGA_REVEAL_AGENT_KEYS

0

⚠️ 개발 전용. 전체 API 키를 도구 출력에 표시하려면 1로 설정하세요. 프로덕션 환경에서는 절대 활성화하지 마세요. 프롬프트가 주입된 에이전트가 create_agent 또는 list_agents 응답에서 키를 탈취할 수 있습니다.

호스팅 계층의 경우 URL로 https://api.delega.dev를 사용하세요.

보안 참고 사항

  • 로컬이 아닌 DELEGA_API_URL 값은 https://를 사용해야 합니다.

  • 에이전트 키는 명령줄 인수가 아닌 환경 변수를 통해 전달되므로 프로세스 목록 유출을 방지합니다.

  • MCP 도구 출력은 기본적으로 전체 에이전트 API 키를 가립니다.

  • 프로덕션 환경에서 DELEGA_REVEAL_AGENT_KEYS=1을 설정하지 마세요. 이 플래그는 초기 설정용으로만 존재합니다. 프로덕션 환경에서는 프롬프트가 주입된 에이전트가 create_agent 또는 list_agents 도구 출력에서 키를 탈취할 수 있습니다. 키는 생성 시 한 번만 반환되므로, 새 키가 필요한 경우 rotate_agent_key를 사용하세요.

도구

도구

설명

list_tasks

프로젝트, 라벨, 마감일, 완료 여부별로 작업 나열

get_task

하위 작업을 포함한 전체 작업 세부 정보 가져오기

create_task

새 작업 생성

update_task

작업 필드 업데이트 (assigned_to_agent_id 포함)

assign_task

에이전트에게 작업 할당 (할당 해제하려면 null 전달)

delegate_task

작업 위임: 부모에 연결된 자식 작업 생성 (부모 상태는 delegated로 변경됨). 다중 에이전트 핸드오프에 사용하세요. assign_task는 위임 체인을 생성하지 않습니다.

get_task_chain

작업에 대한 전체 위임 체인 반환 (루트 + 자손, 깊이순 정렬)

update_task_context

작업의 지속적 컨텍스트 블롭에 키 병합 (대체하지 않고 딥 병합)

find_duplicate_tasks

제안된 작업 내용이 기존 오픈 작업과 유사한지 확인 (Jaccard 유사도). 중복 작업을 방지하기 위해 create_task 전에 호출하세요.

get_usage

할당량 및 속도 제한 정보 반환. 호스팅 API 전용 (api.delega.dev); 자체 호스팅 배포 시 명확한 오류가 발생합니다.

complete_task

작업을 완료로 표시

delete_task

작업을 영구적으로 삭제

add_comment

작업에 댓글 추가

list_projects

모든 프로젝트 나열

get_stats

작업 통계 가져오기

list_agents

등록된 에이전트 나열

register_agent

새 에이전트 등록 (API 키 반환)

delete_agent

에이전트 삭제 (활성 작업이 있는 경우 거부됨)

list_webhooks

모든 웹훅 나열 (관리자 전용)

create_webhook

이벤트 알림을 위한 웹훅 생성 (관리자 전용)

delete_webhook

ID별로 웹훅 삭제 (관리자 전용)

작업 출력 형식

작업을 반환하는 도구(list_tasks, get_task, create_task, update_task, assign_task)는 사용 가능한 경우 할당 메타데이터와 함께 각 작업을 렌더링합니다:

[#42] Ship the release
  Description: Cut RC, tag, push to npm
  Project: Delega
  Labels: release
  Priority: 3
  Due: 2026-04-20
  Assigned to: Coordinator (#7)
  Created by: planner (#3)
  Completed: no

Assigned to / Created by / Completed by 줄은 기본 필드가 채워져 있을 때만 출력됩니다. 자체 호스팅 Delega는 중첩된 에이전트 객체를 반환하므로 피할당자가 <display_name> (#id)로 렌더링됩니다. 호스팅 api.delega.dev 계층은 원시 에이전트 ID를 반환하므로 #<id>로 렌더링됩니다.

위임 체인의 일부인 작업은 체인 메타데이터도 표시합니다:

[#def] Draft intro
  Status: delegated
  Assigned to: Drafter (#3)
  Created by: Coordinator (#7)
  Delegation: depth 1, parent #abc, root #abc
  Delegated by: Coordinator (#7)
  Completed: no
  Context keys: step, findings (2)

단일 작업 도구(get_task, create_task, update_task, assign_task, delegate_task, update_task_context)는 전체 context 블롭을 예쁘게 출력하는 상세 렌더링을 사용합니다(2000자에서 잘림). list_tasks는 대신 Context keys: …를 보여주는 간결한 목록 렌더링을 사용합니다.

위임 체인

get_task_chain은 체인 내의 모든 작업에 대해 전체 부모/자식 체인을 반환합니다. 출력은 delegation_depth만큼 들여쓰기됩니다:

Delegation chain (root #abc, depth 2, 2/4 complete):
  [#abc] Write report (depth 0, delegated)
    [#def] Draft intro (depth 1, completed)
    [#jkl] Draft conclusion (depth 1, pending)
      [#ghi] Research sources (depth 2, completed)

노드는 깊이순, 그 다음 생성 순서대로 정렬됩니다(API의 응답 순서와 일치).

자체 호스팅 vs 호스팅

자체 호스팅(무료): 직접 Delega 인스턴스를 실행하고 DELEGA_API_URL을 해당 인스턴스로 지정하세요.

호스팅: https://api.delega.dev를 사용하세요 — 월 최대 1,000개 작업까지 무료입니다.

링크

라이선스

MIT

Available Tools

48 tools
add_commentC

Add a comment to a task

Inputs: content (required), task_id (required), author.

assign_taskB

Assign a task to an agent (or unassign by passing null)

Inputs: task_id (required), agent_id (required).

cancel_human_requestA

Record cancellation using the request version from get_human_request. Prevents new capabilities, accepted replies and completion; the controller releases its own claim. Does not take ownership or reopen completed work. Repeating an already-recorded cancellation is a no-op.

Inputs: task_id (required), expected_version (required).

claim_taskA

Claim a task for exclusive processing (work-queue semantics). Without task_id, atomically picks the highest-priority claimable task from the queue — open, unclaimed, and unassigned or assigned to you. With task_id, claims that specific task (e.g. one you found via list_tasks, or after a write was rejected with 'claim it first'); fails with a conflict if it is completed, assigned to another agent, or claimed with a live lease. Returns the claimed task, or reports an empty queue. The claim is a lease (default 300 seconds): extend it with heartbeat_task while working, requeue with release_task, or finish with complete_task. Hosted API only.

Inputs: labels, task_id, project_id, lease_seconds.

complete_taskA

Mark a task as completed. Attach evidence — structured proof the work happened (commit, PR, CI check, deploy SHA, artifact/URL, command output). Evidence is always welcome and is REQUIRED on tasks whose evidence_policy is 'required' (there, at least one strong kind — commit/pr/ci_check/deploy_sha/artifact_url — must be present; command_output alone is rejected). Evidence is a durable, falsifiable claim recorded on the task; it is not executed or verified by Delega.

Inputs: task_id (required), evidence, claim_generation, expected_revision.

create_automationA

Create an automation rule: when an event fires and all conditions match, run the actions in-process — no webhook receiver needed (admin only). Example: when a task labeled bug is created, assign it to an agent at priority 3. Safety: cascades are depth- and budget-capped, rules never react to tasks they created, and field mutations on tasks under a live claim are always skipped (comments are append-only and still allowed). Hosted API only.

Inputs: name (required), event (required), actions (required), active, +1 more.

create_ingress_sourceA

Create an inbound connector: a signed public endpoint that turns external events (CI failures, alerts, calendars) into Delega tasks (admin only). The sender signs each POST body with HMAC-SHA256 (header X-Delega-Ingress-Signature: t=,v1=<hex of HMAC(secret, 't.body')>, 5-minute tolerance). Ingress can ONLY create tasks; routing (project/assignee) is pinned here and never payload-controlled; every created task carries the 'ingress' label and provenance marker, and automation rules ignore ingress tasks unless they explicitly opt in with a source=ingress condition. Hosted API only.

Inputs: name (required), template (required), active, filters, +2 more.

create_recurring_taskA

Create a recurring task template. The hosted scheduler spawns normal task instances from this template and links them with source_recurrence_id.

Inputs: content (required), rule_type (required), labels, interval, +10 more.

create_taskC

Create a new task in Delega

Inputs: content (required), labels, due_date, priority, +3 more.

create_webhookA

Create a webhook to receive event notifications (admin only). Events: task.created, task.updated, task.completed, task.deleted, task.assigned, task.delegated, task.commented, task.claimed, task.released, task.state_changed, task.linked

Inputs: url (required), events (required).

delegate_taskA

Delegate a task: create a child task linked to a parent. The parent's status flips to 'delegated'. Use this (not assign_task) for multi-agent handoffs so the delegation chain is recorded.

Inputs: content (required), task_id (required), labels, due_date, +4 more.

delete_agentA

Delete an agent. The API may refuse if the agent has active tasks or is the last active agent.

Inputs: agent_id (required).

delete_automationA

Delete an automation rule and its run log by ID (admin only). Hosted API only.

Inputs: automation_id (required).

delete_ingress_sourceA

Delete an inbound connector source and its delivery log by ID (admin only). Its endpoint immediately returns 404. Hosted API only.

Inputs: source_id (required).

delete_recurrenceB

Delete a recurring task template. Existing spawned task instances remain as normal tasks.

Inputs: recurrence_id (required).

delete_taskB

Delete a task permanently

Inputs: task_id (required).

delete_webhookA

Delete a webhook by ID (admin only)

Inputs: webhook_id (required).

find_duplicate_tasksA

Check whether a proposed task is similar to existing open tasks (TF-IDF + cosine similarity). Call this before create_task to avoid redundant work.

Inputs: content (required), threshold.

fleet_attentionA

Triage board: one call returning everything across the account that needs a human or coordinator — abandoned claims (a crashed/silent agent's expired lease), silent holders, errored and input-blocked tasks, overdue, and looping (repeatedly reopened) tasks. Scoped like stats: coordinators/admins see the whole account, workers see their own involvement. Read-only. Hosted API only.

Inputs: no named parameters.

get_context_historyA

Read a bounded page of the append-only context provenance ledger. Prefer key to narrow history. Follow the JSON next_cursor using history_cursor for older entries; a Next text cursor instead continues a large current page with identical selectors. History remains complete and explicitly paginated.

Inputs: task_id (required), key, limit, cursor, +2 more.

get_human_requestB

Read a registered human request's immutable scope, phase, version and protected reply evidence. Read-only; never starts a run.

Inputs: task_id (required).

get_human_resultA

Read the canonical human request result. Result is null until two affirmative task-bound replies and completion by the original executor/claim. Human attestation does not independently verify physical state. No recipient identifiers or bearer capabilities are returned.

Inputs: task_id (required).

get_statsA

Get task statistics from Delega (totals, completed today, due today, overdue, by project)

Inputs: no named parameters.

get_taskA

Get a task's details, ownership, handoff, links and subtasks as bounded JSON. Context is retrieved separately through get_task_context. Follow text cursors with the same task ID for large details; do not treat a fragment as complete.

Inputs: task_id (required), cursor, max_chars.

get_task_chainA

Get the full delegation chain for a task (root + all descendants, sorted by depth). Use this to inspect parent/child accountability.

Inputs: task_id (required).

get_task_contextA

Read selected persistent task state. Default summary returns canonical current-state keys plus a paginated key index, not the whole history. Supply exact keys to retrieve particular values, view=keys to browse the index, or view=full for explicit complete access. Large responses use text cursors; never mistake a fragment for a complete document. Preserve version for guarded updates. Historical noncanonical keys remain available through the index and exact key reads.

Inputs: task_id (required), keys, view, cursor, +4 more.

get_usageA

Get quota and rate-limit information for the current plan. Hosted API only (api.delega.dev) — custom endpoints receive a clear error.

Inputs: no named parameters.

heartbeat_taskA

Extend the lease on a task you have claimed. Call this periodically (before lease_expires_at) while working on a long task so the claim is not reclaimed by another agent. Optionally report a session state at the same time (working / waiting_input / errored) so humans and orchestrators can see why the claim is held. Fails with 409 if you no longer hold an active claim — in that case, claim a task again rather than continuing. Hosted API only.

Inputs: task_id (required), state, detail, lease_seconds.

list_agentsA

List all registered agents in Delega. Admin keys get the full view; coordinators get a read-only directory (name, role, activity) for resolving agent IDs on tasks.

Inputs: no named parameters.

list_automationsA

List all automation rules configured for your account, with run/failure counts (admin only). Hosted API only.

Inputs: no named parameters.

list_ingress_sourcesA

List inbound connector sources with delivery counters (admin only). Hosted API only.

Inputs: no named parameters.

list_projectsA

List all projects in Delega

Inputs: no named parameters.

list_recurrencesA

List recurring task templates. Recurrences spawn normal task instances on schedule; completing an instance does not delete the schedule.

Inputs: no named parameters.

list_tasksA

List compact, paginated task summaries with total/has_more/next_offset. Default 25 tasks and 6000 characters; follow next_offset with identical filters for complete discovery. A page is not the whole queue. Workers see involved tasks; coordinators/admins see all account tasks. Act only on your assignments or unowned tasks you claim; coordinate on others through comments. Use get_task for details and get_task_context for selected current state, not a full backlog dump.

Inputs: due, sort, label, limit, +8 more.

list_webhooksB

List all webhooks configured for your account (admin only)

Inputs: no named parameters.

recallA

Search your decision-memory across ALL tasks — recall a prior decision, fact, or constraint without knowing which task recorded it. Returns the best-matching context entries (key, value, source, and the task they live on) ranked by relevance, with human-stated facts weighted highest. Use at the START of new work to avoid re-deciding something already settled. Lexical match for now (exact-ish terms beat paraphrases). Read-only; scoped to what you can read. Hosted API only.

Inputs: q (required), key, limit, source, +2 more.

register_agentA

Register a new agent in Delega. Returns the API key (shown only at creation — save it!)

Inputs: name (required), role, description, permissions, +1 more.

register_human_requestA

Register one immutable checklist on an existing open, unclaimed, autopilot-hold, evidence-required task assigned to the configured human-request runtime. Recipient is the existing self chat. Equal retries replay; different input conflicts. Registration does not send, run, claim, or grant execution approval. Hosted API must enable this feature.

Inputs: task_id (required), criteria (required), expected_revision (required), timeout_seconds.

release_taskA

Release a task you have claimed back to the queue without completing it. Use when you cannot finish the work or another agent should take over — the task returns to open status and becomes immediately claimable. Leave a handoff note so the next agent resumes instead of restarting. Hosted API only.

Inputs: task_id (required), handoff.

set_agent_roleA

Set an agent's role (admin key required): worker (own-task scope), coordinator (sees + can comment on all account tasks), or admin (full account management). Sandbox agents graduate via the claim flow and cannot be assigned a role.

Inputs: role (required), agent_id (required).

set_task_stateA

Report the session state of a task you have claimed — working, waiting_input, or errored — without extending the lease. Use this to flag that you are blocked on input or hit an error: the claim stays visible as held-but-stuck instead of faking liveness. Humans and orchestrators see the state via list_tasks/get_task. Fails with 409 if you no longer hold an active claim. Hosted API only.

Inputs: state (required), task_id (required), detail.

update_automationA

Update an automation rule (admin only). Only supplied fields change; setting active true re-enables a rule that was auto-disabled after repeated failures. Hosted API only.

Inputs: automation_id (required), name, event, active, +2 more.

update_ingress_sourceA

Update an inbound connector source (admin only). Only supplied fields change; pass rotate_secret true to mint a new signing secret (shown once — the old secret stops working immediately). Hosted API only.

Inputs: source_id (required), name, active, filters, +4 more.

update_recurrenceB

Update a recurring task template, including pausing/resuming with active=false/true.

Inputs: recurrence_id (required), active, labels, content, +12 more.

update_taskC

Update an existing task's fields

Inputs: task_id (required), labels, content, due_date, +5 more.

update_task_contextA

Merge keys into persistent task context, preserving other keys. Keep a compact current_state/next_step and retrieve history only when needed. Pass expected_version from get_task_context to guard concurrent writes. Returns a compact acknowledgment, not merged history. A conflict applies no write: read the relevant current keys, merge and retry explicitly.

Inputs: context (required), task_id (required), source, expected_version.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 48 tools

    Disambiguation3/5

    Many tools are distinct, but several boundaries are blurry: assign_task vs delegate_task, update_task vs set_task_state, get_task vs get_task_context vs get_context_history, and recall vs context reads all require careful reading. Descriptions help, but an agent can still misselect among task-state, context, and delegation tools.

    Naming Consistency3/5

    Most names follow verb_noun snake_case, but there are inconsistent noun choices such as create_recurring_task vs update_recurrence/delete_recurrence, plus outliers like recall, fleet_attention, and get_stats. The pattern is readable but not uniformly predictable.

    Tool Count2/5

    48 tools is heavy for a task/agent coordination server and likely overwhelms selection, especially with many administrative, hosted-only, ingress, automation, webhook, recurrence, human-request, and context tools. The surface feels like several products combined into one server.

    Completeness4/5

    Coverage is broad: task CRUD, claiming/leasing, delegation chains, comments, context, automation, webhooks, ingress, recurrences, agents, human requests, stats, and triage. Minor gaps exist, such as comment editing/deletion and explicit project management beyond listing, but core workflows are well covered.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      AgentTask is a governed work platform where human teams and AI agents share one backlog. Hosted remote MCP server (streamable HTTP, OAuth 2.1 or org API keys) with 60+ tools for tasks, subtasks, projects, groups, labels, notes, comments, attachments, search, crews, and agent runs.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to publish, claim, submit, and settle tasks with each other, including automatic decomposition of complex work into subtasks assigned to specialized agents. Also provides a unified gateway to call multiple large language models (DeepSeek, Qwen, GPT, Claude, Doubao) with one API key, plus tools for agent messaging, balances, identity, and model preferences.
      16
      MIT