Skip to Content

Claude Code

Connect Claude Code to conciv, and what conciv runs when it is the session's agent.

Claude Code connects to conciv as an MCP server. It is also the harness a new chat starts with.

Connect Claude Code

Run this once, in any folder:

Terminal
npx @conciv/cli mcp connect claude

It adds conciv's MCP server, named conciv-hub, to Claude Code for your user. Under the hood it runs claude mcp add -s user. On success it prints:

Output
{"ok": true, "data": {"connected": "claude"}}

Then drive the tab you have open from Claude Code in your terminal. The walkthrough, from the first prompt to picking a tab and troubleshooting, is in Outside agent.

The project plugin

conciv's init also installs a Claude Code plugin, conciv-connect, for this project only. It lives in .conciv/claude-connect. It holds a conciv skill and an MCP bridge. The bridge reads the engine's address from .conciv/mcp-endpoint.json, which the engine writes when it starts.

What conciv runs in the chat

When Claude is the session's harness, conciv runs Claude Code on your machine, in your project, with your own login:

What conciv passes Claude Code
permission mode   auto                     <- Claude Code asks when it judges a step risky
ask rules         git push --force, ...    <- these commands always ask, as a card
system prompt     appended                 <- conciv's instructions follow Claude Code's own
AskUserQuestion   off                      <- the agent asks with a card in the thread instead
model             opus                     <- unless you pick another in the model menu

conciv adds ask rules, so these commands always ask, even in auto mode:

  • git push that forces (--force, -f) or deletes a remote branch (--delete, -d, a :branch refspec)
  • git reset --hard
  • git clean
  • git branch -D
  • git gc --prune
  • a recursive rm (-r, -R, -fr, -fR)
  • a recursive chmod -R or chown -R
  • anything run with sudo

Each ask shows as a Permission card. A tool call waits up to an hour for your answer.

The model menu lists your account's own models, the same list as Claude Code's model picker. A picked effort level reaches Claude Code as its effort setting.

Claude gives the chat the most of any harness: its own commands, image attachments, compaction, past sessions and the Terminal tab. Learn more in Harnesses.

Disconnect

Terminal
npx @conciv/cli mcp disconnect claude

This stops conciv answering Claude Code. It removes conciv-hub from its config.

Next steps

  • Approvals: answer the cards Claude Code asks.
  • Chat: what you do in the chat.
  • Codex: the same for Codex.

On this page