RFC: Sim MCP - Model Context Protocol Server for Sim

Open
#3,567 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
api, cli

Research direction

The RFC describes an external TypeScript stdio server that forwards MCP requests to the Sim backend API, but it names no repository files, tests, or entry points. Start by reviewing the proposed workflow, deployment, execution, graph-editing, and workspace-asset operations and the x-api-key configuration; the scope is not defined until the project decides which operations, auth concerns, and integration location to accept.

Written by the indexing model from the issue text.

Description

Hey team,

I'm building an MCP (Model Context Protocol) stdio server that exposes Sim workflow operations to MCP clients. Wanted to share what I've got and get your thoughts.


What is this?

The sim-mcp server allows AI assistants (like Claude Desktop, Cursor) to interact with Sim workflows programmatically. It's a TypeScript CLI server that forwards MCP requests to the Sim backend API.


Current Tools (~30)

Workflow Lifecycle:

  • list_workflows, get_workflow, create_workflow, delete_workflow
  • get_workflow_status, get_deployed_workflow_state
  • deploy_workflow, undeploy_workflow

Deployment Versions:

  • list_deployment_versions, get_deployment_version
  • activate_deployment_version, revert_workflow_to_deployment_version

Execution:

  • execute_workflow, run_workflow_until_block, run_from_block
  • run_block, cancel_execution
  • get_execution_logs, get_execution_log_detail

Graph Editing:

  • get_block, add_blocks, remove_blocks
  • update_block_name, toggle_block_enabled, update_block_parent
  • add_edge, remove_edge
  • add_variable, remove_variable
  • update_subflow

Workspace Assets:

  • list_custom_tools, get_custom_tool, upsert_custom_tools
  • list_skills, get_skill, create_skill, update_skill, delete_skill

Auth

Uses API key auth via x-api-key header:

  • SIM_API_BASE_URL
  • SIM_API_KEY

Questions

  1. Any missing operations you'd like to see?
  2. Any concerns with the auth approach?
  3. Open to featuring this anywhere?
  4. Any upcoming API changes I should know about?

Cheers

Dominant language
TypeScript
Stars
29.8k
Forks
3.9k
Avg merge
1h 43m
Merged PRs (30d)
937

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simstudioai/sim

All issues in simstudioai/sim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.