Mcpd MCP Server
Turn your sandbox into an MCP server
Mcpd is an open-source mcp server by substructureai, written mainly in Rust, with 6 GitHub stars and the MIT license. Its code was last updated Aug 29, 2026.
mcpd
Built by substructure.ai
Pairs well with subs: an agent harness for the cloud.
Turn your sandbox into an MCP server.
Execute tools inside your sandbox, so your agent harness can run elsewhere.
Install
curl -fsSL https://subs.dev/mcpd.sh | bash
Quick start
Start an MCP server with a single bash tool:
mcpd --tool '{
"name": "bash",
"title": "Bash",
"description": "Run a bash command. This is a sandbox environment you can use for anything.",
"inputSchema": {
"type": "object",
"required": ["command"],
"properties": {
"command": { "type": "string", "description": "The command to run." }
}
},
"_meta": {
"dev.subs/exec": { "argv": ["/bin/bash", "-lc", "{command}"] }
}
}' \
--no-auth \
--bind "127.0.0.1:8080"
Connect a harness
subs, in subs.toml. Declare the
connection, then give it to an agent:
curl -fsSL https://subs.dev/cli.sh | bash
[mcp.sandbox]
url = "http://127.0.0.1:8080/mcp"
[agent.coder]
llm = "openrouter"
model = "deepseek/deepseek-v4-flash-0731"
system = "You are a coding agent."
mcp = ["mcp.sandbox"]
Hand the connection its token once. It never appears in the file:
subs auth mcp.sandbox
subs chat coder -c subs.toml
Claude Code
claude mcp add --transport http sandbox http://127.0.0.1:8080/mcp \
--header "Authorization: Bearer $MCPD_TOKEN"
Codex, in ~/.codex/config.toml:
[mcp_servers.sandbox]
url = "http://127.0.0.1:8080/mcp"
bearer_token_env_var = "MCPD_TOKEN"
Cursor, in ~/.cursor/mcp.json or .cursor/mcp.json:
{
"mcpServers": {
"sandbox": {
"url": "http://127.0.0.1:8080/mcp",
"headers": { "Authorization": "Bearer ${env:MCPD_TOKEN}" }
}
}
}
More examples
See examples/ for config that mimics the tools of other popular harnesses.
License
MIT — see LICENSE.
Mcpd alternatives
View more →Similar mcp servers in Other, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.
| Name | Stars | Licence | Last updated | Scan |
|---|---|---|---|---|
| Mcpd (this page) substructureai | 6 | MIT | Aug 29, 2026 | Scanned, no flagged issues |
| Github MCP Server github | 34k | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Fastapi MCP tadata-org | 12k | MIT | Nov 24, 2025 | Scanned, no flagged issues |
| GhidraMCP LaurieWired | 12k | Apache-2.0 | Oct 10, 2026 | Scanned, no flagged issues |
| MCP Go mark3labs | 9.2k | MIT | Oct 30, 2026 | Scanned, no flagged issues |
| Git MCP idosal | 8.5k | Apache-2.0 | May 8, 2026 | Scanned, no flagged issues |