claudex
by Mng-dev-ai
Overview
Self-hosted full-stack AI chat interface with sandboxed code execution for AI agents, featuring multiple AI providers and development tools.
Installation
docker compose up -dEnvironment Variables
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- REDIS_URL
- SECRET_KEY
- DATABASE_URL
- ANTHROPIC_API_KEY
- Z_AI_API_KEY
- OPENROUTER_API_KEY
- ENVIRONMENT
- DOCKER_IMAGE
- DOCKER_NETWORK
- DOCKER_HOST
- DOCKER_SANDBOX_DOMAIN
- DOCKER_TRAEFIK_NETWORK
- E2B_API_KEY
- MODAL_API_KEY
- FRONTEND_URL
- MAIL_SERVER
- MAIL_PASSWORD
Security Notes
The `api` and `celery-worker` services in `docker-compose.yml` are configured with `privileged: true` and mount `/var/run/docker.sock`. This grants these containers full root access and control over the host's Docker daemon. If these containers are compromised, an attacker could gain root access to the host machine. This is a critical security vulnerability for production or untrusted environments. The default `SECRET_KEY` is explicitly for development only and must be changed. Sensitive user API keys (e.g., E2B, Modal, Anthropic) are stored encrypted in the database, which is good practice.
Similar Servers
DesktopCommanderMCP
An AI development tool that allows searching, updating, managing files, and running terminal commands with AI assistance on the local machine.
cldcde
A persistent context manager that scrapes, stores, searches, and analyzes AI conversations from various platforms (ChatGPT, Grok, Gemini, Claude) to support project development and insights.
crawl4ai-mcp-server
Provides a self-hosted server for web scraping and crawling tools, designed for easy integration with AI frameworks and agents.
claude-computer
An autonomous AI platform enabling Claude to interact with a virtual desktop environment in real-time, simulating a 'Gen Z crypto enthusiast' persona, complete with a tokenized contribution system and PR automation capabilities.