Skip to content
MCP server

Claudebox

Self-hosted container that exposes Claude Code to other agents over HTTP

Claudebox is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Open source
Platforms
CLI, Self-hosted, Linux
Runs
Remotely
Version
2.8.10
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add claudebox -- docker run -i --rm docker.io/psyb0t/claudebox:v2.8.10

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "claudebox": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/psyb0t/claudebox:v2.8.10"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "claudebox": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/psyb0t/claudebox:v2.8.10"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "claudebox": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/psyb0t/claudebox:v2.8.10"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "claudebox": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/psyb0t/claudebox:v2.8.10"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add claudebox -- docker run -i --rm docker.io/psyb0t/claudebox:v2.8.10

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.claudebox]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/psyb0t/claudebox:v2.8.10"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "claudebox": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/psyb0t/claudebox:v2.8.10"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user claudebox docker -- run -i --rm docker.io/psyb0t/claudebox:v2.8.10

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "claudebox": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "docker.io/psyb0t/claudebox:v2.8.10"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Claudebox

Claudebox wraps Claude Code in a Docker image and offers several ways in: an interactive terminal, one-shot prompts with text or JSON output, an HTTP API with an OpenAI-compatible chat endpoint, a Telegram bot, scheduled cron jobs and an MCP endpoint that other agents can call over Streamable HTTP. The MCP endpoint listens on port 8080 at /mcp/.

The README is blunt about safety. This is not a security sandbox: the standard wrapper uses host networking, mounts the Docker socket, gives Claude passwordless sudo and bypasses permission prompts, so it is meant for trusted workloads only. API and MCP tokens are independent, and an unset token leaves that endpoint open.

A minimal image and a full development image (Go, Python, Node, C/C++, infrastructure tools and database clients) are published. The Claude Code CLI itself is installed on a container's first start, which needs network access. Authentication uses an Anthropic API key or an OAuth token.

What it does

Six interfaces
Terminal, programmatic, API, MCP, Telegram and cron modes.
Session persistence
Mounts your directory and resumes the last session by default.
OpenAI-compatible chat
API mode includes a chat completions endpoint.
Minimal and full images
Choose a small runtime or one loaded with development tools.
Scheduled runs
Cron mode keeps durable run artifacts.
GitHub Action
One-shot jobs with a read-only context and a writable output directory.

Good for

  • Let one agent delegate coding tasks to Claude Code
  • Run Claude Code on a schedule in a container
  • Chat with a repository through Telegram
  • Call Claude Code from scripts over HTTP

Pricing

Open source

WTFPL licence; you supply your own Claude access

More servers for the same service

Claudebox FAQ

Is Claudebox safe to expose to untrusted users?

No. The README says it is not a security sandbox and should be used only with trusted workloads.

How do I authenticate Claude?

Log in through Claude Code, or set ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN.

Is the MCP endpoint protected?

Only if you set a token; an unset token leaves it open.

What licence is Claudebox under?

WTFPL.

Is Claudebox free?

Yes. Claudebox is open source, so you can use and self-host it for free.

How do I add Claudebox to Claude Code?

Run this command in your terminal: claude mcp add claudebox -- docker run -i --rm docker.io/psyb0t/claudebox:v2.8.10

What are the best alternatives to Claudebox?

The closest alternatives to Claudebox are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and Context7.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers