Files.fm API
Būvējiet un automatizējiet drošas failu augšupielādes, glabāšanas, koplietošanas, apstrādes un satura pārvaldības darbplūsmas, izmantojot Files.fm API un MCP.
Files.fm API ļauj izstrādātājiem integrēt mērogojamu ES balstītu mākoņkrātuvi tīmekļa, mobilajās, galddatoru un servera puses lietojumprogrammās, neveidojot un neuzturot savu failu glabāšanas infrastruktūru un smagu failu apstrādi, piemēram, video, audio vai attēlu konvertēšanu un straumēšanu.
Ko jūs varat uzbūvēt
Galvenās API iespējas
- Failu augšupielāde, lejupielāde, pārdēvēšana, pārvietošana, dzēšana un atjaunošana
- Mapju izveide, pārdēvēšana, pārvietošana, dzēšana un atjaunošana
- Izgūt failu un mapju metadatus
- Ģenerējiet drošas tiešās lejupielādes un koplietošanas saites
- Izveidojiet ZIP arhīvus un torrent failus
- Izmantojiet attēlu sīktēlus un video priekšskatījumus
- Attēlu, videoklipu un dokumentu konvertēšana
- Lietot attēla ūdenszīmes
- Kopīgot failus elektroniskajam parakstam
- Saglabāt un izgūt pilnīgas šifrēšanas atslēgas datus
- Integrējiet mākslīgā intelekta darbinātas failu un satura apstrādes darbplūsmas
Izstrādātāju dokumentācija
Files.fm API dokumentācijā ir iekļauti galapunktu apraksti, autentifikācijas informācija, pieprasījumu parametri, atbildes formāti un piemēri. OpenAPI specifikāciju var importēt tādos rīkos kā Swagger UI, Postman, Insomnia, Stoplight, Redoc, koda ģeneratoros, testēšanas rīkos un mākslīgā intelekta kodēšanas palīgos.
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>
Autentifikācija un piekļuve ražošanas videi
API piekļuvei ir nepieciešams Files.fm konts un HTTPS. Atkarībā no integrācijas autentifikācijai var izmantot atbalstītus API akreditācijas datus vai pierakstīšanās metodes. Ražošanas lietošanai, augstākiem ierobežojumiem, pielāgotām darbplūsmām, baltās etiķetes integrācijām vai uzņēmuma atbalstam sazinieties ar Files.fm komandu, īsi aprakstot savu lietošanas gadījumu.