SFXForge AI generates game sound effects from text prompts. Besides the Unity and Godot plugins and the web version, AI agents, scripts and CI pipelines can use it through an MCP server and a REST API, with the same credits, prices and sound library as your account.
- API reference: https://api.sfxforgeai.com/api/docs
- OpenAPI document: https://api.sfxforgeai.com/api/docs/openapi.json
- MCP server:
https://api.sfxforgeai.com/api/mcp(Streamable HTTP) - For AI agents: llms.txt
Authentication
Create an API key in the dashboard under API keys and send it as a bearer token:
Authorization: Bearer sfx_…
A key is shown only once, when it's created. Keys can expire after 30, 90 or 365 days, or last until you revoke them. Requests with an unknown, revoked or expired key return 401; routes a key can't use return 403.
MCP server
AI agents connect to https://api.sfxforgeai.com/api/mcp by signing in with your SFXForge AI account or with an API key, and can then generate, list, download, move and delete sounds, manage folders, and check credits.
Claude (web, desktop and mobile)
Add a custom connector with the URL https://api.sfxforgeai.com/api/mcp and leave the OAuth client ID and secret empty. When you connect, Claude sends you to SFXForge AI to sign in and allow it, optionally with a credit limit per 24 hours. On Team and Enterprise plans an owner adds the connector once, and each member connects their own account, so everyone generates with their own credits. Connected apps are listed in the dashboard under API keys, where you can change their limit or disconnect them.
Claude Code
Sign in with your account: add the server, then run /mcp in Claude Code and choose Authenticate.
claude mcp add --transport http sfxforge https://api.sfxforgeai.com/api/mcp
Or use an API key, e.g. for CI:
claude mcp add --transport http sfxforge https://api.sfxforgeai.com/api/mcp --header "Authorization: Bearer sfx_…"
Codex
Put the key in the SFXFORGE_API_KEY environment variable, then:
codex mcp add sfxforge --url https://api.sfxforgeai.com/api/mcp --bearer-token-env-var SFXFORGE_API_KEY
Other MCP clients
Connect over Streamable HTTP and send the key in an Authorization: Bearer sfx_… header. Clients that support MCP authorization (OAuth 2.1 with dynamic client registration) can sign in instead: the server answers 401 with a WWW-Authenticate header pointing at its metadata.
Tools
| Tool | What it does |
|---|---|
generate_sound_effect |
Generates a sound from a prompt (1–60 whole seconds, one-shot or loop, MP3 or WAV) and returns a download URL |
list_sounds, get_download_url |
Find sounds in the library and get a fresh download URL |
move_sound, delete_sound |
Organize or remove sounds |
list_folders, create_folder, rename_folder, move_folder, delete_folder |
Manage folders |
get_credit_balance, get_credit_history |
Check credits and the 24-hour limit of the key or connected app |
REST API
Every route an API key can call is in the API reference. For example, to generate a two-second sound:
curl https://api.sfxforgeai.com/api/generations/generate \
-H "Authorization: Bearer $SFXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": {"prompt": "sword clash with a metallic ring", "durationSeconds": 2}}'
Then get a download URL with GET /api/generations/{id}/download. Download URLs expire, so save the file right away or ask for a new URL later.
Credits and limits
Every generation spends 10 credits per second of audio from your balance. Check it with GET /api/credits/balance. A key can also have a limit of credits per rolling 24 hours, set in the dashboard: a generation that would go over it returns 429. Generating needs the latest Terms to be accepted on the website once.
Help
Questions about the API or the MCP server: support@sfxforgeai.com.