AgentDrive MCP Server
Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
AgentDrive scores 68 (Good), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 22 tools. Filed under Uncategorized. GitHub shows 2 stars. Package registries report about 254 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade B
75/100 for listing completeness. Lost points: 22 of 22 tools barely described, short summary.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "rakesh1002-agentdrive-mcp": { "command": "npx", "args": [ "-y", "@adrive/mcp-server@1.4.1" ], "env": { "AGENTDRIVE_API_KEY": "YOUR_AGENTDRIVE_API_KEY", "AGENTDRIVE_AGENT_PLATFORM": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
AGENTDRIVE_API_KEYSecret | Optional | AgentDrive API key. Optional after `npx @adrive/cli auth login`. |
AGENTDRIVE_AGENT_PLATFORM | Optional | Harness id recorded as provenance, e.g. claude-code or codex. |
Tools22Tool docs quality grade F
All capabilitiesdrive_activitytoolprovenance
drive_commenttoolcollaboration
drive_contexttoolmemory
drive_deletetoolfiles
drive_feedbacktoolcollaboration
drive_invitetoolorg
drive_listtoolfiles
drive_log_runtoolprovenance
drive_orgtoolorg
drive_readtoolfiles
drive_recalltoolmemory
drive_resumetoolsessions
About
AgentDrive MCP Server
The official Model Context Protocol server for AgentDrive: shared workspace for coding agents. Capture sessions from Claude Code, Codex, OpenCode, Cursor, Gemini CLI and Antigravity, resume them in any of the others, and search everything they wrote. Provenance on every artifact; portable storage on R2, S3 or your own bucket.
Hit a usage limit in one agent? Call drive_resume in another and it loads the
handoff: the goal, the files touched and the latest turns. 22 MCP tools (18
stable + 4 experimental sandbox), over stdio or hosted. Free plan, no credit card.
- Website: https://agentdrive.sh
- Docs: https://agentdrive.sh/docs
- npm:
@adrive/mcp-server - Hosted endpoint:
https://mcp.agentdrive.sh/mcp
Agent skills
Install the workflow you need from this official repository.
pnpm dlx skills add agentdrive-sh/agentdrive-mcp --skill agentdrive-session-handoff
pnpm dlx skills add agentdrive-sh/agentdrive-mcp --skill agentdrive-artifact-search
Use the first skill to recover a coding session and verify its handoff against the checkout. Use the second to find a decision in workspace files and trace its source.
Claude Code plugin
This repo is also the Claude Code plugin marketplace. The plugin captures every session in the background and resumes it from Codex, OpenCode, Gemini CLI, Antigravity, or Cursor:
/plugin install agentdrive --marketplace agentdrive-sh/agentdrive-mcp
On Claude Code older than 2.1.275, run /plugin marketplace add agentdrive-sh/agentdrive-mcp
then /plugin install agentdrive@agentdrive. Sign in with /agentdrive:login.
Get an API key (free)
Create one at https://app.agentdrive.sh — no credit card. The free tier (1 workspace, 1 GB storage, 10k embeddings) is free indefinitely.
Two ways to connect
1. Hosted (no install) — Streamable HTTP
Point any MCP client that supports remote servers at the hosted endpoint and pass your key as a bearer token:
URL: https://mcp.agentdrive.sh/mcp
Header: Authorization: Bearer agentdrive_live_xxx
Or install in one click via Smithery.
2. Local (stdio) — via npx
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": ["-y", "@adrive/mcp-server"],
"env": {
"AGENTDRIVE_API_KEY": "agentdrive_live_xxx"
}
}
}
}
Add that block to your host's MCP config:
- Claude Desktop:
claude_desktop_config.json - Cursor:
~/.cursor/mcp.json - Claude Code: install the plugin (see above), which also captures sessions
- Codex / Cline / Continue / Zed: the standard
mcpServersblock above
The fastest path is the AgentDrive installer, which auto-wires every detected host:
curl -fsSL agentdrive.sh/install | sh
Configuration
| Env var | Required | Default | Description |
|---|---|---|---|
AGENTDRIVE_API_KEY | no | key saved by adrive auth login | Your AgentDrive API key (agentdrive_live_...). Falls back to ~/.config/agentdrive/config.json, so client configs never need the key inline. With no key at all the server still starts and offers one tool, drive_connect, which signs the user in through the browser and connects their other agent tools; the full toolset then appears in the same session. |
AGENTDRIVE_API_URL | no | https://app.agentdrive.sh | Override the API endpoint (self-hosted worker). |
AGENTDRIVE_AGENT_PLATFORM | no | unknown | Which agent runtime is calling — drives cross-agent provenance. One of claude-code, codex, opencode, gemini-cli, cursor, antigravity, langgraph, crewai, autogen, hermes, openclaw, unknown. |
AGENTDRIVE_AGENT_ROLE | no | — | Free-text role label (e.g. planner, reviewer) to distinguish multiple agents on the same platform. |
Tools
22 tools across files, memory, sessions, collaboration, org, and provenance. The stdio server derives the current project from its working directory (git remote, else repo path), which scopes drive_sessions and drive_resume.
| Tool | Category | Description |
|---|---|---|
drive_context | memory | Auto-pull the most relevant prior artifacts for the task you're starting. |
drive_search | memory | Semantic search across your org's artifacts. |
drive_recall | memory | Recall persistent facts/preferences agents have written. |
drive_sessions | sessions | List recent agent sessions for this project across Claude Code, Codex, OpenCode, Gemini CLI, Antigravity, and Cursor. |
drive_resume | sessions | Load a compact handoff (goal, files touched, recent turns) from a prior session, by default the latest from a different harness. |
drive_write | files | Write a markdown file (auto-versioned). |
drive_read | files | Read a file's content. |
drive_list | files | List files in a workspace. |
drive_delete | files | Delete a file. |
drive_versions | files | View a file's version history. |
drive_share | collaboration | Generate a (optionally email-gated) share link. |
drive_comment | collaboration | Comment on a file. |
drive_feedback | collaboration | Read human comments on a file. |
drive_activity | provenance | Recent workspace activity (writes, comments, shares). |
drive_log_run | provenance | Log an agent run (task, status, artifacts, identity). |
drive_invite | org | Invite a human to your org by email. |
drive_roles | org | Assign/list/remove per-workspace access by email. |
drive_org | org | View org details: agents, members, plan, usage. |
drive_sandbox_clone | sandbox (experimental) | Clone a git repo into a per-workspace Linux sandbox. |
drive_sandbox_exec | sandbox (experimental) | Run a shell command in the sandbox. |
drive_sandbox_read | sandbox (experimental) | Read a file from the sandbox filesystem. |
drive_sandbox_commit | sandbox (experimental) | Stage + commit the sandbox worktree. |
The drive_sandbox_* tools require the Cloudflare Containers plan on the AgentDrive
worker and degrade cleanly to a "not configured" message otherwise.
Why AgentDrive
Agents lose context at every session boundary and every tool switch. AgentDrive is the shared substrate: one workspace, every agent, full provenance. Write once with Claude Code; recall it from Cursor; hand off to Codex — each call is attributed to the right principal and platform.
Develop
npm install
npm run build # tsc -> dist/
npm test # vitest
License
Apache-2.0. See LICENSE.
Frequently asked questions
What is AgentDrive MCP Server?
Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
How do I install AgentDrive MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AgentDrive MCP Server runs locally from the npm package @adrive/mcp-server with the command npx -y @adrive/mcp-server@1.4.1.
Is AgentDrive MCP Server free and open source?
Yes. AgentDrive MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does AgentDrive MCP Server support remote (HTTP) connections?
Yes. AgentDrive MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does AgentDrive MCP Server provide?
AgentDrive MCP Server provides 22 tools, including drive_activity, drive_comment, drive_context, and drive_delete. See the full tool list for descriptions and parameters.
How is AgentDrive MCP Server's trust score calculated?
AgentDrive MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.