RFC: Sim MCP - Model Context Protocol Server for Sim

Offen
#3,567 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
api, cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
29.8k
Forks
3.9k
Ø Merge
1 Std. 44 Min.
Gemergte PRs (30 T.)
841

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus simstudioai/sim

Alle Issues in simstudioai/sim

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.