services: mcp-bash: build: context: ./server dockerfile: Dockerfile container_name: mcp-bash restart: unless-stopped ports: - "8000:8000" volumes: # shared workspace: host files are visible inside the PTY sessions - ./workspace:/workspace environment: - PYTHONUNBUFFERED=1 # tty: true keeps stdin open for ptyprocess inside the container tty: true