Use Falcore from AI tools (MCP)
Let Claude, Cursor, VS Code or Windsurf call Falcore directly.
This page is about tools the Falcore server offers an AI assistant. For tools your app offers Falcore's agent (a clip placer in your editor, say), see Client tools.
Falcore is also a remote MCP server at https://api.falcorelabs.com/mcp (Streamable HTTP). AI tools that support MCP can then generate sound, compose music and score videos for you in conversation. It uses the same key, limits and balance as the REST API.
Set up a tool
from falcore import CatalystMCP
print(CatalystMCP.config("claude-code")) # claude-code | claude-desktop | cursor | vscode | windsurf | stdio
mcp = CatalystMCP(api_key="fal_live_...")
mcp.tools() # the tools the server offers
mcp.call("get_usage", {}) # run one tool by handCatalystMCP is deliberately not called mcp, so it never collides with an MCP library you already import. The setup text refers to $FALCORE_API_KEY and never contains your key.
The tools
Fourteen tools: chat, generate_sound, compose_music, upload_video, score_video, approve_plan, edit_plan, get_session, get_file_url, regenerate_layer, register_editor_tools, get_request, cancel_request, get_usage. When the balance runs out or a limit is hit, a tool call returns an ordinary tool error (QUOTA_EXCEEDED, RATE_LIMITED) so the assistant can tell you.
Call it by hand
# 1. Initialize (if the response has an Mcp-Session-Id header, send it back on every later call)
curl -i -sS "https://api.falcorelabs.com/mcp" -H "Authorization: Bearer $FALCORE_API_KEY" -H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{ "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "protocolVersion": "2025-03-26", "capabilities": {}, "clientInfo": { "name": "curl", "version": "1.0" } } }'
# 2. List the tools
curl -sS "https://api.falcorelabs.com/mcp" -H "Authorization: Bearer $FALCORE_API_KEY" -H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" -d '{ "jsonrpc": "2.0", "id": 2, "method": "tools/list" }'
# 3. Call a tool (do not send user_id; your key already identifies you)
curl -sS "https://api.falcorelabs.com/mcp" -H "Authorization: Bearer $FALCORE_API_KEY" -H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{ "jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": { "name": "get_usage", "arguments": {} } }'Text that comes back (replies, plans, file names) is model- or user-written. Treat results as data and review what your assistant does with them.