delega-mcp
delega-mcp
Delega 用のMCPサーバー — AIエージェントのためのタスクインフラストラクチャ。
MCP互換クライアント(Claude Code、Cursor、Codexなど)をDelegaインスタンスに接続し、自然言語を通じてタスク、プロジェクト、エージェントを管理します。
インストール
npm install -g @delega-dev/mcpRelated MCP server: Taskmaster MCP Server
設定
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エンドポイント |
| (なし) | 認証済みリクエスト用エージェントAPIキー |
|
| ⚠️ 開発専用。 |
ホスト型ティアの場合は、URLとして https://api.delega.dev を使用してください。
セキュリティに関する注意点
ローカル以外の
DELEGA_API_URL値にはhttps://を使用する必要があります。エージェントキーはコマンドライン引数ではなく環境変数を介して渡されるため、プロセスリストからの漏洩を防ぎます。
MCPツールの出力では、デフォルトで完全なエージェントAPIキーが隠蔽されます。
本番環境で
DELEGA_REVEAL_AGENT_KEYS=1を設定しないでください。 このフラグは初期設定専用です。本番環境では、プロンプトインジェクションを受けたエージェントがcreate_agentやlist_agentsツールの出力からキーを流出させる可能性があります。キーは作成時に一度だけ返されます。新しいキーが必要な場合はrotate_agent_keyを使用してください。
ツール
ツール | 説明 |
| タスクの一覧表示(プロジェクト、ラベル、期限、完了状態でフィルタリング可能) |
| サブタスクを含むタスクの詳細を取得 |
| 新しいタスクを作成 |
| タスクフィールドを更新( |
| タスクをエージェントに割り当て( |
| タスクを委任:親にリンクされた子タスクを作成(親のステータスは |
| タスクの完全な委任チェーンを返す(ルート + 子孫、深さ順) |
| タスクの永続的なコンテキストBLOBにキーをマージ(置換ではなくディープマージ) |
| 提案されたタスクの内容が既存のオープンタスクと類似しているかを確認(Jaccard類似度)。重複作業を避けるため |
| クォータとレート制限情報を返す。ホスト型API専用 ( |
| タスクを完了としてマーク |
| タスクを完全に削除 |
| タスクにコメントを追加 |
| すべてのプロジェクトを一覧表示 |
| タスク統計を取得 |
| 登録済みエージェントを一覧表示 |
| 新しいエージェントを登録(APIキーを返す) |
| エージェントを削除(アクティブなタスクがある場合は拒否されます) |
| すべてのWebhookを一覧表示(管理者のみ) |
| イベント通知用のWebhookを作成(管理者のみ) |
| IDでWebhookを削除(管理者のみ) |
タスクの出力形式
タスクを返すツール(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: noAssigned 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 BLOBをプリティプリントする詳細表示を使用します(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
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
- AlicenseBqualityDmaintenanceEnables AI agents to break down complex tasks into manageable pieces using a structured JSON format with task tracking, context preservation, and progress monitoring capabilities.15317MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with simplified task management through a 4-step workflow (create session, define tasks, execute, complete) that works with any LLM without requiring complex thinking patterns.
- AlicenseNot gradedqualityAmaintenanceA multi-agent task management system for AI applications that enables users to create agents with roles and capabilities, delegate tasks with trust-based routing, coordinate file access to prevent conflicts, and monitor performance through a unified dashboard.11MIT
- FlicenseAqualityDmaintenanceEnables comprehensive task management with groups, custom statuses, and task relationships, designed for AI assistants to manage tasks during conversations.17
Related MCP Connectors
Human-as-a-Service for AI agents. Delegate tasks that need a real human, get results via API.
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Durable agent-to-agent handoffs and shared scratchpad for multi-agent workflows.
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/delega-dev/delega-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server