| title | MCP deployment |
|---|---|
| description | Expose your workflows as MCP tools for external AI assistants and applications |
import { Image } from '@/components/ui/image' import { Video } from '@/components/ui/video' import { Callout } from 'fumadocs-ui/components/callout' import { FAQ } from '@/components/ui/faq'
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.
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
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 (the description defaults to the workflow's description)
- Review the parameter descriptions (prefilled from your Start block inputs) and override any per tool
- Select which MCP servers to add it to
- Click Save Tool
Use lowercase letters, numbers, and underscores. The name should be descriptive and follow MCP naming conventions (e.g., search_documents, send_email).
Write a clear description of what the tool does. This helps AI assistants understand when to use the tool. If you leave it blank, the tool falls back to the workflow's description.
Your workflow's input format fields become tool parameters. Each parameter's description defaults to the description set on that input in the Start block; edit it here to override it for this tool (the Start block stays the default source). Descriptions help AI assistants provide correct values.
Parameter descriptions live on your Start block inputs. A deployed tool picks up Start block changes the next time you redeploy the workflow; use a per-tool override only when a tool needs a different description than the default.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 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.
Run this command in your terminal:
claude mcp add "my-sim-workflows" --url "YOUR_SERVER_URL" --header "X-API-Key:$SIM_API_KEY"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"]
}
}
}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"]
}
}
}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
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.
| 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 |
<FAQ items={[ { question: "Does my workflow need to be deployed before adding it as an MCP tool?", answer: "Yes. Only deployed workflows can be added as MCP tools. The MCP tool executes the same deployment version as API calls, ensuring consistent behavior between both access methods." }, { question: "What MCP protocol does Sim implement?", answer: "Sim implements the standard MCP protocol using the official @modelcontextprotocol/sdk types, supporting JSON-RPC 2.0 messages including tools/list and tools/call methods. It handles both requests and notifications per the MCP specification." }, { question: "How do I authenticate MCP client connections?", answer: "Include your API key in the X-API-Key header when connecting via mcp-remote or other HTTP-based MCP transports. The server validates authentication using hybrid auth that supports both session-based and API key-based access." }, { question: "Can I add the same workflow to multiple MCP servers?", answer: "Yes. When configuring a workflow as an MCP tool, you can select multiple MCP servers to add it to. Each server exposes its own URL, so you can organize tools into different servers for different use cases or clients." }, { question: "What naming conventions should I follow for tool names?", answer: "Use lowercase letters, numbers, and underscores only. The name should be descriptive and follow MCP naming conventions, such as search_documents or send_email. This helps AI assistants understand and correctly invoke your tools." }, { question: "How are workflow inputs mapped to MCP tool parameters?", answer: "Your workflow's input format fields automatically become MCP tool parameters. Each parameter's description defaults to the description set on that input in the Start block, and you can override it per tool in the MCP configuration to help AI assistants understand what values to provide." }, ]} />




