RFC: Sim MCP - Model Context Protocol Server for Sim

Đang mở
#3,567 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
api, cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
29.8k
Fork
3.9k
Merge trung bình
1 giờ 44 phút
Pull request đã merge (30 ngày)
841

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simstudioai/sim

Tất cả issue của simstudioai/sim

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.