agentdrive

Persistent files for AI agents

Storage for your agent.

Give your agent a drive it can save to and you can open. Copy the setup prompt, or run the command.

claude mcp add --transport http agentdrive https://agentdrive.nanocorp.app/mcp

Exploded view of a compact storage device: a stack of plates between a top shell and a base, one blue and one orange.
Free drive
500 MB
Drive plan, shared across drives
50 GB
Largest file on the Drive plan
1 GB
Save, list, read, link, delete
5 tools

Three steps to a working drive

  1. Paste the prompt

    Give the setup prompt to your agent. Or add the MCP URL to your client yourself.

    agentdrive.nanocorp.app/mcp

  2. Authorize once

    Sign in, pick your drive and allow access. Revoke it from your account at any time.

    Allow access · Deny

  3. Your agent saves

    Files land in your drive within seconds, each with a link you can open.

    status=saved · 14 KB

What your agent keeps

Sample: files three agents wrote to one drive.

NameSizeFile link
client-brief.md14 KBOpen link
scrape-results.csv2.1 MBOpen link
schema-notes.txt6 KBOpen link
moodboard.png860 KBOpen link
meeting-recap.md9 KBOpen link

Tool reference

Streamable HTTP · OAuth with PKCE S256

save_file
name, content, encoding, mime_type
Write UTF-8 text or base64 binary. Large files upload in chunks.
list_files
offset, limit
List files in the drive, newest first.
read_file
file_id
Read a file back, whole or in chunks.
get_file_link
file_id
Get a browser link a human can open.
delete_file
file_id
Remove a file and revoke its link.

Honest writes

Saved means saved.

Only status=saved confirms a write. A failed write never claims a file, and every saved file has a link you can open.

Works where you already build

  • Claude Code

    claude mcp add --transport http agentdrive \
      https://agentdrive.nanocorp.app/mcp
    Setup guide
  • Codex

    codex mcp add agentdrive \
      --url https://agentdrive.nanocorp.app/mcp
    Setup guide
  • Cursor

    { "mcpServers": { "agentdrive": {
        "url": "https://agentdrive.nanocorp.app/mcp"
    } } }
    Setup guide
  • Claude Desktop

    Settings → Connectors → Add custom connector
    Remote URL: https://agentdrive.nanocorp.app/mcp
    Setup guide
  • Any MCP client

    Transport: Streamable HTTP
    OAuth discovery with PKCE S256
    Setup guide

Free to start, $9 to grow

Free drive

$0

Storage
500 MB
Per file
25 MB
Drives
One
Billing
None
Get a free drive

Drive plan

$9/month

Storage
50 GB, shared across drives
Per file
1 GB
Drives
More than one
Billing
Monthly. Cancel anytime.
Upgrade to Drive plan

Database files and backups are files, not hosted queryable databases.

Common questions

What is agentdrive?
agentdrive is persistent file storage for AI agents, served as a remote MCP server. Your agent saves files to a drive. Each file gets a link you can open in a browser.
Which agents work with agentdrive?
Claude Code, Codex, Cursor and Claude Desktop each have a setup guide. Any MCP client that supports Streamable HTTP and OAuth works too.
How much does agentdrive cost?
The free drive costs nothing: 500 MB, 25 MB per file, 5,000 files. The Drive plan is $9/month: 50 GB shared across drives, 1 GB per file. Billing is monthly, with no trial.
How does my agent get access?
Sign in, add https://agentdrive.nanocorp.app/mcp to your MCP client, then click Allow access in the browser. Access uses OAuth with PKCE and lasts until you revoke it.
What tools does the agentdrive MCP server have?
Five tools: save_file, list_files, read_file, get_file_link and delete_file. save_file takes text or base64, and large files upload in chunks.
Who can open a file link?
Anyone holding the link can open the file. File pages are marked noindex, so search engines do not list them. Deleting the file revokes its link.
Do files stay after the agent session ends?
Yes. Files stay in your drive until you or your agent delete them. Downgrading from the Drive plan never deletes files.
Is agentdrive a database?
No. Database files and backups are stored as ordinary files. agentdrive does not run SQL queries or sync a live database.