{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "sh.agentdrive/agentdrive",
  "slug": "sh.agentdrive.agentdrive",
  "title": "AgentDrive",
  "summary": "Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.",
  "version": "1.4.1",
  "serverKey": "agentdrive",
  "pageUrl": "https://mcpkglabs.com/tool/sh.agentdrive.agentdrive",
  "installMdUrl": "https://mcpkglabs.com/tool/sh.agentdrive.agentdrive/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:09:12.192649777Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@adrive/mcp-server@1.4.1",
        "adrive-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add agentdrive -- npx -y --package=@adrive/mcp-server@1.4.1 adrive-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"agentdrive\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@adrive/mcp-server@1.4.1\",\n        \"adrive-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"agentdrive\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@adrive/mcp-server@1.4.1\",\n        \"adrive-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"agentdrive\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@adrive/mcp-server@1.4.1\",\n        \"adrive-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.agentdrive]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@adrive/mcp-server@1.4.1\", \"adrive-mcp\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://mcp.agentdrive.sh/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Bearer <AgentDrive API key>. Get one free at https://app.agentdrive.sh (no credit card).",
          "isRequired": true,
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http agentdrive https://mcp.agentdrive.sh/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"agentdrive\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.agentdrive.sh/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"agentdrive\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://mcp.agentdrive.sh/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"agentdrive\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://mcp.agentdrive.sh/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.agentdrive]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://mcp.agentdrive.sh/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "AGENTDRIVE_API_KEY",
      "required": false,
      "secret": true,
      "description": "AgentDrive API key. Optional after `npx @adrive/cli auth login`.",
      "help": "AgentDrive API key. Optional after `npx @adrive/cli auth login`.",
      "placeholder": "<AGENTDRIVE_API_KEY>"
    },
    {
      "name": "AGENTDRIVE_AGENT_PLATFORM",
      "required": false,
      "secret": false,
      "description": "Harness id recorded as provenance, e.g. claude-code or codex.",
      "help": "Harness id recorded as provenance, e.g. claude-code or codex.",
      "placeholder": "<AGENTDRIVE_AGENT_PLATFORM>"
    }
  ],
  "expectedTools": [
    "drive_connect",
    "drive_sessions",
    "drive_resume"
  ],
  "agentSteps": [
    "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."
  ],
  "generatedAt": "2026-12-01T13:09:12.192649777Z"
}
