Serveur MCP

AgentDrive

sh.agentdrive/agentdrive
Outils développeur Connaissance et documentation Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Provides a cross-agent workspace for storing, searching, versioning, commenting on, sharing, and tracking artifacts and agent runs.

drive_activity
Get recent activity in a workspace (file writes, comments, shares).
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id'], 'properties': {'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_comment
Add a comment to a file.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'file_id', 'body'], 'properties': {'body': {'type': 'string', 'description': 'Comment text'}, 'file_id': {'type': 'string', 'description': 'File ID to comment on'}, 'line_end': {'type': 'number', 'description': 'End line number (optional)'}, 'line_start': {'type': 'number', 'description': 'Start line number (optional)'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_context
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.
Schéma d’entrée
{'type': 'object', 'required': ['task'], 'properties': {'task': {'type': 'string', 'maxLength': 2000, 'minLength': 1, 'description': 'What you are about to do — used to rank prior artifacts by relevance'}, 'limit': {'type': 'integer', 'maximum': 20, 'description': 'Max artifacts to return (default 5, max 20)', 'exclusiveMinimum': 0}, 'workspace_id': {'type': 'string', 'description': 'Scope to a single workspace; omit for org-wide context'}}, 'additionalProperties': False}
drive_delete
Delete a file from a workspace.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'File ID to delete'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_feedback
Read human comments on a file. Use this to check if humans have left feedback.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'File ID to read comments from'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_invite
Invite a human to your organization by email. They will receive a verification code to join.
Schéma d’entrée
{'type': 'object', 'required': ['email'], 'properties': {'role': {'enum': ['owner', 'admin', 'member'], 'type': 'string', 'default': 'member', 'description': 'Role in the organization (default: member)'}, 'email': {'type': 'string', 'description': 'Email address of the human to invite to your organization'}}, 'additionalProperties': False}
drive_list
List files in a workspace, optionally filtered by path prefix.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id'], 'properties': {'prefix': {'type': 'string', 'description': 'Path prefix filter (e.g. "notes/")'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_log_run
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.
Schéma d’entrée
{'type': 'object', 'required': ['task'], 'properties': {'task': {'type': 'string', 'minLength': 1, 'description': 'What the agent did or is doing (free text)'}, 'run_id': {'type': 'string', 'description': 'Existing run ID to update; omit to let server allocate'}, 'status': {'enum': ['success', 'failure', 'partial', 'in_progress'], 'type': 'string', 'description': 'Run outcome (default success)'}, 'metadata': {'type': 'object', 'description': 'Free-form key/value metadata', 'additionalProperties': {}}, 'duration_ms': {'type': 'integer', 'minimum': 0, 'description': 'Wall-clock duration in milliseconds'}, 'artifacts_produced': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Paths of artifacts the run wrote'}, 'artifacts_referenced': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Paths of artifacts the run read'}}, 'additionalProperties': False}
drive_org
View your organization details: agents, members, plan, and usage.
Schéma d’entrée
{'type': 'object', 'properties': {}, 'additionalProperties': False}
drive_read
Read a file's content from a workspace.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'File ID to read'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_recall
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).
Schéma d’entrée
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 2000, 'minLength': 1, 'description': 'Recall query — what fact, preference, or decision are you trying to remember?'}, 'top_k': {'type': 'integer', 'maximum': 20, 'description': 'Max results (default 5, max 20)', 'exclusiveMinimum': 0}}, 'additionalProperties': False}
drive_roles
Manage per-workspace role delegation. Assign, list, or remove access for specific emails (view/comment/edit).
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'action'], 'properties': {'email': {'type': 'string', 'description': 'Email address (required for assign/remove)'}, 'action': {'enum': ['assign', 'list', 'remove'], 'type': 'string', 'description': 'Action: assign a role, list all roles, or remove a role'}, 'permission': {'enum': ['view', 'comment', 'edit'], 'type': 'string', 'description': 'Permission level (required for assign)'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_sandbox_clone
[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.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Git repository URL to clone'}, 'depth': {'type': 'integer', 'maximum': 50, 'description': 'Shallow clone depth (default: full clone)', 'exclusiveMinimum': 0}, 'branch': {'type': 'string', 'description': 'Branch to check out (default: repo default)'}, 'workspace_id': {'type': 'string', 'description': 'Workspace to clone into. The sandbox persists across MCP sessions per workspace.'}}, 'additionalProperties': False}
drive_sandbox_commit
[EXPERIMENTAL] Stage + commit the current sandbox worktree. Surfaces as an AgentDrive artifact at commits/<sha>.json. Requires Cloudflare Containers; degrades to 503 otherwise.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'message'], 'properties': {'message': {'type': 'string', 'maxLength': 500, 'minLength': 1, '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)'}, 'workspace_id': {'type': 'string', 'description': 'Workspace whose sandbox to commit'}}, 'additionalProperties': False}
drive_sandbox_exec
[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.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'cmd'], 'properties': {'cmd': {'type': 'string', 'maxLength': 2048, 'minLength': 1, 'description': 'Shell command to run inside the per-workspace Linux sandbox'}, 'cwd': {'type': 'string', 'description': 'Working directory (default: workspace root)'}, 'timeout_ms': {'type': 'integer', 'maximum': 60000, 'description': 'Max runtime in ms (default 30000, hard cap 60000)', 'exclusiveMinimum': 0}, 'workspace_id': {'type': 'string', 'description': 'Workspace whose sandbox to run in'}}, 'additionalProperties': False}
drive_sandbox_read
[EXPERIMENTAL] Read a file from the per-workspace sandbox filesystem (build artifacts, test output, logs). Requires Cloudflare Containers; degrades to 503 otherwise.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'path'], 'properties': {'path': {'type': 'string', 'description': 'Path inside the sandbox (e.g., src/index.ts or /tmp/build.log)'}, 'workspace_id': {'type': 'string', 'description': 'Workspace whose sandbox to read from'}}, 'additionalProperties': False}
drive_search
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.
Schéma d’entrée
{'type': 'object', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 2000, 'minLength': 1, 'description': 'Search query'}, 'top_k': {'type': 'integer', 'maximum': 50, 'description': 'Max hits to return (default 10, max 50)', 'exclusiveMinimum': 0}, 'filter': {'type': 'object', 'properties': {'agent_id': {'type': 'string'}, 'path_prefix': {'type': 'string'}, 'agent_platform': {'enum': ['claude-code', 'codex', 'cursor', 'langgraph', 'crewai', 'autogen', 'hermes', 'openclaw', 'unknown'], 'type': 'string'}}, 'additionalProperties': False}, 'workspace_id': {'type': 'string', 'description': 'Scope to a single workspace; omit for org-wide search'}}, 'additionalProperties': False}
drive_share
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.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'permission'], 'properties': {'email': {'type': 'string', 'description': 'Email-gate: only this email can access the link (requires email verification). Leave empty for public access.'}, 'file_id': {'type': 'string', 'description': 'Scope to a specific file (optional)'}, 'max_uses': {'type': 'number', 'description': 'Maximum number of uses (optional)'}, 'expires_in': {'type': 'number', 'description': 'Expiry in seconds (optional)'}, 'permission': {'enum': ['view', 'comment', 'edit'], 'type': 'string', 'description': 'Permission level for the share link'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_versions
View version history for a file in a workspace.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'File ID'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID'}}, 'additionalProperties': False}
drive_write
Write a markdown file to a workspace. Creates or updates the file with automatic versioning.
Schéma d’entrée
{'type': 'object', 'required': ['workspace_id', 'path', 'content'], 'properties': {'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'}, 'workspace_id': {'type': 'string', 'description': 'Workspace ID to write to'}}, 'additionalProperties': False}
Ajouté
drive_sandbox_commit
17 September 2026 12:54
Ajouté
drive_sandbox_read
17 September 2026 12:54
Ajouté
drive_sandbox_exec
17 September 2026 12:54
Ajouté
drive_sandbox_clone
17 September 2026 12:54
Ajouté
drive_context
17 September 2026 12:54
Ajouté
drive_log_run
17 September 2026 12:54
Ajouté
drive_recall
17 September 2026 12:54
Ajouté
drive_search
17 September 2026 12:54
Ajouté
drive_versions
17 September 2026 12:54
Ajouté
drive_delete
17 September 2026 12:54
Ajouté
drive_org
17 September 2026 12:54
Ajouté
drive_roles
17 September 2026 12:54
Ajouté
drive_invite
17 September 2026 12:54
Ajouté
drive_activity
17 September 2026 12:54
Ajouté
drive_feedback
17 September 2026 12:54
Ajouté
drive_comment
17 September 2026 12:54
Ajouté
drive_share
17 September 2026 12:54
Ajouté
drive_list
17 September 2026 12:54
Ajouté
drive_read
17 September 2026 12:54
Ajouté
drive_write
17 September 2026 12:54