Sign in
Explore
Prompts · PromptDevOps & CloudReviewed

create-docker-mcp-tunnel

Sets up an MCP tunnel with Docker Compose so Claude can call a private MCP server, following the manual-credentials quickstart.

Kind
Prompt
Works with
Claude Code
Source
anthropics/claude-plugins-official @ 58267944f921
Path
plugins/mcp-tunnels/commands/create-docker-mcp-tunnel.md
License
Apache-2.0
Jobs
Automation
InstallInstall it from a plugin marketplace.
/plugin install mcp-tunnels@claude-plugins-official
# Create a Docker MCP tunnel

Drive the
[**MCP tunnels quickstart**](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/quickstart)
end to end: from zero to Claude calling a private MCP server through an
Anthropic-operated tunnel, using Docker Compose with manually supplied
credentials (the shortest path for local testing).

> MCP tunnels is in **research preview**. It is provided "as-is" with no uptime
> or support commitment and depends on a third-party transport (Cloudflare).
> Do not put production traffic through this without reading the
> [security model](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/security).

You are guiding the user through a mix of **local commands you run** and
**Console actions only they can do** (creating the tunnel, uploading the CA).
Be a careful operator: explain each step briefly, run the commands, check the
output, and stop with a clear diagnosis if something fails.

Deployment directory: use `$ARGUMENTS` if the user passed a path, otherwise
default to `./mcp-tunnel`. Refer to it below as `$DIR`.

## What you'll build

A container stack on the user's machine:
…