Codexbox MCP server
2026년 11월 10일 커밋AI 클라이언트가 샌드박스 컨테이너 환경에서 OpenAI Codex CLI 프롬프트를 실행하고 워크스페이스 파일을 관리할 수 있게 합니다.
다른 이름 psyb0t/docker-codexbox, docker-codexbox
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.7.8
- 마지막 커밋
- 2026년 11월 10일
- 라이선스
- WTFPL
Codexbox MCP란?
Codexbox은(는) MCP server입니다. AI 클라이언트가 샌드박스 컨테이너 환경에서 OpenAI Codex CLI 프롬프트를 실행하고 워크스페이스 파일을 관리할 수 있게 합니다.
프로젝트 README에서 생성된 요약
Codexbox MCP server 정보
Codexbox는 OpenAI Codex CLI 프롬프트를 실행하고 워크스페이스 파일을 관리할 수 있는 샌드박스 컨테이너 환경을 제공합니다. Docker를 사용하여 실행 환경을 격리하므로, 개발자는 보안 경계를 유지하며 AI 모델과 상호작용할 수 있습니다. 사용자는 대화형 셸, 단발성 실행, 또는 HTTP API, Telegram bot, cron 스케줄러와 같은 특화된 모드를 통해 연결할 수 있습니다.
이 서버를 사용하려면 Docker가 설치되어 실행 중이어야 합니다. 인증은 OpenAI API 키 또는 codexbox login 명령어를 통한 ChatGPT 구독으로 처리됩니다. 시스템은 최소 버전과 Go, Terraform, kubectl, Helm 등의 도구가 포함된 풀 버전을 포함하여 다양한 이미지 변형을 지원합니다. MCP 모드로 실행할 경우 streamable HTTP를 통해 run_prompt 및 워크스페이스 파일 도구를 제공하므로 다양한 AI agent 클라이언트와 호환됩니다.
활용 사례
- 1단일 코딩 작업 실행개발자가 터미널에서 실패하는 테스트를 수정하기 위한 특정 지침을 직접 보낼 수 있습니다.
- 2반복적인 코딩 작업 자동화cron 스케줄을 사용하여 특정 Codex 명령이 정기적으로 실행되도록 예약할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Codexbox MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Codexbox MCP 설치
$ claude mcp add docker-codexbox -- docker run -i --rm docker.io/psyb0t/codexbox:v0.7.8Cursor에 Codexbox MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"docker-codexbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/codexbox:v0.7.8"
]
}
}
}VS Code에 Codexbox MCP 설치
.vscode/mcp.json
{
"servers": {
"docker-codexbox": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/codexbox:v0.7.8"
]
}
}
}VS Code CLI에 Codexbox MCP 설치
$ code --add-mcp '{"name":"docker-codexbox","type":"stdio","command":"docker","args":["run","-i","--rm","docker.io/psyb0t/codexbox:v0.7.8"]}'Claude Desktop에 Codexbox MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"docker-codexbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/codexbox:v0.7.8"
]
}
}
}Codex에 Codexbox MCP 설치
$ codex mcp add docker-codexbox -- docker run -i --rm docker.io/psyb0t/codexbox:v0.7.8Codex config.toml에 Codexbox MCP 설치
~/.codex/config.toml
[mcp_servers.docker-codexbox] command = "docker" args = ["run", "-i", "--rm", "docker.io/psyb0t/codexbox:v0.7.8"]
Gemini CLI에 Codexbox MCP 설치
$ gemini mcp add -s user docker-codexbox docker -- run -i --rm docker.io/psyb0t/codexbox:v0.7.8Gemini settings.json에 Codexbox MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"docker-codexbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/psyb0t/codexbox:v0.7.8"
]
}
}
}구성
CODEXBOX_FULL
| 이름 | 설명 | 유형 |
|---|---|---|
| CODEXBOX_FULL | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능psyb0t/docker-codexbox is public and reachablegithub.com/psyb0t/docker-codexbox ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)WTFPL is not OSI-approvedspdx.org/licenses/WTFPL.html ↗결함 발견
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-10github.com/psyb0t/docker-codexbox ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기codexbox
OpenAI Codex CLI inside an aicodebox container. Minimal and toolchain-loaded images, and six ways in: interactive shell, one-shot exec, an HTTP API with an OpenAI-compatible endpoint, an MCP server, a Telegram bot, and a cron scheduler that fires codex on whatever schedule you want.
You talk to codexbox. codexbox talks to codex. codex talks to OpenAI, or to your ChatGPT subscription. Nobody cares about the middle.
Documentation: https://psyb0t.github.io/docker-codexbox/
Table of Contents
Quick start
Docker installed and running is the only prerequisite. The installer pulls the image, creates ~/.codex and ~/.ssh/codexbox, and installs the codexbox command on your PATH.
# minimal image, the default
curl -fsSL https://raw.githubusercontent.com/psyb0t/docker-codexbox/main/install.sh | bash
# full image, every development tool installed
export CODEXBOX_FULL=1 && curl -fsSL https://raw.githubusercontent.com/psyb0t/docker-codexbox/main/install.sh | bash
Then log in once and go:
codexbox login --device-auth # ChatGPT subscription, or: export OPENAI_API_KEY=sk-...
codexbox # Codex TUI, continuing the last session for THIS directory
codexbox --no-continue # same, but a brand-new session
codexbox exec "fix the failing test in ./app" # one-shot, output to your terminal
echo "summarize README.md" | codexbox exec - # prompt via stdin
codexbox stop # stop this directory's containers
The wrapper mounts the current directory, keeps ~/.codex so the login and sessions survive, and passes any other codex subcommand straight through. The sandbox-bypass flag is added inside the container; the container is the sandbox. Install routes, local builds and every wrapper setting are in Install and The codexbox wrapper.
Image variants
psyb0t/codexbox:latest: Codex, Node.js, Python,uv, Docker, Git,jqandcurl, onpsyb0t/aicodebox:v0.18.4.psyb0t/codexbox:latest-full: the same Codex layer onpsyb0t/aicodebox:v0.18.4-full, with Go, Python, JavaScript and TypeScript tooling, GitHub CLI, Terraform, kubectl, Helm, debuggers and database clients.
The full image bundles Terraform, which is BUSL-1.1 and not OSI-approved open source. The variant list and licensing notes have the details, and THIRD_PARTY.md lists every bundled component.
Modes
Set a mode flag and the container becomes a service. API, Telegram and cron run in the foreground (API wins; Telegram and cron can run together). MCP runs next to any of them.
| Flag | What you get |
|---|---|
CODEXBOX_API_MODE=1 |
POST /run, workspace files over HTTP, and an OpenAI-compatible chat/completions endpoint on :8080. Needs CODEXBOX_AVAILABLE_MODELS. |
CODEXBOX_TELEGRAM_MODE=1 |
Codex in Telegram, one workspace per chat, per-chat /model and /effort |
CODEXBOX_CRON_MODE=1 |
YAML jobs on 6-field cron schedules, with run history |
CODEXBOX_MCP_MODE=1 |
run_prompt and workspace file tools over streamable HTTP |
services:
codexbox:
image: psyb0t/codexbox:latest
ports:
- "127.0.0.1:8080:8080"
environment:
- CODEXBOX_API_MODE=1
- CODEXBOX_API_MODE_TOKEN=your-secret
- CODEXBOX_AVAILABLE_MODELS=gpt-5.1-codex,gpt-5.1-codex-mini
- OPENAI_API_KEY=sk-...
volumes:
- ~/workspaces:/workspace
An empty token means no auth on that surface. Each mode's page in the documentation has its settings and examples.
Documentation
The full documentation lives at https://psyb0t.github.io/docker-codexbox/.
| Section | What it covers |
|---|---|
| Install | Installer, local builds, upgrading, image variants and licensing |
| The codexbox wrapper | Commands, host settings, CODEXBOX_ENV_ forwarding, sibling boxes, SSH agents |
| Authentication | API key or ChatGPT subscription, models and reasoning effort |
| Configuration | Container settings, AICODEBOX_ aliases, Git identity, init scripts, ports |
| Modes | API, Telegram, cron and MCP |
| Codex adapter | How run options map to Codex flags, and session continuation |
| Agent integrations | The skill and plugins for Claude Code, Codex and OpenClaw |
| Troubleshooting | Error messages and their fixes |
| Development | Building, linting, testing, CI and releases |
Agent integrations
The skill works in any agent that reads .agents/skills/ (such as peen) and installs natively in Claude Code, Codex and OpenClaw:
claude plugin marketplace add psyb0t/agents && claude plugin install codexbox@psyb0t
codex plugin marketplace add psyb0t/agents && codex plugin add codexbox@psyb0t
openclaw skills install @psyb0t/codexbox
The @psyb0t/codexbox OpenClaw plugin bridges stdio MCP clients to a running box. See Agent integrations.
Development
make help # every target
make build # minimal image on the published aicodebox base
make build-full # full image
make lint # shellcheck, shfmt, ruff and pyright, all in containers
make test-ci # the credential-free tests CI runs
make test # the end-to-end suite (needs .env.test)
make docs # build the documentation site into .testing/docs-site
Details in Development.
Sponsor
License
WTFPL, see LICENSE. Do what the fuck you want.
Third-party components bundled in the published images (Codex, and in the full image only Terraform, gh, kubectl, Helm and golangci-lint) keep their own licenses; see THIRD_PARTY.md.
Codexbox MCP 질문
Codexbox MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add docker-codexbox -- docker run -i --rm docker.io/psyb0t/codexbox:v0.7.8를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Codexbox MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
MCP 모드에서는 어떤 기능을 제공하나요?
MCP 모드는 streamable HTTP를 통해 run_prompt 및 워크스페이스 파일 도구를 제공합니다.
ChatGPT 구독을 사용하여 Codexbox를 어떻게 이용할 수 있나요?
기기 인증 방식을 사용하여 로그인하면 ChatGPT 구독을 이용할 수 있습니다.