Files.fm API
Entwickeln und automatisieren Sie sichere Workflows für das Hochladen, Speichern, Teilen, Verarbeiten und Verwalten von Dateien mithilfe der Files.fm API und MCP.
Die Files.fm API ermöglicht es Entwicklern, skalierbaren ES-basierten Cloud-Speicher in Web-, Mobil-, Desktop- und serverseitige Anwendungen zu integrieren, ohne eine eigene Dateispeicherinfrastruktur aufbauen und warten zu müssen und keine aufwändige Dateiverarbeitung wie Video-, Audio- oder Bildkonvertierung und -streaming durchführen zu müssen.
Was Sie bauen können
Haupt-API-Funktionen
- Dateien hochladen, herunterladen, umbenennen, verschieben, löschen und wiederherstellen
- Ordner erstellen, umbenennen, verschieben, löschen und wiederherstellen
- Metadaten von Dateien und Ordnern abrufen
- Generieren Sie sichere Direkt-Download- und Freigabelinks.
- Erstellen Sie ZIP-Archive und Torrent-Dateien
- Verwenden Sie Bildminiaturen und Videovorschauen.
- Bilder, Videos und Dokumente konvertieren
- Bildwasserzeichen anwenden
- Dateien zur elektronischen Signatur freigeben
- Speichern und Abrufen von Ende-zu-Ende-Verschlüsselungsschlüsseldaten
- Integration KI-gestützter Workflows zur Datei- und Inhaltsverarbeitung
Entwicklerdokumentation
Die Files.fm-API-Dokumentation enthält Endpunktbeschreibungen, Authentifizierungsdetails, Anfrageparameter, Antwortformate und Beispiele. Die OpenAPI-Spezifikation lässt sich in Tools wie Swagger UI, Postman, Insomnia, Stoplight, Redoc, Codegeneratoren, Testwerkzeuge und KI-Programmierassistenten importieren.
MCP connector for AI agents
Files.fm now provides a hosted Model Context Protocol (MCP) endpoint so AI agents can securely work with your files and API documentation.
What is MCP?
The Model Context Protocol (MCP) is an open standard that lets LLM agents such as ChatGPT, Claude, Cursor, Codex, and Opencode connect to external tools and data sources in a consistent way. Once connected, the agent can call the Files.fm connector to browse folders, read files, and search your content and our API docs, without leaving the chat.
The connector is read-only: it never uploads, renames, moves, deletes, or shares files, and it only returns data that your access token is allowed to see.
What the agent can do
- Browse and inspect your folders and files
- Read file contents (within safe size limits)
- Search your files and folders by name and metadata
- Search the Files.fm API and MCP documentation
Connect your AI agent
Pick your client and add the configuration below. Replace the bearer token with your own token in the format <user_id>:<api_token>.
Add this to your project .cursor/mcp.json (or the global ~/.cursor/mcp.json).
{
"mcpServers": {
"filesfm": {
"url": "https://api.files.fm/api/mcp",
"headers": {
"Authorization": "Bearer <user_id>:<api_token>"
}
}
}
}
Add a remote MCP server to ~/.codex/config.toml and export the token as an environment variable.
[mcp_servers.filesfm]
url = "https://api.files.fm/api/mcp"
bearer_token_env_var = "FILESFMMCP_BEARER_TOKEN"
export FILESFMMCP_BEARER_TOKEN="<user_id>:<api_token>"
In a Claude client that supports remote MCP servers or connectors, add the endpoint as a custom connector and set the Authorization header. The exact UI differs by Claude product and release.
URL: https://api.files.fm/api/mcp
Header: Authorization: Bearer <user_id>:<api_token>
Add a remote MCP server to your opencode.json configuration.
{
"mcp": {
"filesfm": {
"type": "remote",
"url": "https://api.files.fm/api/mcp",
"headers": {
"Authorization": "Bearer <user_id>:<api_token>"
}
}
}
}
In ChatGPT, open Settings and add a custom connector (Connectors / Developer mode) using the endpoint URL and your bearer token. Availability depends on your ChatGPT plan and the current interface.
URL: https://api.files.fm/api/mcp
Header: Authorization: Bearer <user_id>:<api_token>
Authentifizierung und Produktionszugriff
Für den API-Zugriff benötigen Sie ein Files.fm-Konto und HTTPS. Je nach Integration kann die Authentifizierung über unterstützte API-Zugangsdaten oder Anmeldemethoden erfolgen. Für den Produktiveinsatz, höhere Limits, benutzerdefinierte Workflows, White-Label-Integrationen oder Enterprise-Support kontaktieren Sie bitte das Files.fm-Team mit einer kurzen Beschreibung Ihres Anwendungsfalls.