MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

C
Containerized MCP Yolo Setup

MCP server by louiemontes

Created 2/12/2026
Updated about 9 hours ago
Repository documentation and setup instructions

Containerized Claude Code with MCP

Sandboxed Claude Code environment with MCP server support.

Prerequisites

Docker & Docker Compose

You need Docker installed and running on your machine:

Verify installation:

docker --version
docker-compose --version

Anthropic API Key

You need an API key from Anthropic Console (not a Claude subscription):

  1. Go to Anthropic Console
  2. Sign up or log in
  3. Navigate to API Keys
  4. Click "Create Key"
  5. Copy your key (starts with sk-ant-...)

Note: This uses pay-as-you-go API billing, not your Claude.ai subscription. Make sure to monitor usage in the console to avoid unexpected charges.

WARNING: Never share or check in your API key. Treat it like a password.

BIGGER WARNING: This setup bypasses all permissions for Claude inside the container. Do not run this on a production machine or with sensitive data. Use at your own risk.

EVEN BIGGER WARNING: Set a limit on your API key in the Anthropic Console to prevent runaway costs. For example, set a daily limit of $5 or 1000 tokens.

Setup

  1. Set your Anthropic API key in .zshrc (or .bashrc):
export ANTHROPIC_API_KEY=sk-ant-...
  1. Reload your shell:
source ~/.zshrc
  1. Add alias to .zshrc:
alias cdev='docker-compose down && docker-compose build && docker-compose up -d && docker-compose exec claude-code bash'
  1. Clone this repo and run:
cdev
  1. Inside container:
c  # Starts Claude Code
  1. Say "Yes" to API key prompt (one time per rebuild)

Features

  • ✅ Isolated sandbox (only accesses ./workspace directory)
  • ✅ MCP server example (echo tool)
  • ✅ Permissions bypassed via --dangerously-skip-permissions
  • ✅ Non-root user for security
  • ✅ One-command rebuild and exec

Testing MCP

Inside Claude Code:

/mcp                           # View MCP servers
Use the echo tool to say hi!   # Test the echo tool

Adding More MCP Servers

Edit the mcpServers section in Dockerfile's .claude.json creation.

Quick Setup
Installation guide for this server

Install Package (if required)

npx @modelcontextprotocol/server-containerized-mcp-yolo-setup

Cursor configuration (mcp.json)

{ "mcpServers": { "louiemontes-containerized-mcp-yolo-setup": { "command": "npx", "args": [ "louiemontes-containerized-mcp-yolo-setup" ] } } }