Human-in-the-Loop Task Manager for AI Agents
Docs / Agents / Integrations
Integrations

Connect Cline to AgentRQ

Connect Cline to AgentRQ over the Agent Client Protocol (ACP) for human-in-the-loop task management.

Cline is a popular open-source autonomous coding agent that runs inside VS Code and other editors, and can also run standalone in Agent Client Protocol (ACP) mode.

Does Cline Support ACP?

Yes. Cline starts an ACP server with the --acp flag, which lets any ACP client — including AgentRQ's gateway — drive it over stdio.

What Connecting via ACP Gets You

Once Cline is bridged through AgentRQ's ACP Gateway, every task it works on shows up on your AgentRQ task board in real time. You can approve risky commands, reply with extra context, or reassign work — from the dashboard or Slack — without touching the terminal Cline is running in.

Connect Cline

Wrap Cline's ACP mode with AgentRQ's gateway:

bash
npx @agentrq/acp-gateway@latest -- cline --acp

Then point it at your workspace with a .mcp.json in your project root:

json
{
  "mcpServers": {
    "agentrq": {
      "type": "http",
      "url": "https://WORKSPACE_ID.mcp.agentrq.com/mcp?token=TOKEN"
    }
  }
}

See the ACP Gateway guide for the full setup walkthrough, including where to find your Workspace ID and token.

FAQ

Does Cline work with AgentRQ?

Yes — Cline speaks the Agent Client Protocol (ACP), so it connects to AgentRQ through the open-source ACP Gateway with no custom integration code.

How do I connect Cline to AgentRQ?

Run npx @agentrq/acp-gateway@latest -- cline --acp from your project root, with a .mcp.json pointing at your AgentRQ workspace.

What is the Agent Client Protocol (ACP)?

ACP is an open, editor-agnostic protocol that lets any coding agent talk to any client over a standard JSON-RPC interface. AgentRQ's gateway implements the client side of ACP, so any ACP-compatible agent — including Cline — can use AgentRQ as its human-in-the-loop task manager.

References