https://api.fal.ai/v1/mcp/platform and is read-only: it can observe your account but never change it.
You need a fal API key to connect. If you don’t have one yet, create one here.
Setup
- Claude Code
- Cursor
- Other MCP Clients
Run this command in your terminal:
Note the auth scheme: this server uses
Authorization: Key YOUR_FAL_KEY (the Platform API’s native scheme), not Bearer. You can connect both fal MCP servers side by side — they complement each other.Available Tools
The server exposes 16 tools: twelve first-class serverless debugging tools, plus a four-tool discovery gateway that opens up the rest of the Platform API (compute, workflows, keys, account, organization, storage) without bloating your assistant’s context.Serverless debugging
Discovery
Examples
Debug a failing endpoint
“My requests to my-app started failing about an hour ago — figure out why”The assistant will:
- Use
fetch_requeststo find the failing requests and theirrequest_ids - Use
fetch_request_logswithtraceback: trueto read the stack traces - Use
get_analyticsto check whether the failures are widespread or isolated - Use
fetch_eventsto check whether a deploy or config change lines up with when the failures started - Use
get_current_stateto see if runners are healthy right now
Judge the blast radius
“Is my-app having an incident or was that one bad request?”The assistant calls
get_analytics with the error-count metrics over the incident window and compares error rates against request volume.
Did a deploy break it?
“Errors on my-app jumped Tuesday afternoon — did that start with a deploy?”The assistant uses
list_revisions to see when each revision went out (and who deployed it), then lines those boundaries up against the error timeline from get_analytics.
Why is my queue growing?
“Requests to my-app are taking forever — are we capacity-bound?”The assistant compares
get_queue_history against get_runner_history over the same window: queue depth climbing while runner counts stay flat means undercapacity; queue climbing with traffic (from get_analytics) means a spike.
Watch spend
“How much did my serverless apps cost this week, and was any of it surge pricing?”The assistant calls
get_usage with a weekly window (admin-scoped key required).
Reach beyond serverless
“List my compute instances”The assistant uses
search_operations("compute instances") → invoke_operation — no serverless-specific tool needed.
How It Works
The server runs inside the fal Platform API and is fully stateless:- Your assistant sends a request to
https://api.fal.ai/v1/mcp/platformwith your API key - Tool calls execute against the Platform API with that key — normal permissions and ownership scoping apply, so you can only ever see your own account
- Results are returned to your assistant
- Data freshness — request, analytics, and usage data are warehouse-backed and can lag real time by a few minutes. Responses carry an
as_ofmarker, and the server instructs your assistant not to mistake ingestion lag for “no traffic” during a live incident. - Output limits — large responses are truncated with guidance to narrow the query, so a noisy log search won’t flood your assistant’s context.
- Key scopes — most tools work with any valid key;
get_usagerequires an admin-scoped key.
FAQ
- How is this different from the Run MCP?
- Can it change anything on my account?
- Is my API key stored?
- Does it cost extra?
The Run MCP at
mcp.fal.ai/mcp is for building with models: search the catalog, run inference, upload files. The Platform API MCP is for operating your account: debugging serverless apps, checking spend, inspecting infrastructure. Connect both — they don’t overlap.