
mcp-untun
mcp-untun
README
Untun MCP - Secure Tunnels for Local Servers

❌ Without Untun MCP
Local development can be frustrating when you need to expose your server to the internet:
- ❌ Complex tunnel setup and command-line arguments
- ❌ Hard to track which tunnels are running across different terminal sessions
- ❌ No easy way to manage multiple tunnels from a single interface
✅ With Untun MCP
Untun MCP creates and manages secure tunnels directly from your AI assistant:
- 1️⃣ Simply tell your AI assistant to create a tunnel
- 2️⃣ Get a public URL within seconds
- 3️⃣ Manage all your tunnels with simple natural language commands
No complex CLI commands to remember. No more lost tunnels. Easy management of multiple tunnels.
⚠️ Disclaimer
This project uses the untun package from npm but is not officially affiliated with, endorsed by, or connected to Cloudflare or UnJS. This is an independent, community-developed MCP wrapper around the untun CLI tool.
🛠️ Getting Started
Requirements
- Node.js >= v18.0.0
- MCP-compatible client (Cursor, Claude Desktop, VS Code, etc.)
untun
CLI tool (installed automatically as needed)
Install in Cursor
Go to: Settings
-> Cursor Settings
-> MCP
-> Add new global MCP server
Paste the following configuration into your Cursor ~/.cursor/mcp.json
file:
{
"mcpServers": {
"untun": {
"command": "npx",
"args": ["-y", "@minte-app/untun-mcp@latest"]
}
}
}
Install in VS Code
Add this to your VS Code MCP config file:
{
"servers": {
"Untun": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@minte-app/untun-mcp@latest"]
}
}
}
Install in Claude Desktop
Add this to your Claude Desktop claude_desktop_config.json
file:
{
"mcpServers": {
"Untun": {
"command": "npx",
"args": ["-y", "@minte-app/untun-mcp@latest"]
}
}
}
🔨 How to Use
Ask your AI assistant to create a tunnel with natural language:
Create a tunnel to my localhost:3000 server
Check your running tunnels:
Show me all my active tunnels
Stop a specific tunnel:
Stop the tunnel to localhost:3000
Available Tools
-
start_tunnel
: Creates a secure tunnel from a public internet address to your local serverurl
(required): The local URL to expose (e.g., http://localhost:3000)name
(optional): Custom name for the tunnel
-
stop_tunnel
: Stops a running tunnel or all local tunnelsname
(optional): Name of a specific tunnel to stop
-
list_tunnels
: Lists all active tunnels including their status and details
Troubleshooting
Tunnel Not Starting
If your tunnel doesn't start, try these steps:
- Make sure your local server is running
- Check if there's already a tunnel running for that port
- Use
list_tunnels
to check the status of all tunnels
Remote Tunnels
Tunnels are tracked by hostname. If you see "remote" tunnels that can't be stopped, they are likely running on another machine. You'll need to stop them from the original machine.
Development
Clone the project and install dependencies:
npm install
Build:
npm run build
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.