Store files on Filecoin from your terminal or your agent.

fil puts a file or a folder on a Filecoin storage provider and gives you a link to share. Agents can run it too. You approve their key once, and your wallet pays.

A prototype. It runs on the calibration test network unless you choose mainnet.

An agent stores a folder
$ fil put ./site{"data": {"state": "ready","resource": { "ref": "res_7q2…", "kind": "folder", "size": 48211 },"urls": {"browser": "https://fil-api.hugomrdias.dev/get/bafybei…?browser=true","piece": "https://fil-api.hugomrdias.dev/get/bafkzcib…"}}}

One storage account, three ways in

CLI

Store, retrieve, list, and delete files and folders. A failed upload resumes without paying twice.

fil put ./report.pdfCLI docs
MCP server

Read-only tools for providers, data sets, pieces, payment rails, and session keys, with no sign-up.

https://fil-api.hugomrdias.dev/mcpAPI and MCP docs
Web app

Explore what is stored on chain, fund your account, and approve or revoke the keys your agents use.

fil-app.hugomrdias.devOpen the explorer

Your agent never holds your wallet

Storage needs a signature, not your private key. You approve a limited session key once, and revoke it whenever you want.

  1. 1
    fil loginThe agent makes a session key on its own machine and returns an approval link.
  2. 2
    Approve in fil-appYou review the request, choose its permissions and expiry, and sign with your wallet.
  3. 3
    fil putThe key signs storage requests and your wallet pays. The key can never move funds.

Agents can read this site

Every docs page has a Markdown version. Add .md to the path or send Accept: text/markdown. These files describe the API, the MCP server, and the skill:

How to set up an agent

Search

Look up an address, PieceCID or id, or jump to a page.