AgentDrive
v1.4.1Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
Values you need
| Variable | What it is | |
|---|---|---|
AGENTDRIVE_API_KEY | optional secret | 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. |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add agentdrive -- npx -y --package=@adrive/mcp-server@1.4.1 adrive-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"agentdrive": {
"args": [
"-y",
"--package=@adrive/mcp-server@1.4.1",
"adrive-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agentdrive": {
"args": [
"-y",
"--package=@adrive/mcp-server@1.4.1",
"adrive-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"agentdrive": {
"args": [
"-y",
"--package=@adrive/mcp-server@1.4.1",
"adrive-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agentdrive]
command = "npx"
args = ["-y", "--package=@adrive/mcp-server@1.4.1", "adrive-mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http agentdrive https://mcp.agentdrive.sh/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"agentdrive": {
"args": [
"-y",
"mcp-remote",
"https://mcp.agentdrive.sh/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agentdrive": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.agentdrive.sh/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"agentdrive": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.agentdrive.sh/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agentdrive]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.agentdrive.sh/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: drive_connect, drive_sessions, drive_resume.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json