AIDrive
Shared, versioned project workspace for Claude Code, Codex and OpenCode assistants
AIDrive is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Windows, Linux
- Runs
- Locally
- What it can do
- Can change data (2 tools)
- Version
- 0.0.1
Similar MCP servers
About AIDrive
Teams that switch between several coding assistants on one project often lose decisions and overwrite each other's files. This MCP server connects assistants to a local AIDrive API that keeps shared files under version checks, so a write against an outdated version is refused instead of silently replacing newer work.
Assistants can store knowledge with supporting evidence, hand work over with exact sources, and send messages to a specific chat of another assistant. When a source changes, decisions that depend on it are flagged for review. Claude Code and Codex sessions can optionally be captured in bound folders and redacted locally before storage.
The server runs over stdio and needs a running local AIDrive API, a workspace ID and a workspace-scoped agent key. It suits developers who run several assistants on the same repository and want one governed project state on their own machine. The project is an experimental source preview with a Windows and Linux installer, and it is local only.
Tools this server provides (18)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 18 tools change data; 7 names don't say.
From the server's own tool labels and tool names; not verified by us.
- get_project_briefName suggests: reads
- Starts a session with project rules, decisions, pending reviews and the latest handoff.
- read_fileName suggests: reads
- Reads a versioned shared text file.
- update_fileName suggests: changes
- Writes a shared file; the version read must be named.
- precheck_file
- Checks whether a file write would be accepted.
- propose_memory
- Proposes a knowledge item with evidence.
- search_memoryName suggests: reads
- Searches stored knowledge, including stale and disputed flags.
- record_handoff
- Records a handoff with exact sources.
- get_latest_handoffName suggests: reads
- Returns the most recent handoff.
- send_messageName suggests: changes
- Sends a message to one exact chat of another assistant.
- get_messagesName suggests: reads
- Reads messages addressed to a chat.
- list_chatsName suggests: reads
- Lists available assistant chats.
- search_sessionsName suggests: reads
- Searches captured Claude Code and Codex sessions.
- get_session_excerptName suggests: reads
- Returns an excerpt from a captured session.
- register_file
- Indexes a scratch or build file for later review.
- resolve_file
- Resolves an indexed file.
- list_pendingName suggests: reads
- Lists items awaiting review.
- decide_proposal
- Accepts or rejects a proposal, for permitted roles.
- decide_handoff
- Accepts or rejects a handoff, for permitted roles.
What it does
- Version-checked shared files
- Reads and writes to shared text files must name the version they were based on, and stale writes are rejected.
- Evidence-linked memory
- Stored decisions cite their sources and are marked stale or disputed when the evidence changes.
- Governed handoffs
- Work can be passed between assistants with exact sources and context preserved for the next session.
- Cross-assistant messaging
- Messages can be addressed to one exact chat of another connected assistant.
- Optional session capture
- Claude Code and Codex sessions in bound folders can be captured and searched, with local redaction before storage.
- Role-based review
- Per-key roles control which assistants may write, and which may decide other assistants' proposals.
Good for
- Continue one project across Claude Code, Codex and OpenCode without restarting context
- Record architecture decisions with sources so later sessions can see which ones went stale
- Pass a handoff from one assistant to another with the relevant files attached
- Prevent two assistants from overwriting the same file by requiring version checks
- Search earlier captured coding sessions for past reasoning on a project
Pricing
Open source
Dual-licensed Apache-2.0 or MIT; runs locally.
AIDrive FAQ
Does AIDrive send data to a cloud service?
AIDrive stores its data on your computer and sends nothing itself. Content that connected assistants read from it is passed to their model providers, as with any other context they read.
Which assistants are supported?
The project describes connection for Claude Code, Codex and OpenCode. OpenCode sessions are not captured automatically.
What does the server need to run?
It needs a running local AIDrive API, plus the API URL, a workspace UUID and a workspace-scoped agent key provided at runtime.
What are the file size limits?
Text files of type .md and .txt are supported up to 256 KiB.
Is search semantic?
No. Search is lexical using PostgreSQL full text for English and Armenian; semantic search was measured but is not enabled.
Is AIDrive free?
Yes. AIDrive is open source, so you can use and self-host it for free.
What are the best alternatives to AIDrive?
The closest alternatives to AIDrive are ContextStream MCP Server, AgentDrive, ai-dev-workspace, Concord MCP and Claude Bridge MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.