Overview
The MCP server exposes a curated subset of the SuperAI Flows API as MCP tools over the Streamable HTTP transport. It’s mounted at/mcp on the main API service and secured via the service-account API key system.
Authentication
All MCP requests require a valid service-account API key passed via theX-API-Key header.
- Navigate to Settings → Service Accounts in the SuperAI Flows UI.
- Create a new service account or use an existing one.
- Copy the API key (format:
saf_org_...).
Bearer token (
Authorization header) authentication is not supported for MCP — use API keys only.Client configuration
- Claude Code
- Claude Desktop
- Native header support
Add to Add
.mcp.json in your project root:.mcp.json to .gitignore if it contains API keys."X-API-Key:${SAF_API_KEY}".
Available tools
The MCP server exposes 5 tools across three categories.Discovery
get_task_executors
List all available task executors (building blocks) for workflow composition.
Use when: you need to know what task types exist before creating or modifying a flow. Parameters: none.
Returns an array of task executor definitions, each including task_executor_name, task_executor_description, parameters_schema, flow_input_schema, is_input_task_executor, and is_schedulable_executor.
Flow management
create_flow
Create a new flow in draft status.
Returns a complete
FlowResponse with ID, version, status, and definition.
update_flow_definition
Replace the entire definition of a draft flow. Creates a new version.
Only flows in
draft status can be updated; published flows are immutable. Each update increments the version number.
Flow inspection
get_flow
Retrieve a specific flow by ID with its complete definition and metadata.
File access
generate_download_url
Generate a pre-signed URL (valid for 1 hour) for downloading a flow file.
Common workflows
Testing
The MCP Inspector is the easiest way to debug:https://flows.super.ai/mcp with Streamable HTTP transport and add the X-API-Key header. Or check the endpoint with curl:
Limitations
- API key auth only — JWT / bearer token authentication is not supported for MCP connections.
- Read/write scope — The API key’s permissions determine which flows are accessible.
- No streaming — Tool responses are returned as complete JSON.
- 5 tools only — Only core flow management endpoints are exposed; flow executions, task outputs, and admin endpoints are not available via MCP.