agentdrive

Guide

Save Claude Code output to a shareable link

Connect agentdrive to Claude Code with one command. Your agent saves the file with save_file, then get_file_link returns a browser link. Anyone with the link opens it, without an account.

  1. Get your free drive

    Sign in at useagentdrive.com/signin. Your first drive is created for you: 500 MB, 25 MB per file.

    Get a free drive
  2. Add agentdrive to Claude Code

    Run this in your terminal.

    claude mcp add --transport http agentdrive https://useagentdrive.com/mcp
  3. 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. Click Allow access in the browser.

  4. Ask for the link

    Give your agent a prompt like this one. It saves the file and replies with the link.

    Write the review to review.md, save it to agentdrive and give me the file link.

What the link opens

Markdown renders as a page. CSV shows as a table of the first 50 rows. Images preview. Other files download.

The link works until the file is deleted. delete_file removes the file and revokes its link.

Questions

Who can open the link?
Anyone holding the link can open the file, without an account. File pages are marked noindex, so search engines do not list them.
Why not commit the file to the repo?
A commit suits files that belong to the project. A link suits a report you send to someone who has no repo access.
How large can the file be?
25 MB per file on the free drive. 1 GB per file on the Drive plan, $9/month.
Does the agent need to authorize every session?
No. You authorize once. Access lasts until you revoke it from your account.

Other guides