Skip to content
MCP server

AgentDrive

Capture coding-agent sessions and resume them in another agent

Install
Pricing
Freemium
Platforms
CLI, API
Runs
Locally or Remotely
Version
1.2.3
Listing updated
3 days ago

About AgentDrive

AgentDrive is a freemium MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Hitting a usage limit in one coding agent no longer ends the task. AgentDrive records a session's goal, files touched and recent turns, then loads that handoff in a different agent via drive_resume. The README counts 22 MCP tools, 18 stable and 4 experimental sandbox ones, available over stdio through the npm package or the hosted endpoint.

Sessions from Claude Code, Codex, OpenCode, Cursor, Gemini CLI and Antigravity land in one versioned, content-addressed workspace, with a provenance timeline showing which agent wrote which artifact and semantic search across everything. Known secret patterns are redacted before upload and paths like .env and .ssh stay local, though the vendor notes redaction is best-effort. A Private Workspace encrypts on your machine and is not searchable by meaning.

The site marks it as a public beta. Storage can sit on R2, S3 or your own bucket on the Team plan.

Install

Run in a terminal

claude mcp add --transport http agentdrive https://mcp.agentdrive.sh/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.agentdrive.sh/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentdrive": {
      "url": "https://mcp.agentdrive.sh/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agentdrive": {
      "type": "http",
      "url": "https://mcp.agentdrive.sh/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agentdrive": {
      "serverUrl": "https://mcp.agentdrive.sh/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agentdrive": {
      "type": "http",
      "url": "https://mcp.agentdrive.sh/mcp"
    }
  }
}

Configuration

  • AGENTDRIVE_API_KEYAgentDrive API key. Optional after `npx @adrive/cli auth login`.
  • AGENTDRIVE_AGENT_PLATFORMHarness id recorded as provenance, e.g. claude-code or codex.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

drive_resume
Load the handoff from a captured session in another agent
drive_search
Search work captured across agents
drive_sessions
List captured sessions
drive_context
Fetch workspace context
drive_connect
Connect an agent to a workspace

What it does

Cross-agent resume
Continue a session captured in one coding agent inside another.
Provenance timeline
See which agent did what on which artifact.
Semantic search
Search across every agent's work by meaning.
Private Workspace
Client-side encryption, at the cost of server-side search.
Bring your own bucket
Team plans can store on R2 or S3-compatible storage.
Privacy controls
Switch transcript or file capture off with adrive privacy.

Good for

  • Switch agents after hitting a usage limit
  • Share an agent session with a teammate by link
  • Audit which agent changed which file
  • Search past agent work by meaning

Pricing

Freemium

Free plan with no expiry; Pro, Team and Enterprise tiers, prices not published

Prices change. Check agentdrive.sh before you buy.

AgentDrive FAQ

Which agents are supported?

Claude Code, Codex, OpenCode, Cursor, Gemini CLI and Antigravity can capture and resume; Cline, Zed and Continue use the MCP tools.

Does it train on my data?

The vendor says it does not train any model on your data.

Is there a free plan?

Yes: 1 GB, 1 workspace, 3 agents and 10 cross-agent resumes a month, with no card.

What stays on my machine?

Files such as .env, keys and .ssh stay local by default, and .adriveignore paths are excluded.

Is AgentDrive free?

AgentDrive has a free plan, with paid plans for more usage or features.

How do I add AgentDrive to Claude Code?

Run this command in your terminal: claude mcp add --transport http agentdrive https://mcp.agentdrive.sh/mcp

What are the best alternatives to AgentDrive?

The closest alternatives to AgentDrive are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to AgentDrive

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools