← Back to directory
S

Sandcastle MCP Server

Community
Run and manage AI workflows from chat.
Category
Dev Tools #664 of 751
Stars
★ 93 Popular
Transport
stdio (local process)
Runtime
Python 3.12+
Credentials
Optional API key
License
Other / unspecified
Last commit
Tools
8
38FMRS · D

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

Reliability
4/20
Security and permissions
7/20
Maintenance
5/20
Documentation
10/20
Setup experience
12/20
Why each score
Reliability 4/20
The README lists eight MCP tools and three read-only resources and describes stdio access to a local HTTP API. No server manifest or implementation source was provided, and there is no verifiable evidence for initialization, tool-list handshakes, error handling, or tests of key MCP paths. The README also gives conflicting counts for step types, templates, and providers, so the declared behavior cannot be confirmed.
Security and permissions 7/20
The documentation says MCP can run workflows, save YAML, create schedules, and delete schedules, and that it connects using an API key. It does not explain per-tool permissions, tenant scoping, or confirmation for consequential operations. The README describes some security settings, such as restrictions on code steps and a Memory MCP token, but that does not verify these controls in this MCP server. No red-line evidence is present; missing evidence limits the score.
Maintenance 5/20
Repository metadata says the project is not archived and reports 93 stars and four open issues; the README identifies a PyPI version and release notes. This is limited evidence of ongoing maintenance. There is no verifiable commit cadence, issue response, security-response channel, or clear license text, and the NOASSERTION metadata conflicts with the README's BSL 1.1 badge claim, so points are deducted.
Documentation 10/20
The README provides an MCP tool and resource list, installation command, Claude Desktop configuration example, and the requirement to run the service. This is enough to understand the basic connection path. Tool parameters, error and timeout behavior, permission boundaries, and troubleshooting are underspecified; conflicting version and feature counts also reduce reviewability.
Setup experience 12/20
The README shows how to install the MCP extra, start Sandcastle, and configure Claude Desktop for stdio, with URL and API key available through command-line options or environment variables. Setup still depends on a separately running service and configured authentication. The Cursor example omits an API key, and no source or execution evidence verifies an end-to-end connection, limiting the score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkChanges third-party account dataControls a browserConnects to a database

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.

Not for

  • Users without a running Sandcastle service; the MCP server requires one to connect to.
  • Users seeking general chat or who do not need workflow orchestration.
  • Users who need to read workflow, schedule, or health information as MCP resources; the README lists these as resources, not tools.

Required permissions

  • Requires access to the configured Sandcastle service address.
  • Requires an API key for service authentication; the client example configures it as `SANDCASTLE_API_KEY`.
  • Can perform the requested tool operations: run, inspect, and cancel workflows; save definitions; and create or delete schedules.

Risks and side effects

  • Workflow execution may call configured models, integrations, and sandbox backends, with associated costs or external side effects.
  • Saving workflows, cancelling runs, and managing schedules change server state; use an appropriately scoped service and API key.
  • The README describes sandboxing, data residency, PII handling, and audit capabilities, but their protection depends on deployment configuration and the selected backend.

Setup

Before you start

Runtime:Python 3.12+

SANDCASTLE_API_KEY optionalsecret Sandcastle API key. Get it from your Sandcastle service; you can also set it with --api-key.
Other optional settings (1)
SANDCASTLE_URL optional 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.

claude_desktop_config.json
{"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.

.vscode/mcp.json
{
  "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).

~/.codex/config.toml
[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).

Terminal
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.

Check that it works

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.

Troubleshooting

  1. Confirm `sandcastle-ai[mcp]` is installed and the `sandcastle mcp` command is available.
  2. Confirm `sandcastle serve` is running and `SANDCASTLE_URL` points to a reachable API address.
  3. Check that `SANDCASTLE_API_KEY` is valid; also verify the `--url` and `--api-key` arguments if used.
  4. If a workflow fails, check service health, the workflow definition, required API keys, and backend configuration.

Things to try

Once connected, you can ask your AI assistant things like:

  • Run the lead-enrichment workflow with target_url set to https://example.com.
  • Check the latest run status and step results.
  • List all failed runs.
  • Create a schedule to run data-sync every day at 9 AM.

Tools 8

run_workflow writes
Run a saved workflow by name, with optional input data and wait mode.
run_workflow_yaml writes
Run a workflow from an inline YAML definition.
get_run_status read-only
Get detailed run status, including step results.
cancel_run writes
Cancel a queued or running workflow.
list_runs read-only
List runs with optional status and workflow filters.
save_workflow writes
Save a workflow YAML definition to the server.
create_schedule writes
Create a cron schedule for a workflow.
delete_schedule destructive
Delete a workflow schedule.

Use cases

Run saved workflows and inspect results from a chat client.
Start workflows from inline YAML or save YAML definitions to the server.
Query, filter, or cancel workflow runs.
Create and delete workflow schedules.

Supported clients

Claude Desktop
Cursor
Windsurf

Listed from the project's documentation, not tested by this site.

Overview

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.

Similar servers

Source revision b6f38ed7cb06 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/sandcastle.svg)](https://followmcp.com/en/servers/sandcastle)