AgentDrive
概览
作者提供的说明(英文原文)
Capture coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i4 项中通过 4 项依据公开信息检查;尚未扫描代码
- 使用情况i起步阶段★ 2
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 开发者工具
- 你需要填写:AGENTDRIVE_API_KEY, Authorization
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:4 项中通过 4 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 需要你自己填写:
AGENTDRIVE_API_KEY,AGENTDRIVE_AGENT_PLATFORM,Authorization
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"-y",
"@adrive/mcp-server"
],
"env": {
"AGENTDRIVE_API_KEY": "your-value",
"AGENTDRIVE_AGENT_PLATFORM": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http agentdrive https://mcp.agentdrive.sh/mcp --header 'Authorization: your-value'或者在你的电脑上运行
claude mcp add agentdrive --env AGENTDRIVE_API_KEY=your-value --env AGENTDRIVE_AGENT_PLATFORM=your-value -- npx -y @adrive/mcp-server运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentdrive": {
"url": "https://mcp.agentdrive.sh/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"-y",
"@adrive/mcp-server"
],
"env": {
"AGENTDRIVE_API_KEY": "your-value",
"AGENTDRIVE_AGENT_PLATFORM": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentdrive": {
"type": "http",
"url": "https://mcp.agentdrive.sh/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentdrive": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@adrive/mcp-server"
],
"env": {
"AGENTDRIVE_API_KEY": "your-value",
"AGENTDRIVE_AGENT_PLATFORM": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- AgentDrive API key. Optional after `npx @adrive/cli auth login`.
AGENTDRIVE_AGENT_PLATFORMenvHarness id recorded as provenance, e.g. claude-code or codex.Authorization机密 必填 HTTP headerBearer . Get one free at https://app.agentdrive.sh (no credit card).
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
服务器要求先登录,才会列出它的工具。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 agentdrive.sh 验证(注册中心会核实域名所有权)
- ✓ 通过
仍在维护
代码最后更新于9天前
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 206 毫秒内响应(HTTP 401)
- ✓ 通过
使用 OAuth 登录
声明支持 OAuth 登录,你的 AI 应用可以带你去登录
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5736 个服务器的 75%
- 发布到注册中心的时间比此分类中其他 5736 个服务器的 99% 更新
- 基础检查结果等于或优于此分类中其他 5736 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
AgentDrive 安全吗?
它在 4 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:AGENTDRIVE_API_KEY, Authorization
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于9天前,最新版本(1.2.3)于今天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:REA, Netdata, Front-End Checklist
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
AgentDrive MCP Server
The official Model Context Protocol server for [AgentDrive](https://agentdrive.sh) — a cross-agent artifact workspace with provenance and portable storage across Claude Code, Codex, Cursor, LangGraph, and any MCP-aware host.
Give your agents a shared, persistent workspace: files with versioning, semantic recall over everything prior agents produced, run logging, and cross-agent attribution — so the next session (on any tool) picks up where the last one left off.
- Website: https://agentdrive.sh
- Docs: https://agentdrive.sh/docs
- npm:
@adrive/mcp-server - Hosted endpoint:
https://mcp.agentdrive.sh/mcp
Claude Code plugin
This repo is also the Claude Code plugin marketplace. The plugin captures every session in the background and resumes it from Codex, OpenCode, Gemini CLI, Antigravity, or Cursor:
/plugin install agentdrive --marketplace Rakesh1002/agentdrive-mcp
On Claude Code older than 2.1.275, run /plugin marketplace add Rakesh1002/agentdrive-mcp then /plugin install agentdrive@agentdrive. Sign in with /agentdrive:login.
Get an API key (free)
Create one at https://app.agentdrive.sh — no credit card. The free tier (1 workspace, 1 GB storage, 10k embeddings) is free indefinitely.
Two ways to connect
1. Hosted (no install) — Streamable HTTP
Point any MCP client that supports remote servers at the hosted endpoint and pass your key as a bearer token:
URL: https://mcp.agentdrive.sh/mcp
Header: Authorization: Bearer agentdrive_live_xxx
Or install in one click via [Smithery](https://smithery.ai/servers/rakesh1002/agentdrive).
2. Local (stdio) — via npx
{
"mcpServers": { "agentdrive": { "command": "npx", "args": ["-y", "@adrive/mcp-server"], "env": { "AGENTDRIVE_API_KEY": "agentdrive_live_xxx" } } } }
Add that block to your host's MCP config:
- Claude Desktop:
claude_desktop_config.json - Cursor:
~/.cursor/mcp.json - Claude Code: install the plugin (see above), which also captures sessions
- Codex / Cline / Continue / Zed: the standard
mcpServersblock above
The fastest path is the AgentDrive installer, which auto-wires every detected host:
curl -fsSL agentdrive.sh/install | sh
Configuration
| Env var | Required | Default | Description |
|---|---|---|---|
AGENTDRIVE_API_KEY | no | key saved by adrive auth login | Your AgentDrive API key (agentdrive_live_...). Falls back to ~/.config/agentdrive/config.json, so client configs never need the key inline. With no key at all the server still starts and offers one tool, drive_connect, which signs the user in through the browser and connects their other agent tools; the full toolset then appears in the same session. |
AGENTDRIVE_API_URL | no | https://app.agentdrive.sh | Override the API endpoint (self-hosted worker). |
AGENTDRIVE_AGENT_PLATFORM | no | unknown | Which agent runtime is calling — drives cross-agent provenance. One of claude-code, codex, opencode, gemini-cli, cursor, antigravity, langgraph, crewai, autogen, hermes, openclaw, unknown. |
AGENTDRIVE_AGENT_ROLE | no | — | Free-text role label (e.g. planner, reviewer) to distinguish multiple agents on the same platform. |
Tools
22 tools across files, memory, sessions, collaboration, org, and provenance. The stdio server derives the current project from its working directory (git remote, else repo path), which scopes drive_sessions and drive_resume.
| Tool | Category | Description |
|---|---|---|
drive_context | memory | Auto-pull the most relevant prior artifacts for the task you're starting. |
drive_search | memory | Semantic search across your org's artifacts. |
drive_recall | memory | Recall persistent facts/preferences agents have written. |
drive_sessions | sessions | List recent agent sessions for this project across Claude Code, Codex, OpenCode, Gemini CLI, Antigravity, and Cursor. |
drive_resume | sessions | Load a compact handoff (goal, files touched, recent turns) from a prior session, by default the latest from a different harness. |
drive_write | files | Write a markdown file (auto-versioned). |
drive_read | files | Read a file's content. |
drive_list | files | List files in a workspace. |
drive_delete | files | Delete a file. |
drive_versions | files | View a file's version history. |
drive_share | collaboration | Generate a (optionally email-gated) share link. |
drive_comment | collaboration | Comment on a file. |
drive_feedback | collaboration | Read human comments on a file. |
drive_activity | provenance | Recent workspace activity (writes, comments, shares). |
drive_log_run | provenance | Log an agent run (task, status, artifacts, identity). |
drive_invite | org | Invite a human to your org by email. |
drive_roles | org | Assign/list/remove per-workspace access by email. |
drive_org | org | View org details: agents, members, plan, usage. |
drive_sandbox_clone | sandbox (experimental) | Clone a git repo into a per-workspace Linux sandbox. |
drive_sandbox_exec | sandbox (experimental) | Run a shell command in the sandbox. |
drive_sandbox_read | sandbox (experimental) | Read a file from the sandbox filesystem. |
drive_sandbox_commit | sandbox (experimental) | Stage + commit the sandbox worktree. |
The drive_sandbox_* tools require the Cloudflare Containers plan on the AgentDrive worker and degrade cleanly to a "not configured" message otherwise.
Why AgentDrive
Agents lose context at every session boundary and every tool switch. AgentDrive is the shared substrate: one workspace, every agent, full provenance. Write once with Claude Code; recall it from Cursor; hand off to Codex — each call is attributed to the right principal and platform.
Develop
npm install
npm run build # tsc -> dist/ npm test # vitest
License
Apache-2.0. See LICENSE.