AgentDrive logo

AgentDrive

Shares versioned artifacts, memory, sessions, provenance, collaboration, and sandbox workflows across MCP-enabled agents.

Install AgentDrive

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agentdrive-2": {
      "command": "npx",
      "args": [
        "-y",
        "@adrive/mcp-server"
      ],
      "env": {
        "AGENTDRIVE_API_KEY": "YOUR_VALUE_HERE",
        "AGENTDRIVE_API_URL": "YOUR_VALUE_HERE",
        "AGENTDRIVE_AGENT_PLATFORM": "YOUR_VALUE_HERE",
        "AGENTDRIVE_AGENT_ROLE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 22 tools correctly (5d ago).

Overview

AgentDrive MCP server gives agents a shared workspace for versioned files, semantic artifact search, persistent memory, session handoffs, and run provenance. It connects through a hosted Streamable HTTP endpoint or a local stdio process installed with npx, with project scope derived from the working directory. Reach for it when work moves between Claude Code, Codex, Cursor, or other MCP-aware hosts and agents need continuity across sessions. Experimental sandbox tools can clone repositories and run commands when the AgentDrive worker has the required Cloudflare Containers plan.

Use cases

  • Resume work started by another coding agent
  • Search prior artifacts and persistent project facts
  • Share reviewed files with human collaborators
  • Track agent runs and cross-agent provenance
  • Clone and modify repositories in a managed sandbox

Key features

  • Versioned Markdown artifact storage
  • Semantic search and persistent memory
  • Cross-harness session handoffs
  • Comments, sharing, and workspace roles
  • Agent run provenance logging
  • Optional Linux repository sandbox

Tools22

What AgentDrive lets your agent do. Expand a tool for its parameters.

Verified live~3.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

12/12 checks healthy over the last 63d

What it can do

From the 22 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 2Writes files · 1Read-only tools · 18
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age170 days
Maintainers1

Observed 2026-11-05 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @adrive/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads1.8kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed22Callable tools this server registers over MCP.

How AgentDrive works

What AgentDrive does

AgentDrive provides a shared, portable workspace for agents operating across different tools and sessions. It stores Markdown artifacts with automatic versioning, supports semantic search and persistent facts, and records which agent platform contributed to a run. Session tools expose recent work and compact handoffs so another harness can continue from the prior goal, touched files, and recent turns.

The workspace also supports human collaboration. Agents can create share links, add comments, read feedback, invite organization members, and manage per-workspace roles. Organization tools expose information about agents, members, plan, and usage.

How it works

The server can run locally over stdio with the @adrive/mcp-server npm package or remotely through https://mcp.agentdrive.sh/mcp using Streamable HTTP and bearer-token authentication. A local instance identifies the active project from its working directory, using the Git remote when available and otherwise the repository path. That project identity scopes session listing and resumption.

Agent platform and role values can be supplied to distinguish activity from different runtimes or agent roles. Supported platform labels include Claude Code, Codex, OpenCode, Gemini CLI, Cursor, Antigravity, LangGraph, CrewAI, AutoGen, Hermes, OpenClaw, and unknown.

Setup and configuration

Create an API key through the AgentDrive application, then configure either the hosted endpoint with an Authorization: Bearer header or the local command below:

config.json
{
  "command": "npx",
  "args": ["-y", "@adrive/mcp-server"],
  "env": {
    "AGENTDRIVE_API_KEY": "agentdrive_live_xxx"
  }
}

The key may also be stored through the AgentDrive CLI configuration at ~/.config/agentdrive/config.json. Without a key, the server can start with a browser-based connection tool; the complete toolset becomes available after authentication. AGENTDRIVE_API_URL can point to a self-hosted worker, while AGENTDRIVE_AGENT_PLATFORM and AGENTDRIVE_AGENT_ROLE add provenance metadata.

The repository also provides a Claude Code plugin that captures sessions and supports login through /agentdrive:login. A shell installer can configure detected hosts automatically.

Tools and capabilities

  • Retrieve relevant prior artifacts, search organization content semantically, and recall saved facts or preferences.
  • List project sessions and resume a handoff from another harness.
  • Create, read, list, delete, version, share, comment on, and review files.
  • Inspect recent workspace activity and log agent runs with task, status, artifacts, and identity data.
  • Invite organization members and manage workspace roles.
  • Clone a Git repository into a workspace-specific Linux sandbox, execute shell commands, read sandbox files, and commit changes.

Limitations and notes

The drive_sandbox_* tools are experimental and require the Cloudflare Containers plan on the AgentDrive worker. Without that configuration, they return a not-configured response rather than providing the sandbox workflow. The free tier includes one workspace, 1 GB of storage, and 10,000 embeddings.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about AgentDrive

AgentDrive is an MCP server that connects AI agents to a shared AgentDrive workspace. Its main tools provide semantic artifact search, persistent fact recall, session listing and resumption, versioned file operations, collaboration, provenance logging, organization management, and optional repository sandbox commands across supported agent hosts.

Install it locally with `npx -y @adrive/mcp-server` and set `AGENTDRIVE_API_KEY` in the host's MCP configuration. You can also connect to `https://mcp.agentdrive.sh/mcp` with a bearer token or use the provided shell installer.

Yes, AgentDrive works with Cursor through its standard MCP configuration. Add the local `mcpServers` entry to `~/.cursor/mcp.json`, or configure Cursor to use the hosted Streamable HTTP endpoint.

Use `drive_sessions` to list recent sessions for the project and `drive_resume` to load a compact handoff. The handoff includes the goal, files touched, and recent turns, and defaults to the latest session from a different harness.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgentDrive AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agentdrive-2?style=directory)](https://allmcps.com/mcp/agentdrive-2)
HTML Embed
<a href="https://allmcps.com/mcp/agentdrive-2"><img src="https://allmcps.com/api/badge/agentdrive-2?style=directory" alt="AgentDrive on AllMCPs" /></a>