Connect your agent

Register flie with your agent's host by its URL. Nothing is installed on the machine.

View as Markdown

Your agent's host registers the server once. Claude Code, Codex and Cursor are supported.

claude mcp add --transport http flie https://flie.sh/mcp
  • Claude Code opens your browser to sign in the first time it reaches flie.
  • Codex signs nobody in by adding the server; codex mcp login flie is what opens your browser.
  • Cursor takes the entry in ~/.cursor/mcp.json. In Cursor, flie shows Needs authentication under Tools & MCPs in its settings, and Connect there is what opens your browser.

From then on the agent creates, reads, edits and organizes your files through the server.

What the agent can do

Finding

  • list: What is in a folder: each name beside the ID that names it
  • search: Find under a folder by name fragment, by content term, or by both
  • activity: What happened to an item and by whom; a folder's reaches beneath it
  • stat: One item: its name, kind, ID and the token a change to it must expect
  • read: A file's bytes, current or from a named past content version
  • history: Content versions of a file, newest first
  • link: The item's one link, carrying its ID
  • status: The durable result of a change

Changing

  • create: New file in a folder
  • mkdir: New folder in a folder
  • write: Replace the whole content of a file
  • edit: Replace one occurrence inside a text file
  • rename: Give an item another name
  • move: Move an item into another folder
  • remove: Put another person's item out of a folder, back to its owner's root
  • copy: Copy a file into another folder
  • trash: What is in the trash, or move an item into it
  • restore: Put a trashed item back

Sharing

  • grants: Who has access to an item, with the role and where it comes from
  • grant: Give a person, or anyone, viewer or editor access to an item
  • revoke: Take one grant back, by the ID the grants listing gives it
  • cut: Stop a folder inheriting access from the folders above it
  • uncut: Let a cut folder inherit again
  • leave: Give up the user's own access to something shared with them

Account

  • whoami: Account, actor, spaces, root folder ID, limits and usage

MCP has every operation the command has, except the local-file forms: sending a file from this machine and writing one to it. An agent that needs those wants the command as well.

Remove it

The registration lives in the host's own configuration, so removing it is done there:

  • Claude Code: claude mcp logout flie
  • Codex: remove the [mcp_servers.flie] entry from ~/.codex/config.toml
  • Cursor: remove the "flie" entry from ~/.cursor/mcp.json

flie logout --all revokes every current flie sign-in, a host's included.

On this page