# AgentDrive

> AgentDrive is a freemium MCP server for developer tools. Capture coding-agent sessions and resume them in another agent. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API
- **Website:** https://agentdrive.sh
- **Repository:** https://github.com/agentdrive-sh/agentdrive-mcp
- **MCP Registry name:** sh.agentdrive/agentdrive
- **Categories:** developer tools, knowledge and memory
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.agentdrive.sh/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agentdrive": {
      "url": "https://mcp.agentdrive.sh/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/agentdrive-3
