No description
  • Python 96.5%
  • C++ 1.8%
  • Dockerfile 1.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renovate Bot 3a63655a7a
All checks were successful
Build and push / check (push) Successful in 15s
Build and push / build (push) Successful in 21s
Update actions/cache action to v6
2026-10-21 10:18:31 +00:00
.forgejo/workflows Update actions/cache action to v6 2026-10-21 10:18:31 +00:00
src Add support for custom dns 2026-10-20 21:52:24 -04:00
.dockerignore Initial commit 2026-10-20 20:03:50 -04:00
.env.example Initial commit 2026-10-20 20:03:50 -04:00
.gitignore Initial commit 2026-10-20 20:03:50 -04:00
docker-compose.yml Add support for custom dns 2026-10-20 21:52:24 -04:00
Dockerfile Initial commit 2026-10-20 20:03:50 -04:00
Dockerfile.re Initial commit 2026-10-20 20:03:50 -04:00
pyproject.toml fixes 2026-10-20 20:14:18 -04:00
README.md Initial commit 2026-10-20 20:03:50 -04:00
renovate.json Add renovate.json 2026-10-21 02:15:39 +00:00

computer-mcp

Shell-box MCP for context_agent: create a Docker session and run commands in it.

Tools

Tool Args Behavior
computer_create image (optional) Start a long-running container; return session_id
computer_exec session_id, command, optional workdir docker exec in that container

Call computer_create once per chat (or again if computer_exec reports the session is dead). Pass the returned session_id to every computer_exec. Idle sessions are removed after 24 hours.

Setup with Nextcloud

Requires the external Docker network nextcloud_docker (nextcloud-docker-dev).

cp .env.example .env
# set COMPUTER_MCP_TOKEN to a long random secret

docker compose up -d --build

In Context Agent admin settings, enable the MCP Server tool category and set MCP Config to the same secret:

{
  "computer": {
    "url": "http://computer-mcp-dind:8765/mcp",
    "transport": "streamable_http",
    "headers": {
      "Authorization": "Bearer YOUR_LONG_RANDOM_SECRET"
    }
  }
}