# Claudebox

> Claudebox is an open-source MCP server for developer tools. Self-hosted container that exposes Claude Code to other agents over HTTP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, Linux, macOS, Telegram, API
- **Repository:** https://github.com/psyb0t/docker-claudebox
- **MCP Registry name:** io.github.psyb0t/claudebox
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (~/.copilot/mcp-config.json)

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

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

### Devin Desktop (~/.config/devin/mcp_config.json)

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

### Cline (cline_mcp_settings.json)

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

### Zed (Zed settings.json)

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

### Kiro (~/.kiro/settings/mcp.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

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

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [mcp-for-blender](https://ai-powered.com/mcp/mcp-for-blender): mcp-for-blender is an open-source MCP server for design and media.

---
Source: https://ai-powered.com/mcp/claudebox
