Best for
- Users with a deployed Sandcastle service who want to manage workflows from Claude Desktop, Cursor, or Windsurf.
- Teams composing model calls, integrations, and approval steps in YAML DAG workflows.
This is a stdio MCP server for managing workflows through a Sandcastle service. The README documents eight tools and configuration examples for Claude Desktop, Cursor, and Windsurf; the service must be running and is accessed with an API key.
Strongest · Setup experience 12/20 Weakest · Reliability 4/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Python 3.12+
SANDCASTLE_API_KEY
Sandcastle API key. Get it from your Sandcastle service; you can also set it with --api-key.
SANDCASTLE_URL
Sandcastle API address. The default is http://localhost:8080; you can also set it with --url.
Install the MCP optional dependency with pip install sandcastle-ai[mcp]. Start the Sandcastle service with sandcastle serve. Add the README's configuration example to the client's MCP configuration, setting SANDCASTLE_URL to the service address and SANDCASTLE_API_KEY to a valid API key. The client launches the stdio server with sandcastle mcp; connection settings can also be passed with --url and --api-key.
{"mcpServers":{"sandcastle":{"command":"sandcastle","args":["mcp"],"env":{"SANDCASTLE_URL":"http://localhost:8080","SANDCASTLE_API_KEY":"sc_..."}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"sandcastle": {
"command": "sandcastle",
"args": [
"mcp"
],
"env": {
"SANDCASTLE_URL": "http://localhost:8080",
"SANDCASTLE_API_KEY": "sc_..."
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.sandcastle] command = "sandcastle" args = ["mcp"] [mcp_servers.sandcastle.env] SANDCASTLE_URL = "http://localhost:8080" SANDCASTLE_API_KEY = "sc_..."
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add sandcastle -e SANDCASTLE_URL=http://localhost:8080 -e SANDCASTLE_API_KEY=sc_... -- sandcastle mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Start sandcastle serve and connect the MCP client. Confirm run_workflow and get_run_status appear in the client's tool list, then ask it to list runs and check that the server returns results.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Sandcastle is an open-source AI workflow orchestrator with a built-in MCP server that connects compatible chat clients to a running Sandcastle service. It can run saved workflows or inline YAML workflows, report run status, cancel runs, list run records, save workflows, and manage schedules. The README also describes DAG and parallel execution, multi-provider model routing, sandbox backends, cost tracking, approval gates, privacy rules, and audit features.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision b6f38ed7cb06 Data synced 2026-12-05 Read the FMRS scoring method Markdown