ai
fal.ai MCP Gateway for AI Agents
Expose fal.ai tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
7 functions 5 read 2 write API key auth
fal.ai MCP Gateway
Expose fal.ai to MCP clients with `kosmokrator mcp:serve --integration=fal`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=fal --write=deny --json {
"mcpServers": {
"kosmokrator-fal": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=fal",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=fal --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__fal__fal_list_models | fal.fal_list_models | Read read |
integration__fal__fal_submit_request | fal.fal_submit_request | Write write |
integration__fal__fal_get_request_status | fal.fal_get_request_status | Read read |
integration__fal__fal_get_result | fal.fal_get_result | Read read |
integration__fal__fal_list_files | fal.fal_list_files | Read read |
integration__fal__fal_upload_file | fal.fal_upload_file | Write write |
integration__fal__fal_get_current_user | fal.fal_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.