Deploy Workflows as MCP
Expose your workflows as MCP tools for external AI assistants and applications
Deploy your workflows as MCP tools to make them accessible to external AI assistants like Claude Desktop, Cursor, and other MCP-compatible clients. This turns your workflows into callable tools that can be invoked from anywhere.
Creating and Managing MCP Servers
MCP servers group your workflow tools together. Create and manage them in workspace settings:
- Navigate to Settings → MCP Servers
- Click Add
- Enter a name and optional description
- Choose access: API Key (private, requires
X-API-Keyheader) or Public (no authentication) - Optionally select deployed workflows to add as tools immediately
- Click Add Server
- Click Details to view the MCP server
- Copy the server URL for use in your MCP clients
- View and manage all tools added to the server
Adding a Workflow as a Tool
Once your workflow is deployed, you can expose it as an MCP tool:
- Open your deployed workflow
- Click Deploy and go to the MCP tab
- Configure the tool name and description
- Add descriptions for each parameter (helps AI understand inputs)
- Select which MCP servers to add it to
- Click Save Tool
The workflow must be deployed before it can be added as an MCP tool.
Tool Configuration
Tool Name
Use lowercase letters, numbers, and underscores. The name should be descriptive and follow MCP naming conventions (e.g., search_documents, send_email).
Description
Write a clear description of what the tool does. This helps AI assistants understand when to use the tool.
Parameters
Your workflow's input format fields become tool parameters. Add descriptions to each parameter to help AI assistants provide correct values.
Connecting MCP Clients
Sim generates a ready-to-paste configuration for every supported client. To get it:
- Navigate to Settings → MCP Servers
- Click Details on your server
- Under MCP Client, select your client — Cursor, Claude Code, Claude Desktop, VS Code, or Sim
- Copy the configuration, replacing
$SIM_API_KEYwith your Sim API key
Cursor
Cursor supports direct URL configuration. Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"my-sim-workflows": {
"url": "YOUR_SERVER_URL",
"headers": { "X-API-Key": "$SIM_API_KEY" }
}
}
}Cursor also provides a one-click install button in the server detail view.
Claude Code
Run this command in your terminal:
claude mcp add "my-sim-workflows" --url "YOUR_SERVER_URL" --header "X-API-Key:$SIM_API_KEY"Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"my-sim-workflows": {
"command": "npx",
"args": ["-y", "mcp-remote", "YOUR_SERVER_URL", "--header", "X-API-Key:$SIM_API_KEY"]
}
}
}VS Code
Add to your VS Code MCP settings (.vscode/mcp.json):
{
"mcpServers": {
"my-sim-workflows": {
"command": "npx",
"args": ["-y", "mcp-remote", "YOUR_SERVER_URL", "--header", "X-API-Key:$SIM_API_KEY"]
}
}
}For public servers, omit the X-API-Key header and --header arguments. Public servers don't require authentication.
$SIM_API_KEY is a placeholder. For Claude Desktop and VS Code configs, replace it with your actual API key since these clients don't expand environment variables in JSON config files. Claude Code and Cursor handle variable expansion natively.
Server Management
From the server detail view in Settings → MCP Servers, you can:
- View tools: See all workflows added to a server
- Copy URL: Get the server URL for MCP clients
- Add workflows: Add more deployed workflows as tools
- Remove tools: Remove workflows from the server
- Delete server: Remove the entire server and all its tools
How It Works
When an MCP client calls your tool:
- The request is received at your MCP server URL
- Sim validates the request and maps parameters to workflow inputs
- The deployed workflow executes with the provided inputs
- Results are returned to the MCP client
Workflows execute using the same deployment version as API calls, ensuring consistent behavior.
Permission Requirements
| Action | Required Permission |
|---|---|
| Create MCP servers | Write or Admin |
| Add workflows to servers | Write or Admin |
| View MCP servers | Read, Write, or Admin |
| Delete MCP servers | Admin |