FileLu MCP for ChatGPT and AI Apps
Connect your FileLu cloud storage to ChatGPT, Claude, Cursor, Codex, MCP Inspector, and other MCP-compatible clients.

FileLu MCP lets AI apps securely work with your FileLu account through the Model Context Protocol. With your permission, an AI assistant can search files, browse folders, view file information, create folders, create text files, queue URL uploads, and generate direct download links.

You control the permissions. Each MCP token can be limited to read-only access, download access, write access, delete access, share access, or a specific FileLu folder.


MCP Server URL

Use this URL when connecting FileLu to an MCP-compatible client:

https://mcp.filelu.com/mcp

You can generate MCP access tokens from My Account.


Permissions

When generating an MCP token, choose only the permissions the AI app needs.

Permission What it allows Recommended use
Read Browse folders, search files, and view file metadata. Safe default for most AI assistants.
Download Generate direct download links for files. Use when the AI needs to retrieve file content or share a download link.
Write Create folders, create text files, rename, move, copy, and queue URL uploads. Use for automation and file organization tasks.
Delete Move files or folders to trash or delete token-controlled resources. Enable only when you trust the AI workflow.
Share Create share links or enable sharing actions. Use when you want the AI to prepare shareable links.
Security tip: Start with read-only access. Add write, delete, download, or share permissions only when needed.

Generate an MCP Token
Step 1: Open My Account
  1. Go to My Account.
  2. Open the Upload & Connect section.
  3. Select the MCP / ChatGPT tab.
  4. Enter a token name, such as ChatGPT or Cursor.
  5. Choose the permissions you want to allow.
  6. Click Generate Token.
Step 2: Copy the Token

Your MCP token is shown only once for security. Click Show to reveal it, then click Copy.

flmcp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Store the token safely. If you lose it, delete the old token and generate a new one.


Connect to ChatGPT

If you are connecting through the official ChatGPT FileLu app, ChatGPT will use OAuth and you do not need to manually copy a token. For manual developer setup, use the MCP server URL and your MCP token.

ChatGPT App
  1. Open ChatGPT.
  2. Connect the FileLu app.
  3. Sign in to your FileLu account when prompted.
  4. Approve the requested permissions.
  5. Ask ChatGPT to search, list, create, or organize your FileLu files.
Manual MCP Client

Use the following values in an MCP-compatible client:

URL:
https://mcp.filelu.com/mcp

Authorization:
Bearer flmcp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Add FileLu MCP to Cursor

You can connect FileLu MCP to Cursor so Cursor can search, browse, and manage your FileLu files when you ask it to.

Cursor setup
  1. Open Cursor.
  2. Go to Settings.
  3. Open Tools & MCPs.
  4. Click New MCP Server.
  5. Paste the FileLu MCP configuration.
  6. Replace YOUR_TOKEN_HERE with your FileLu MCP token.
  7. Save, then enable the FileLu MCP server.
Cursor MCP configuration
{
  "mcpServers": {
    "FileLu MCP": {
      "url": "https://mcp.filelu.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN_HERE"
      }
    }
  }
}
Tip: Generate your token from My Account. Use a read-only token first, then enable write, download, delete, or share permissions only when needed.

Add FileLu MCP to Codex

You can connect FileLu MCP to Codex using the Streamable HTTP MCP server option.

Codex setup
  1. Open Codex.
  2. Go to Settings.
  3. Open MCP Server.
  4. Choose Streamable HTTP.
  5. Set the URL to https://mcp.filelu.com/mcp.
  6. Add a header with key Authorization.
  7. Set the header value to Bearer YOUR_TOKEN_HERE.
  8. Replace YOUR_TOKEN_HERE with your FileLu MCP token.
  9. Save, then reconnect the MCP server.
Codex connection values
Type Streamable HTTP
URL https://mcp.filelu.com/mcp
Header key Authorization
Header value Bearer YOUR_TOKEN_HERE
Tip: In Codex, use a read-only token first. Enable write, download, delete, or share permissions only when your workflow needs them.

Example Prompts
Read and search
Search my FileLu files for invoice.

List the files in my FileLu folder named MCP Test.

Show my FileLu account storage usage.

Find my recent uploads.
Create and organize
Create a folder in FileLu named MCP Demo.

Create a markdown file named notes.md in MCP Demo.

Upload this URL to my FileLu folder MCP Demo:
https://example.com/file.pdf

Generate a direct link for this file.

Available MCP Tools
Tool Purpose
Account info Check account storage usage and account details.
Who am I Show the connected FileLu identity and token permissions.
List folder Browse files and folders in a FileLu folder.
Search files Find files by name, extension, and folder path.
Recent uploads Show recently uploaded files.
File info View file metadata such as name, path, size, type, and file code.
Direct link Generate a direct download link when the token allows download access.
Create folder Create a folder in FileLu.
Create text file Create text, markdown, JSON, CSV, HTML, XML, log, or source-code files.
Upload URL Queue a remote URL upload to FileLu.
Move, rename, copy, restore Organize files and folders when write access is enabled.
Delete Move files or folders to trash when delete access is enabled.
Share link Create a shareable FileLu link when share access is enabled.

Security Best Practices
  • Create a separate token for each MCP client.
  • Use read-only tokens unless write access is required.
  • Enable delete access only for trusted workflows.
  • Use folder-restricted tokens when possible.
  • Set an expiration date for temporary workflows.
  • Delete tokens you no longer use.
  • Never share MCP tokens publicly or place them inside URLs.

Trusted by 146,000+ users worldwide.

FileLu delivers secure, scalable cloud storage with powerful upload tools, cross-platform access, and privacy-first encryption — all without hidden fees.

Get Started Free

Upload & Sync Tools

Upload via Web, FTP, WebDAV, Rclone, Rsync, API, mobile apps, browser extensions, and more.

Branded File Delivery (White Label)

Share public folders with custom branding, logos, banners, password protection, and flexible access controls.

Privacy & Encryption

SSL-secured transfers and optional Secure-Solo-Cipher Encryption ensure only you control your data.

Flexible Storage

From free plans to 1PB scalable storage. Easily upgrade and share space with teams or family.

Help?