BeClaude

mcp-tunnels

New
30.2kOfficial PluginDevelopmentby Anthropic

Connect Claude to a private MCP server through an Anthropic MCP tunnel. The /create-docker-mcp-tunnel command drives the Docker Compose quickstart end to end: certificates, proxy config, cloudflared, and a verifiable sample server.

Python3272 forks747 issuesUpdated 6/16/2026First seen 5/22/2026

Summary

This skill enables Claude to connect to a private MCP server through an Anthropic MCP tunnel, simplifying secure remote access.

  • It automates the Docker Compose quickstart for setting up certificates, proxy configuration, cloudflared tunneling, and a verifiable sample server, making it easy for developers to expose local MCP servers to Claude.

Install & Usage

1
Open your MCP config
~/.claude.json
2
Add the server config

Add the configuration to "mcpServers": { "mcp-tunnels": { "command": "...", "args": [] } }

3
Restart Claude Code
/mcp

Use Cases

Set up a secure tunnel from a local MCP server to Claude using Docker Compose and cloudflared.
Automate certificate generation and proxy configuration for an MCP tunnel.
Verify that a private MCP server is accessible through an Anthropic MCP tunnel.
Quickly deploy a sample MCP server behind a tunnel for testing and development.
Integrate a private MCP server with Claude without exposing it to the public internet.
Troubleshoot tunnel connectivity issues by running the full Docker Compose quickstart end to end.

Usage Examples

1

/create-docker-mcp-tunnel

2

Set up an MCP tunnel for my local server using the Docker Compose quickstart.

3

Verify that my MCP server is reachable through the tunnel.

View source on GitHub
mcpclaude-codeskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is mcp-tunnels?

This skill enables Claude to connect to a private MCP server through an Anthropic MCP tunnel, simplifying secure remote access. It automates the Docker Compose quickstart for setting up certificates, proxy configuration, cloudflared tunneling, and a verifiable sample server, making it easy for developers to expose local MCP servers to Claude.

How to install mcp-tunnels?

To install mcp-tunnels: open your mcp config (~/.claude.json), then add the config to "mcpServers": { "mcp-tunnels": { "command": "...", "args": [] } }. Finally, /mcp in Claude Code.

What is mcp-tunnels best for?

mcp-tunnels is a mcp categorized under Development. It is designed for: mcp. Created by Anthropic.

What can I use mcp-tunnels for?

mcp-tunnels is useful for: Set up a secure tunnel from a local MCP server to Claude using Docker Compose and cloudflared.; Automate certificate generation and proxy configuration for an MCP tunnel.; Verify that a private MCP server is accessible through an Anthropic MCP tunnel.; Quickly deploy a sample MCP server behind a tunnel for testing and development.; Integrate a private MCP server with Claude without exposing it to the public internet.; Troubleshoot tunnel connectivity issues by running the full Docker Compose quickstart end to end..