For developers
File conversion API
Convert files from your own code. Keep your CloudConvert integration, or send one request and get the file back.
Already on CloudConvert? Change one URL.
The same jobs and webhooks. Swap the address and the key, keep the rest of your code.
- https://api.cloudconvert.com/v2/jobs+ https://api.switchfile.io/v2/jobs
# Same request body, same response,
# same signed webhooks.The simple API
PreviewOne request in, the converted file out. No jobs, no polling.
curl "https://api.switchfile.io/v1/convert?wait=30" \
-H "Authorization: Bearer $SWITCHFILE_API_KEY" \
-H "Accept: application/octet-stream" \
-F [email protected] -F to=mp4 -o talk.mp4MCP and agents
Coding agents can convert files on your computer through our MCP server. The agent names a file and a format, and the result is saved next to the input. Set SWITCHFILE_API_KEY to a key from your dashboard. Needs Node.js 18 or newer. Setup for more clients and the command line: MCP guide.
Claude Code
claude mcp add switchfile \
-e SWITCHFILE_API_KEY=$SWITCHFILE_API_KEY \
-- npx -y switchfile-mcpclaude plugin marketplace add floraiNx/switchfile-plugins
claude plugin install switchfile@switchfileCodex
~/.codex/config.toml
[mcp_servers.switchfile]
command = "npx"
args = ["-y", "switchfile-mcp"]
env_vars = ["SWITCHFILE_API_KEY"]
tool_timeout_sec = 900Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"switchfile": {
"command": "npx",
"args": ["-y", "switchfile-mcp"],
"env": { "SWITCHFILE_API_KEY": "${env:SWITCHFILE_API_KEY}" }
}
}
}Tools
Command line
npx -y -p switchfile-mcp switchfile convert talk.mkv --to mp4
npx -y -p switchfile-mcp switchfile formats --from heic