AgentDrive
Sync coding-agent sessions and resume them in any other agent: Claude Code, Codex, Cursor, more.
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- LOWdrive_org에서
- LOWdrive_versions에서
- LOWdrive_sandbox_commit에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"agentdrive": {
"command": "npx",
"args": [
"@adrive/mcp-server"
]
}
}
}실행 가능한 패키지
1.4.1stdio원격 엔드포인트
https://mcp.agentdrive.sh/mcpstreamable-http할 수 있는 일
도구 목록
도구 (22)
🟡drive_write(workspace_id, path, content, message)
Write a markdown file to a workspace. Creates or updates the file with automatic versioning.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID to write to"
},
"path": {
"type": "string",
"description": "File path (e.g. \"notes/meeting.md\")"
},
"content": {
"type": "string",
"description": "File content (markdown)"
},
"message": {
"type": "string",
"description": "Optional version message"
}
},
"required": [
"workspace_id",
"path",
"content"
],
"additionalProperties": false
}🟢drive_read(workspace_id, file_id)
Read a file's content from a workspace.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"file_id": {
"type": "string",
"description": "File ID to read"
}
},
"required": [
"workspace_id",
"file_id"
],
"additionalProperties": false
}🟢drive_list(workspace_id, prefix)
List files in a workspace, optionally filtered by path prefix.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"prefix": {
"type": "string",
"description": "Path prefix filter (e.g. \"notes/\")"
}
},
"required": [
"workspace_id"
],
"additionalProperties": false
}🟡drive_share(workspace_id, permission, file_id, expires_in, max_uses, ...)
Generate a share link for a workspace or specific file. Optionally email-gate the link so only a specific person can access it. Humans open this link to view, comment, or edit files.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"permission": {
"type": "string",
"enum": [
"view",
"comment",
"edit"
],
"description": "Permission level for the share link"
},
"file_id": {
"type": "string",
"description": "Scope to a specific file (optional)"
},
"expires_in": {
"type": "number",
"description": "Expiry in seconds (optional)"
},
"max_uses": {
"type": "number",
"description": "Maximum number of uses (optional)"
},
"email": {
"type": "string",
"description": "Email-gate: only this email can access the link (requires email verification). Leave empty for public access."
}
},
"required": [
"workspace_id",
"permission"
],
"additionalProperties": false
}🟡drive_comment(workspace_id, file_id, body, line_start, line_end)
Add a comment to a file.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"file_id": {
"type": "string",
"description": "File ID to comment on"
},
"body": {
"type": "string",
"description": "Comment text"
},
"line_start": {
"type": "number",
"description": "Start line number (optional)"
},
"line_end": {
"type": "number",
"description": "End line number (optional)"
}
},
"required": [
"workspace_id",
"file_id",
"body"
],
"additionalProperties": false
}🟢drive_feedback(workspace_id, file_id)
Read human comments on a file. Use this to check if humans have left feedback.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"file_id": {
"type": "string",
"description": "File ID to read comments from"
}
},
"required": [
"workspace_id",
"file_id"
],
"additionalProperties": false
}🟢drive_activity(workspace_id)
Get recent activity in a workspace (file writes, comments, shares).
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
}
},
"required": [
"workspace_id"
],
"additionalProperties": false
}⚪drive_invite(email, role)
Invite a human to your organization by email. They will receive a verification code to join.
입력 스키마
{
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "Email address of the human to invite to your organization"
},
"role": {
"type": "string",
"enum": [
"owner",
"admin",
"member"
],
"default": "member",
"description": "Role in the organization (default: member)"
}
},
"required": [
"email"
],
"additionalProperties": false
}🔴drive_roles(workspace_id, action, email, permission)
Manage per-workspace role delegation. Assign, list, or remove access for specific emails (view/comment/edit).
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"action": {
"type": "string",
"enum": [
"assign",
"list",
"remove"
],
"description": "Action: assign a role, list all roles, or remove a role"
},
"email": {
"type": "string",
"description": "Email address (required for assign/remove)"
},
"permission": {
"type": "string",
"enum": [
"view",
"comment",
"edit"
],
"description": "Permission level (required for assign)"
}
},
"required": [
"workspace_id",
"action"
],
"additionalProperties": false
}🟢drive_org
View your organization details: agents, members, plan, and usage.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🔴drive_delete(workspace_id, file_id)
Delete a file from a workspace.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"file_id": {
"type": "string",
"description": "File ID to delete"
}
},
"required": [
"workspace_id",
"file_id"
],
"additionalProperties": false
}🟢drive_versions(workspace_id, file_id)
View version history for a file in a workspace.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace ID"
},
"file_id": {
"type": "string",
"description": "File ID"
}
},
"required": [
"workspace_id",
"file_id"
],
"additionalProperties": false
}🟢drive_search(query, workspace_id, top_k, filter)
Semantic search across your org's artifacts in AgentDrive. Returns the top-N most relevant files. Use this BEFORE writing similar artifacts to avoid duplication and surface prior context.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Search query"
},
"workspace_id": {
"type": "string",
"description": "Scope to a single workspace; omit for org-wide search"
},
"top_k": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 50,
"description": "Max hits to return (default 10, max 50)"
},
"filter": {
"type": "object",
"properties": {
"agent_platform": {
"type": "string",
"enum": [
"claude-code",
"codex",
"cursor",
"langgraph",
"crewai",
"autogen",
"hermes",
"openclaw",
"opencode",
"gemini-cli",
"unknown"
]
},
"agent_id": {
"type": "string"
},
"path_prefix": {
"type": "string"
}
},
"additionalProperties": false
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢drive_recall(query, top_k)
Recall persistent facts and preferences your agents have written. In v1 this returns semantic search results across artifacts; v1.5 will narrow to auto-extracted facts (preferences, decisions, key entities).
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Recall query — what fact, preference, or decision are you trying to remember?"
},
"top_k": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 20,
"description": "Max results (default 5, max 20)"
}
},
"required": [
"query"
],
"additionalProperties": false
}⚪drive_log_run(task, status, run_id, artifacts_referenced, artifacts_produced, ...)
Log an agent run to AgentDrive's provenance store. Captures task, status, referenced/produced artifacts, and cross-platform identity (which agent on which tool). Used for retrospective context retrieval and team-wide audit.
입력 스키마
{
"type": "object",
"properties": {
"task": {
"type": "string",
"minLength": 1,
"description": "What the agent did or is doing (free text)"
},
"status": {
"type": "string",
"enum": [
"success",
"failure",
"partial",
"in_progress"
],
"description": "Run outcome (default success)"
},
"run_id": {
"type": "string",
"description": "Existing run ID to update; omit to let server allocate"
},
"artifacts_referenced": {
"type": "array",
"items": {
"type": "string"
},
"description": "Paths of artifacts the run read"
},
"artifacts_produced": {
"type": "array",
"items": {
"type": "string"
},
"description": "Paths of artifacts the run wrote"
},
"duration_ms": {
"type": "integer",
"minimum": 0,
"description": "Wall-clock duration in milliseconds"
},
"metadata": {
"type": "object",
"additionalProperties": {},
"description": "Free-form key/value metadata"
}
},
"required": [
"task"
],
"additionalProperties": false
}⚪drive_context(task, workspace_id, limit)
Auto-pull the most relevant artifacts from prior agent sessions for the task you are about to do. Combines semantic relevance with recency. Call this at the START of any non-trivial task to ground the agent in prior context — replaces manual copy-paste of artifacts between sessions.
입력 스키마
{
"type": "object",
"properties": {
"task": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "What you are about to do — used to rank prior artifacts by relevance"
},
"workspace_id": {
"type": "string",
"description": "Scope to a single workspace; omit for org-wide context"
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 20,
"description": "Max artifacts to return (default 5, max 20)"
}
},
"required": [
"task"
],
"additionalProperties": false
}🟢drive_sessions(project, platform, limit)
List recent agent sessions for this project across harnesses (Claude Code, Codex, OpenCode, Gemini CLI, Cursor), newest first. Use to find prior work to continue.
입력 스키마
{
"type": "object",
"properties": {
"project": {
"type": "string",
"pattern": "^[a-z0-9._-]{1,200}$",
"description": "Project key; defaults to the project of the current working directory"
},
"platform": {
"type": "string",
"description": "Only sessions from this harness (claude-code, codex, opencode, gemini-cli, cursor)"
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 50,
"description": "Max sessions to return (default 10, max 50)"
}
},
"additionalProperties": false
}⚪drive_resume(session_id, platform, max_chars)
Load a compact handoff brief (goal, files touched, recent turns) from a prior session, by default the latest one from a different harness, so you can continue that work.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session run id from drive_sessions (e.g. codex:abc123); omit to pick the latest session from another harness"
},
"platform": {
"type": "string",
"description": "When session_id is omitted, only consider sessions from this harness"
},
"max_chars": {
"type": "integer",
"minimum": 1000,
"maximum": 50000,
"description": "Handoff size budget in characters (default 12000)"
}
},
"additionalProperties": false
}⚪drive_sandbox_clone(workspace_id, url, branch, depth)
[EXPERIMENTAL] Clone a git repo into a per-workspace Linux sandbox. Requires Cloudflare Containers on the AgentDrive worker; gracefully degrades to a 503 with "sandbox not configured" otherwise.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace to clone into. The sandbox persists across MCP sessions per workspace."
},
"url": {
"type": "string",
"format": "uri",
"description": "Git repository URL to clone"
},
"branch": {
"type": "string",
"description": "Branch to check out (default: repo default)"
},
"depth": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 50,
"description": "Shallow clone depth (default: full clone)"
}
},
"required": [
"workspace_id",
"url"
],
"additionalProperties": false
}⚪drive_sandbox_exec(workspace_id, cmd, cwd, timeout_ms)
[EXPERIMENTAL] Run a shell command inside the per-workspace Linux sandbox. Captures stdout/stderr (64 KB cap), exit code, duration. Requires Cloudflare Containers; degrades to 503 otherwise.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace whose sandbox to run in"
},
"cmd": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "Shell command to run inside the per-workspace Linux sandbox"
},
"cwd": {
"type": "string",
"description": "Working directory (default: workspace root)"
},
"timeout_ms": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 60000,
"description": "Max runtime in ms (default 30000, hard cap 60000)"
}
},
"required": [
"workspace_id",
"cmd"
],
"additionalProperties": false
}🟢drive_sandbox_read(workspace_id, path)
[EXPERIMENTAL] Read a file from the per-workspace sandbox filesystem (build artifacts, test output, logs). Requires Cloudflare Containers; degrades to 503 otherwise.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace whose sandbox to read from"
},
"path": {
"type": "string",
"description": "Path inside the sandbox (e.g., src/index.ts or /tmp/build.log)"
}
},
"required": [
"workspace_id",
"path"
],
"additionalProperties": false
}⚪drive_sandbox_commit(workspace_id, message, author_name, author_email)
[EXPERIMENTAL] Stage + commit the current sandbox worktree. Surfaces as an AgentDrive artifact at commits/<sha>.json. Requires Cloudflare Containers; degrades to 503 otherwise.
입력 스키마
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"description": "Workspace whose sandbox to commit"
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Commit message"
},
"author_name": {
"type": "string",
"description": "Override git author name (default: agent identity)"
},
"author_email": {
"type": "string",
"format": "email",
"description": "Override git author email (default: agent identity)"
}
},
"required": [
"workspace_id",
"message"
],
"additionalProperties": false
}권장 프롬프트
drive_searchdrive_searchdrive_readdrive_readdrive_list커뮤니티
증거