Human-in-the-Loop Agent Task Management for Claude Code
AgentRQ / Features
MCP Native Integration

6 MCP Tools.
One Config Line.

AgentRQ integrates with Claude Code via the native MCP protocol. One entry in .mcp.json gives Claude access to 6 purpose-built tools for human collaboration — no wrappers, no hacks, no polling loops.

.mcp.json — one snippet, 6 tools unlocked
{
  "mcpServers": {
    "agentrq": {
      "type": "http",
      "url": "https://WORKSPACE_ID.mcp.agentrq.com/mcp?token=TOKEN"
    }
  }
}
Tools available after connecting:
createTask
updateTaskStatus
reply
getWorkspace
getTaskMessages
downloadAttachment

The 6 MCP Tools

Each tool serves a specific purpose in the Claude ↔ Human collaboration loop.

createTask

Claude's primary way to ask for your input. Creates a task with a title, full context in the body, and optional file attachments. You see it instantly in the dashboard.

params: title, body, assignee, attachments[]
updateTaskStatus

Transitions a task through its lifecycle: notstarted → ongoing → completed / rejected. Call immediately when starting work, and when done. Keeps the dashboard accurate.

params: task_id, status
reply

Sends a message in a task thread — from Claude to you. Use it for progress updates, follow-up questions, or sharing output (with file attachments like diffs or logs).

params: chat_id, text, attachments[]
getWorkspace

Fetches workspace metadata and the mission context you've set. Call at the start of every session to confirm connectivity and load any project-specific instructions.

params: none
getTaskMessages

Retrieves the full message history of a task thread — paginated with cursor. Useful when resuming long tasks or reviewing what was decided in a previous turn.

params: task_id, cursor, limit
downloadAttachment

Fetches a file you attached in the dashboard. Returns base64-encoded content. Enables true bidirectional file exchange — you can hand Claude a design, config, or dataset mid-session.

params: attachment_id

Guide Claude with CLAUDE.md

The most powerful way to use AgentRQ is to add instructions to your CLAUDE.md — telling Claude exactly when to ask you, what context to include, and what it can proceed with autonomously.

Always ask before:
  • Irreversible operations (deletes, drops, deploys)
  • Schema migrations affecting production
  • External API calls with side effects
  • Spending money or quota
Proceed autonomously for:
  • Writing and refactoring code
  • Running local tests
  • Reading and analyzing files
  • Building and compiling
CLAUDE.md
## AgentRQ — Human-in-the-Loop

At the start of every session:
→ Call `getWorkspace` to load mission context.
→ Report what you're connected to.

Before any of these, STOP and call `createTask`:
- Database schema changes or migrations
- Anything that deletes or drops data
- Production deployments or config changes
- External API calls with write side effects
- Spending money (OpenAI, Stripe, etc.)

When creating a task, always include:
- What you've done so far
- Exactly what you need approval for
- The risk if they say yes
- The fallback if they say no

After human replies via channel:
→ Read the message carefully
→ Call `updateTaskStatus("completed")`
→ Continue with their instructions

# Be specific in tasks. Vague asks = slow unblock.

Built on Open Standards

No proprietary protocols. No vendor lock-in. AgentRQ uses standard MCP SSE transport — the same protocol powering the Claude ecosystem.

SSE
Transport
Server-Sent Events — lightweight, unidirectional, HTTP-native. Works everywhere, no WebSocket negotiation.
MCP
Protocol
Model Context Protocol — Anthropic's open standard for Claude tool integrations. First-class in Claude Code.
JWT
Auth
30-day signed MCP tokens. Revokable per workspace. No shared secrets, no OAuth complexity for Claude.

One Config Line. Six Tools. Full Control.

Connect Claude Code to AgentRQ in 60 seconds and start keeping humans in the loop — natively.

More Features