# Govern Cline (formerly Claude Dev) with Agentic Control Plane

Add ACP as an MCP server in Cline to log and govern every tool call from the VS Code AI agent. Audit trail in your dashboard within minutes.

# Govern Cline with Agentic Control Plane

[Cline](https://docs.cline.bot) (formerly Claude Dev) is a VS Code extension that runs autonomous coding agents. Unlike Claude Code or Cursor, Cline doesn't expose a Claude-style PreToolUse hook — but it does support the Model Context Protocol (MCP). ACP integrates as an MCP server, intercepting every tool call Cline routes through it.

## TL;DR

Add ACP as an MCP server in Cline's settings. From Cline's MCP server panel, add:

```json
{
  "mcpServers": {
    "acp": {
      "url": "https://mcp.agenticcontrolplane.com/mcp",
      "transport": "streamable-http",
      "auth": {
        "type": "bearer",
        "token": "gsk_yourslug_xxxxxxxxxxxx"
      }
    }
  }
}
```

Get the `gsk_` token from [cloud.agenticcontrolplane.com](https://cloud.agenticcontrolplane.com) → API Keys.

## How it works

Cline routes tool calls through any configured MCP server. Once ACP is wired in, tools that match ACP's namespace (or any tool you explicitly route through ACP) hit the seven-layer governance pipeline — identity, scopes, ABAC, rate limits, content scanning.

Tools that Cline executes directly (its built-in file editor, terminal commands without MCP routing) are **not** intercepted. This is the path 2 limitation — MCP-connector governance only sees what's explicitly routed via MCP.

## What you'll see in the dashboard

[cloud.agenticcontrolplane.com/agents](https://cloud.agenticcontrolplane.com/agents) shows Cline traffic with `client.name: "cline"` (or whatever Cline reports during MCP `initialize`). Each tool call shows up in the activity log with the session, identity, and decision.

## Limitations

- **No PreToolUse hook in Cline today.** Only MCP-routed tool calls are governed. Cline's built-in tools (Read, Write, Edit) bypass ACP unless you wire them through MCP.
- **MCP server must be configured per workspace.** Cline reads MCP settings per VS Code workspace; share the config with your team via `.vscode/settings.json`.
- **Auto-approve mode skips human review** but does not skip MCP routing. ACP still sees the call.

## Related integrations

- [Claude Desktop](/integrations/claude-desktop) — same MCP-only pattern, different host
- [Claude Code](/integrations/claude-code) — true PreToolUse hook for higher-fidelity governance
- [Cursor](/integrations/cursor) — IDE alternative with hook-based ACP integration

<script type="application/ld+json">
{"@context":"https://schema.org","@type":"HowTo","name":"Add Agentic Control Plane to Cline","step":[{"@type":"HowToStep","name":"Get an ACP API key","text":"Sign up at cloud.agenticcontrolplane.com and create a gsk_ key."},{"@type":"HowToStep","name":"Open Cline MCP settings","text":"In VS Code, open Cline's MCP server panel."},{"@type":"HowToStep","name":"Add ACP MCP server","text":"Add mcp.agenticcontrolplane.com/mcp with bearer auth using your gsk_ key."}]}
</script>
