SandBase Harness
MCP server by sandbaseai Community
SandBase Harness is a local-first runtime for AI agents, with sessions, sandboxed tools, memory, credentials, audit trails, and a built-in Console. It runs on your own machine or in your own infrastructure.
Install SandBase Harness
Built from the published package, never by AI.
claude mcp add sandbase-harness -e MANAGED_AGENTS_URL=YOUR_MANAGED_AGENTS_URL -- docker run -i --rm -e MANAGED_AGENTS_URL ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8Run in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sandbase-harness": {
"env": {
"MANAGED_AGENTS_URL": "YOUR_MANAGED_AGENTS_URL"
},
"args": [
"run",
"-i",
"--rm",
"-e",
"MANAGED_AGENTS_URL",
"ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8"
],
"command": "docker"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"sandbase-harness": {
"env": {
"MANAGED_AGENTS_URL": "YOUR_MANAGED_AGENTS_URL"
},
"args": [
"run",
"-i",
"--rm",
"-e",
"MANAGED_AGENTS_URL",
"ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8"
],
"command": "docker"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sandbase-harness": {
"env": {
"MANAGED_AGENTS_URL": "YOUR_MANAGED_AGENTS_URL"
},
"args": [
"run",
"-i",
"--rm",
"-e",
"MANAGED_AGENTS_URL",
"ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8"
],
"command": "docker"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sandbase-harness --env MANAGED_AGENTS_URL=YOUR_MANAGED_AGENTS_URL -- docker run -i --rm -e MANAGED_AGENTS_URL ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8{
"mcpServers": {
"sandbase-harness": {
"env": {
"MANAGED_AGENTS_URL": "YOUR_MANAGED_AGENTS_URL"
},
"args": [
"run",
"-i",
"--rm",
"-e",
"MANAGED_AGENTS_URL",
"ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8"
],
"command": "docker"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add sandbase-harness docker run -i --rm -e MANAGED_AGENTS_URL ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8Gemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sandbase-harness block.
About
SandBase Harness is a local-first runtime for AI agents. It provides persistent sessions, sandboxed tools, memory, credential vaults, audit trails, and a built-in Console. Sandbox backends include local process, Docker, Kubernetes, and a self-hosted worker queue. After you run its init and start commands, it serves a /v1 API and the Console on a local port.
Agents run through sessions with resumable Server-Sent Events for replay and debugging. The runtime supports OpenAI, Anthropic, MiniMax, and OpenAI-compatible providers. Storage is local SQLite and files, with no required hosted control plane. It is aimed at teams that want to run agent runtimes on their own machines or infrastructure.
Written from the project's README and checked against it.
What you need
- Node.js 22+
- npm 10+
- A model provider API key (OpenAI, Anthropic, MiniMax, or an OpenAI-compatible endpoint)
- Docker (optional, only for Docker-backed sandboxes)
| Setting | Needed | What it is |
|---|---|---|
MANAGED_Environment variable | Required | URL of the SandBase Harness runtime API. |
MANAGED_Environment variable, secret | Optional | API key when the connected Harness runtime requires authentication. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Create a session for my assistant agent and send it a message
- Cancel the running turn in my current session
- List the artifacts produced in this session
Good to know
- The multiagent roster block is refused by name and not implemented.
- A saved provider setting takes effect only after the runtime restarts.
- Codespaces usage may be billed by GitHub.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Run AI agents on your own infrastructure
- Inspect and replay long-running agent sessions
- Control tool access and credentials for agents
Alternatives to SandBase Harness
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
SandBase Harness: common questions
Does SandBase Harness need a hosted service?
No. The source says it has no required hosted control plane, and it stores metadata in local SQLite with file bytes in the workspace state directory.
Which model providers does it support?
The source lists OpenAI, Anthropic, MiniMax, and OpenAI-compatible providers, including DeepSeek V4. Only one active model provider boundary is configured at a time.
Is Docker required to run it?
No. The source says Docker is optional and only needed for Docker-backed sandboxes.
How do I install SandBase Harness?
In Claude Code run claude mcp add sandbase-harness -e MANAGED_AGENTS_URL=YOUR_MANAGED_AGENTS_URL -- docker run -i --rm -e MANAGED_AGENTS_URL ghcr.io/sandbaseai/sandbase-harness-mcp:0.3.8. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is SandBase Harness the official server?
SandBase Harness is a community project by sandbaseai, not verified by a company domain.
Is SandBase Harness free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is SandBase Harness safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to SandBase Harness?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does SandBase Harness work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
