# Claude Code, Codex and Cursor on one repo

<!--
title: "Run Claude Code, Codex and Cursor agents on the same repo · Cork"
description: "One install sets up Cork's hooks for Claude Code, Codex, Cursor and Hermes; any other MCP client connects to the same server. A rename in a Codex session reaches a Claude Code or Cursor session on its next step."
canonical: "https://corkcli.com/use-cases/claude-code-codex-cursor-one-repo"
last_updated: "2026-11-15"
-->

One install sets up Claude Code, Codex, Cursor and Hermes; any other MCP client connects to the same server. They share one map of the code, so a rename in Codex reaches Claude Code and Cursor on their next step.

Install, free and local, no account: `npx corkcli` (or `curl -fsSL https://corkcli.com/install.sh | sh`). MCP only: https://mcp.corkcli.com

## How it works

1. **Install the hooks.** `npx corkcli` sets up Claude Code, Codex, Cursor and Hermes on the machine, with no extra model calls.
2. **Add any other client.** Gemini CLI, VS Code, Windsurf, claude.ai and ChatGPT connect to `https://mcp.corkcli.com`, signing in once.
3. **One map for all.** Each agent is briefed from the same map and hears the others' changes, whichever company made it.

## Measured

**53%** fewer tokens with 12 Claude Code agents launched at once on one repo. [Method and raw numbers](https://corkcli.com/benchmarks/study-5-twelve-agents-53-percent)

## Questions

### Do the agents need the same model?

No. Cork coordinates what the agents change in the code, not how they think. Each keeps its own model and settings.

### What does an agent without hooks miss?

Nothing it can't ask for: it calls Cork's MCP tools itself (a briefing first, a check before writing, a report after), as the repo's AGENTS.md tells it. With hooks it all happens without tool calls.

### Can teammates use different tools?

Yes. Ana on Claude Code and Ben on Codex see each other's changes the same way, on one machine or across the team's.

## Read more

- [Cork for Codex](https://corkcli.com/docs/codex)
- [Cork for Cursor](https://corkcli.com/docs/cursor)
- [Cork for Gemini CLI](https://corkcli.com/docs/gemini-cli)
- [Run Codex and Claude Code side by side](https://corkcli.com/blog/run-codex-and-claude-code-side-by-side)
- [Cursor and Claude Code on one codebase](https://corkcli.com/blog/coordinate-cursor-and-claude-code-same-codebase)

[All use cases](https://corkcli.com/use-cases.md) · [Cork in Markdown](https://corkcli.com/index.md) · [llms.txt](https://corkcli.com/llms.txt)

This page in HTML: https://corkcli.com/use-cases/claude-code-codex-cursor-one-repo
