agentdrive
v0.0.1 is a name-claim placeholder. Running
uvx agentdrivetoday prints an info message and exits. The full stdio shim (theupload(file_path, ...)tool described below) ships with the next release. Until then, the hosted AgentDrive MCP athttps://agentdrive.mnexa.ai/mcpalready covers reads, search, and writes that don't need local-disk access.
Stdio MCP shim for AgentDrive. Lets agents on stdio-capable hosts (Claude Desktop, Cursor, Claude Code, Windsurf, Zed) upload local files into your AgentDrive without base64-encoding bytes through the model's token stream.
The hosted AgentDrive MCP at https://agentdrive.mnexa.ai/mcp already provides list_artifacts, read, grep, overview, lookup, and the rest of the tool surface. This shim only adds upload(file_path, ...) — the one tool that benefits from running in the user's process (filesystem access). Use both servers side-by-side.
Install + run
uvx agentdrive
Or:
pipx install agentdrive
agentdrive
Configuration
Environment variables:
| Var | Required | Default | Notes |
|---|---|---|---|
AGENTDRIVE_API_KEY |
yes | — | Your ad_live_… key. Get it from agentdrive.mnexa.ai/settings/api-keys. |
AGENTDRIVE_BASE_URL |
no | https://agentdrive.mnexa.ai |
Override for staging/dev. |
AGENTDRIVE_TIMEOUT |
no | 60 |
Per-upload timeout in seconds. |
Host config
Add to your MCP host config alongside the hosted AgentDrive MCP. Example for Claude Code (~/.claude.json global, or .mcp.json per-project — or use claude mcp add):
{
"mcpServers": {
"agentdrive": {
"url": "https://agentdrive.mnexa.ai/mcp",
"headers": { "Authorization": "Bearer ad_live_..." }
},
"agentdrive-upload": {
"command": "uvx",
"args": ["agentdrive"],
"env": { "AGENTDRIVE_API_KEY": "ad_live_..." }
}
}
}
The agentdrive server handles reads, search, and listings; the agentdrive-upload server handles file uploads. Your MCP host routes tool calls to whichever server registered each tool name.
Using alongside other MCP servers
MCP hosts spawn every configured server in parallel and merge their tool catalogs. Just add more entries to mcpServers — mix stdio (command + args) and hosted (url + headers) freely:
{
"mcpServers": {
"agentdrive": { "url": "https://agentdrive.mnexa.ai/mcp",
"headers": { "Authorization": "Bearer ad_live_..." } },
"agentdrive-upload": { "command": "uvx", "args": ["agentdrive"],
"env": { "AGENTDRIVE_API_KEY": "ad_live_..." } },
"filesystem": { "command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "~/Documents"] },
"git": { "command": "uvx", "args": ["mcp-server-git"] },
"github": { "url": "https://api.githubcopilot.com/mcp/",
"headers": { "Authorization": "Bearer ghp_..." } },
"linear": { "url": "https://mcp.linear.app/sse",
"headers": { "Authorization": "Bearer lin_..." } }
}
}
Three things worth knowing:
- Tool name collisions are namespaced by server. If two servers expose
upload, the host disambiguates (e.g.agentdrive-upload__uploadvsother__upload). That's also why our two AgentDrive entries are namedagentdriveandagentdrive-upload— distinct keys, distinct sources. - Tool count budget. Each server contributes 5–15 tools; past ~50–80 total in a model's catalog, tool-selection accuracy starts to degrade. Prune what you're not using.
- Config file location varies by host — same JSON shape, different paths:
- Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Code:
~/.claude.json(global, or useclaude mcp add) or.mcp.json(per-project) - Cursor:
~/.cursor/mcp.json(global) or.cursor/mcp.json(project) - Windsurf:
~/.codeium/windsurf/mcp_config.json - Zed: project
.zed/settings.jsonundercontext_servers
- Claude Desktop (macOS):
The upload tool
upload(
file_path: str, # local path; required
path: str | None = None, # destination in drive; defaults to filename
visibility: "public" | "private" = "public",
labels: list[str] | None = None,
metadata: dict | None = None,
source: dict | None = None, # v0.6 typed provenance
actor_name: str | None = None,
change_summary: str | None = None,
content_type: str | None = None, # inferred from extension if omitted
if_match: int | None = None, # optimistic concurrency
) -> dict
Returns the artifact JSON: id, path, url, content_type, size_bytes, version_number, labels, source, etc.
How it works
The shim runs on your machine as a subprocess (stdio MCP server). When an agent calls upload(file_path, ...):
- The shim reads the bytes from local disk.
- It PUTs them to
https://agentdrive.mnexa.ai/v0/artifacts/{path}over HTTPS with your bearer token in theAuthorizationheader. - Hosted AgentDrive stores the artifact, returns the metadata, and the shim returns it to the agent.
Bytes never traverse the model's token stream. The AgentDrive side enforces the usual 50 MB per-artifact cap, rate limits, and quotas.
License
MIT.
Metadata
Release files for agentdrive 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agentdrive-0.0.1.tar.gz | 59.6 kB | Without provenance | Details for agentdrive-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agentdrive-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for agentdrive-0.0.1-py3-none-any.whl |
Total release size: 66.4 kB
Release files / agentdrive-0.0.1.tar.gz
| Download URL | agentdrive-0.0.1.tar.gz |
|---|---|
| Size | 59.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93136c8ab755a72f0e919d38f7e0313a34cfc154c8f4a6c1bd295d88de33b924
|
|
BLAKE2b-256 checksum How to use checksums |
17805505a4d6117353de00e7685a6c62768cac0bd963455d0229bb67be787f0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Release files / agentdrive-0.0.1-py3-none-any.whl
| Download URL | agentdrive-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
880e611ceb7dc2d68f6f768c2d773c9698500bb2860f1757b20d9d4fd1b6f539
|
|
BLAKE2b-256 checksum How to use checksums |
62bd38287b226f6de9da3ecc411e56efb60c0df2fa4fd329d4bb3da3f3fd9708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Security for agentdrive 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.