Files.fm API
Build and automate secure file upload, storage, sharing, processing, and content management workflows using the Files.fm API and MCP.
The Files.fm API allows developers to integrate scalable EU-based cloud storage into web, mobile, desktop, and server-side applications without building and maintaining their own file storage infrastructure and heavy file processing such as video, audio, or image conversion and streaming.
Three ways to integrate
What you can build
Main API capabilities
- Upload, download, rename, move, delete, and restore files
- Create, rename, move, delete, and restore folders
- Retrieve file and folder metadata
- Generate secure direct download and sharing links
- Download folders and selected files as ZIP archives
- Use image thumbnails and video previews
- Convert images, videos, and documents
- Apply image watermarks
- Share files for electronic signature
- Store and retrieve end-to-end encryption key data
- Manage document management tasks, comments and attachments
- Integrate AI-powered file and content-processing workflows
Developer documentation
The Files.fm API documentation includes endpoint descriptions, authentication details, request parameters, response formats, and examples. The OpenAPI specification can be imported into tools such as Swagger UI, Postman, Insomnia, Stoplight, Redoc, code generators, test tools, and AI coding assistants.
Connect your AI assistant to Files.fm
With the hosted MCP connector, ChatGPT, Claude, Cursor, Codex and other AI assistants can find, read and organize your files and work with your Files.fm DMS records, such as tasks, contracts and invoices, always within the permissions of your own account.
MCP (Model Context Protocol) is an open standard that lets AI assistants use external tools and data securely. You add one address to your assistant, sign in to Files.fm and choose what to allow.
What your assistant can do
Your assistant can only do what you approve and what your account is allowed to do. Deleting, replacing file content, sending email and changing project members each need their own approval, and deleted items go to the recycle bin. It cannot change sharing settings, transfer ownership or open password-protected folders that are not yours or shared with you. Content the assistant reads is processed by your AI provider under its own terms.
Try asking
- Find the latest contract for our client, summarize the open points and save the summary next to it.
- Create a folder and structure for the new project and move related drafts into it.
- Create tasks for the website launch, assign them to the team and attach the brief.
- Show my open tasks that are due this week and summarize what is still missing.
Connect your assistant
Copy this to your agent. It will explain what the Files.fm connector can do and walk you through connecting it.
I want to connect https://files.fm/mcp to use it with my files and DMS. What can it do, and how do I connect it? Setup guide: https://files.fm/api/docs/filesfm_mcp.md
Or set it up yourself. Sign-in (OAuth) is recommended; use an API key only if your client cannot open the Files.fm sign-in.
In ChatGPT Settings > Plugins, add a custom connector (MCP server) with link to https://files.fm/mcp and choose OAuth, then sign in to Files.fm and approve only the access you need. On Business and Enterprise plans a workspace admin may have to add it first. ChatGPT asks for confirmation before changes; after a connector update, refresh its tool list.
https://files.fm/mcp
Claude on the web and desktop: add a custom connector with this address, click Connect and sign in to Files.fm. Menu names can differ between Claude apps and plans.
https://files.fm/mcp
Claude Code: add the server, then run /mcp, choose Authenticate and finish the sign-in in your browser.
claude mcp add --transport http filesfm https://files.fm/mcp
With an API key instead of sign-in:
claude mcp add --transport http filesfm https://files.fm/mcp \
--header "Authorization: Bearer ${FILESFMMCP_BEARER_TOKEN}"
Add this to .cursor/mcp.json in your project (or the global ~/.cursor/mcp.json). Cursor opens the Files.fm sign-in when you first use a private tool. If the sign-in does not open and the tools answer 401, use an API key.
{
"mcpServers": {
"filesfm": {
"url": "https://files.fm/mcp"
}
}
}
With an API key instead of sign-in:
{
"mcpServers": {
"filesfm": {
"url": "https://files.fm/mcp",
"headers": {
"Authorization": "Bearer ${env:FILESFMMCP_BEARER_TOKEN}"
}
}
}
}
Add the server to ~/.codex/config.toml, then sign in with the login command. In the VS Code extension, run Developer: Reload Window if the tools do not appear.
[mcp_servers.filesfm]
url = "https://files.fm/mcp"
codex mcp login filesfm
With an API key instead of sign-in:
[mcp_servers.filesfm]
url = "https://files.fm/mcp"
bearer_token_env_var = "FILESFMMCP_BEARER_TOKEN"
Most MCP clients only need the server address and open the Files.fm sign-in automatically. Clients that cannot sign in can send an API key in the Authorization header instead. Opening the address in a browser shows a 405 message; that is normal, because MCP clients use POST requests.
URL: https://files.fm/mcp
Header (API key only): Authorization: Bearer <user_id>:<api_token>
Authentication and production access
API access requires a Files.fm account and HTTPS. Depending on the integration, authentication can use supported API credentials or sign-in methods. For production use, higher limits, custom workflows, white-label integrations, or enterprise support, contact the Files.fm team with a short description of your use case.
API keys for the REST and DMS APIs are created in your account settings and are available on paid plans and business accounts. AI assistants usually connect through the MCP sign-in and do not need a key. Manage API keys