Mcpd MCP Server

by substructureai• 6•• Scanned•Claim this listing•Request removal
Othermcpmcp servermcp serversmcp tools

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.

NameStarsLicenceLast updatedScan
Mcpd (this page)
substructureai
6MITAug 29, 2026Scanned, no flagged issues
Github MCP Server
github
34kMITOct 30, 2026Scanned, no flagged issues
Fastapi MCP
tadata-org
12kMITNov 24, 2025Scanned, no flagged issues
GhidraMCP
LaurieWired
12kApache-2.0Oct 10, 2026Scanned, no flagged issues
MCP Go
mark3labs
9.2kMITOct 30, 2026Scanned, no flagged issues
Git MCP
idosal
8.5kApache-2.0May 8, 2026Scanned, no flagged issues