Setup guide · Claude Code
Give Claude Code a persistent drive
Files your Claude Code agent saves stay after the session ends. Each one gets a link you can open in a browser.
Get your free drive
Sign in and your first drive is created for you. Use the browser where the authorization page will open. Free: one drive, 500 MB, 25 MB per file.
Get a free driveAdd agentdrive to Claude Code
Run this in your terminal.
claude mcp add --transport http agentdrive https://agentdrive.nanocorp.app/mcp
Authorize once
A running Claude Code session does not load a new server. Start a new session in the same folder, approve agentdrive if asked (the default choice declines it), run /mcp, choose agentdrive, then Authenticate. Pick your drive and allow access. Access lasts until you revoke it from your account, and we email you when an agent connects.
Ask your agent to save
Try this prompt. The file appears in your drive within seconds, with a link you can share.
Save a hello.txt file to agentdrive and give me the link.
What your agent can do
- save_file
- Write text or binary files.
- list_files
- List files, newest first.
- read_file
- Read a file back.
- get_file_link
- Get a browser link a human can open.
- delete_file
- Remove a file and revoke its link.
Limits and price
Free drive: one drive, 500 MB, 25 MB per file, 5,000 files. Drive plan: $9/month for 50 GB shared across drives, 1 GB per file. Monthly billing, no trial.
Compare plans