1. Conduid
  2. Files
  3. Task Queue MCP
MCP server · Files

Task Queue MCP

A FastMCP server that exposes the agent orchestration task queue as an MCP tool interface. Agents submit tasks, check status, and record completions through typed, validated tools instead of raw YAML file writes.

Unclaimed mcptask-queue
34Low

Scored 6 months ago · breakdown

About Task Queue MCP

Task Queue MCP is an MCP server published by TadMSTR in the Files category: a FastMCP server that exposes the agent orchestration task queue as an MCP tool interface. Agents submit tasks, check status, and record completions through typed, validated tools instead of raw YAML file writes.

The repository has 3 stars and 1 forks, with the last commit 5 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/TadMSTR/task-queue-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (10)

amend_taskAppend a correction to a queued task; the original description is never rewritten

Parameters not published.

cancel_taskGraceful terminal `cancelled` state for stale tasks (record kept, never deleted)

Parameters not published.

get_taskRetrieve a single task by UUID (resolves archived and dead-lettered tasks too)

Parameters not published.

list_tasksList tasks with optional filters; TTL-expired tasks excluded

Parameters not published.

park_taskPause a task without hiding it — stays listed, exempt from TTL, nothing picks it up

Parameters not published.

requeue_dead_letterOperator-only — return a dead-lettered task to the queue at `submitted`

Parameters not published.

set_task_statusOperator status change — approve, cancel, park, or advance a missed task (audited override)

Parameters not published.

submit_taskCreate a new task with `status: submitted`

Parameters not published.

unpark_taskReturn a parked task to the status it was parked from

Parameters not published.

update_taskAgent-facing status transition (strict); appends a history entry

Parameters not published.

Ask AI

✦

Ask AI about Task Queue MCP

Powered by Claude · Grounded in docs

I know everything about Task Queue MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

task-queue-mcp

A FastMCP server that exposes the agent orchestration task queue as an MCP tool interface. Agents submit tasks, check status, and record completions through typed, validated tools instead of raw YAML file writes.

Runs as a Docker container on port 8485. Wired globally into ~/.claude.json so all Claude Code agent sessions have access.

Tools

Tool Description
submit_task Create a new task with status: submitted
list_tasks List tasks with optional filters; TTL-expired tasks excluded
get_task Retrieve a single task by UUID
update_task Transition status and append a history entry

submit_task

submit_task(
    source_agent="research",
    target_agent="claudebox",       # agent name or "auto" for dispatcher routing
    task_type="build",              # build | deploy | fix | research | review | audit | notify
    summary="Deploy qmd update",
    description="Apply the qmd stack update from build plan...",
    risk_level="low",               # low | medium | high (default: low)
    requires_approval=False,        # explicit override of approval gate
    priority="normal",              # normal | high | urgent (default: normal)
    context_refs=["/home/ted/.claude/projects/research/build-plans/qmd/plan.md"],
    ttl_days=30,
)
# → {"ok": true, "task_id": "<uuid>", "filename": "<timestamp>-<slug>.yml"}

context_refs must be absolute paths. risk_level and priority are validated against allowlists. The server generates the UUID, sets created, and initializes alert_state and retry_policy stubs.

list_tasks

list_tasks(
    target_agent="claudebox",       # optional
    source_agent="research",        # optional
    status="approved,in-progress",  # comma-separated, optional
    task_type="build",              # optional
    include_archived=False,         # include archive/ subdirectory
    limit=20,                       # max 200
)
# → list of task dicts, sorted by created descending

Tasks past their ttl_days are excluded. The dispatcher is authoritative for TTL archiving, but list_tasks filters them out proactively so agents don't act on stale items.

get_task

get_task(task_id="a7f3d2c1-1234-5678-abcd-000000000000")
# → full task dict, or {"ok": false, "error": "not found"}

Searches the main queue first, then archive/. Requires a full UUID — no prefix matching.

update_task

update_task(
    task_id="a7f3d2c1-1234-5678-abcd-000000000000",
    status="in-progress",           # see transition table below
    actor="claudebox",
    note="Claimed task, starting build.",
    output=None,                    # written to result.output on completed/failed
)
# → {"ok": true, "task_id": "<uuid>"} or {"ok": false, "error": "..."}

Valid transitions:

From To
approved in-progress
in-progress completed
Any non-terminal failed

Non-terminal: submitted, pending-approval, approved, in-progress. Terminal: completed, failed.

alert_state and retry_policy are dispatcher-owned — update_task never touches them.

Status Lifecycle

submitted → [pending-approval] → approved → in-progress → completed
                                                 ↓
                                              failed

The dispatcher owns the submitted → approved/pending-approval transitions. Agents own approved → in-progress → completed (or failed). Approval gating is controlled by agent manifests and the requires_approval field.

Deployment

Docker (production)

services:
  task-queue-mcp:
    image: task-queue-mcp:latest
    container_name: task-queue-mcp
    ports:
      - "8485:8485"
    volumes:
      - /home/ted/.claude/task-queue:/task-queue
    environment:
      - TASK_QUEUE_DIR=/task-queue
      - MCP_HOST=0.0.0.0
      - MCP_PORT=8485
    cap_drop: [ALL]
    security_opt: [no-new-privileges:true]
    read_only: true
    tmpfs: [/tmp]
    user: "1000:1000"
    restart: unless-stopped
    networks:
      - claudebox-net

The container mounts only the task-queue directory read-write. The rest of the filesystem is read-only. /tmp is a tmpfs for transient scratch space.

Claude Code settings.json

{
  "mcpServers": {
    "task-queue-mcp": {
      "type": "url",
      "url": "http://localhost:8485/mcp"
    }
  }
}

Environment Variables

Variable Default Description
TASK_QUEUE_DIR /task-queue Path to the task queue directory inside the container
MCP_HOST 0.0.0.0 Bind host for the HTTP server
MCP_PORT 8485 Port for the HTTP server

Building

docker build -t task-queue-mcp:latest .

Development

pip install -r requirements.txt

# Run tests
pytest

# Run server locally (against a local task-queue directory)
TASK_QUEUE_DIR=/home/ted/.claude/task-queue python -m src.server

The test suite (21 tests) covers all four tools including validation edge cases and adversarial YAML strings. All writes use yaml.dump — never string interpolation — to prevent YAML injection.

Security

Port 8485 is unauthenticated. Access is limited to LAN only — the port is not proxied externally via SWAG and the host firewall blocks external access. The container runs as UID 1000 with cap_drop: ALL and no-new-privileges.

Task File Schema

Tasks are YAML files in ~/.claude/task-queue/, named YYYYMMDD-HHMMSS-<uuid-prefix>.yml. All writes are atomic (write to .tmp, then os.rename()). Per-task file locks via fcntl.flock prevent races between concurrent MCP calls and the dispatcher.

For the full schema and lifecycle documentation, see the homelab-agent component doc.

Related

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Task Queue MCP

How do I install Task Queue MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Task Queue MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Task Queue MCP still maintained?

Yes — the last commit was 5 days ago. The repository has 3 stars and 1 forks.