MCP Server Studio
Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
Registry name: sh.agentdrive/agentdrive
Add to claude_desktop_config.json:
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"-y",
"@adrive/[email protected]"
],
"env": {
"AGENTDRIVE_API_KEY": "<AGENTDRIVE_API_KEY>",
"AGENTDRIVE_AGENT_PLATFORM": "<AGENTDRIVE_AGENT_PLATFORM>"
}
}
}
}Run in your terminal:
claude mcp add agentdrive -e AGENTDRIVE_API_KEY='<AGENTDRIVE_API_KEY>' -e AGENTDRIVE_AGENT_PLATFORM='<AGENTDRIVE_AGENT_PLATFORM>' -- npx -y @adrive/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"-y",
"@adrive/[email protected]"
],
"env": {
"AGENTDRIVE_API_KEY": "<AGENTDRIVE_API_KEY>",
"AGENTDRIVE_AGENT_PLATFORM": "<AGENTDRIVE_AGENT_PLATFORM>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"agentdrive": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@adrive/[email protected]"
],
"env": {
"AGENTDRIVE_API_KEY": "<AGENTDRIVE_API_KEY>",
"AGENTDRIVE_AGENT_PLATFORM": "<AGENTDRIVE_AGENT_PLATFORM>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"-y",
"@adrive/[email protected]"
],
"env": {
"AGENTDRIVE_API_KEY": "<AGENTDRIVE_API_KEY>",
"AGENTDRIVE_AGENT_PLATFORM": "<AGENTDRIVE_AGENT_PLATFORM>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.agentdrive.sh/mcp",
"--header",
"Authorization: <Authorization>"
]
}
}
}Run in your terminal:
claude mcp add --transport http agentdrive https://mcp.agentdrive.sh/mcp --header 'Authorization: <Authorization>'Add to .cursor/mcp.json:
{
"mcpServers": {
"agentdrive": {
"url": "https://mcp.agentdrive.sh/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"agentdrive": {
"type": "http",
"url": "https://mcp.agentdrive.sh/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"agentdrive": {
"serverUrl": "https://mcp.agentdrive.sh/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
AGENTDRIVE_API_KEY | No | AgentDrive API key. Optional after `npx @adrive/cli auth login`. |
AGENTDRIVE_AGENT_PLATFORM | No | Harness id recorded as provenance, e.g. claude-code or codex. |