MCP Tunnel

MCP Tunnel

mcp-tunnel•byleomercier

An MCP server for executing shell commands on a VM and creating a web tunnel to access a browser-based terminal interface.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides an execute_command tool that runs a shell command on the VM, taking the command as a parameter.
  • •Provides a start_tunnel tool that creates a web tunnel to the VM interface, accepting a port and optional subdomain.
  • •Offers a web-based terminal where users can run commands in the VM and see outputs in real time.
  • •Automatically creates a tunnel when started, unless the --no-tunnel option is used.

BEST FOR

  • •Running shell commands on a remote VM through an MCP-capable client.
  • •Accessing a VM's command line from any device through a browser-based terminal.

ABOUT MCP-TUNNEL

MCP Tunnel is cataloged as an MCP server attributed to leomercier. An MCP server for executing shell commands on a VM and creating a web tunnel to access a browser-based terminal interface. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Tunnel are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the automatic tunnel be disabled?

Yes, starting the server with the --no-tunnel flag disables automatic tunneling.

How can I configure the tunnel subdomain?

A preferred subdomain can be set via the LOCALTUNNEL_SUBDOMAIN environment variable in the .env file.

Upstream README

View this exact version on GitHub

README.md · 131fac0b22d1 · Fetched 2026-11-13 11:55:27 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Tunnel

A simple MCP (Model Context Protocol) server that allows accessing the command line of a VM machine. When started, it also tunnels the host to the web so it can be accessed via MCP.

Features

  • Execute shell commands on a VM through MCP
  • Web-based terminal interface for VM interaction
  • Automatic tunneling to make the VM accessible from anywhere
  • WebSocket-based real-time communication

Prerequisites

  • Node.js (v18 or newer)

Installation and Usage

Running with npx (no installation)

npx mcp-cli

Global Installation

npm install -g mcp-cli
mcp-cli

Local Development

# Clone repository
git clone [repository-url]
cd mcp-cli

# Install dependencies
npm install

Development

Run the development server with hot-reloading for both backend and frontend:

npm run dev

Building

Build both the frontend and backend for production:

npm run build-all

Usage

  1. Start the MCP server:
# Start with automatic tunneling
npm start

# Start without automatic tunneling
npm start -- --no-tunnel

This will build the project and start the server. By default, a tunnel will be created automatically. Use the --no-tunnel flag to disable automatic tunneling.

  1. The server will start and provide output on stderr (to avoid interfering with MCP communication on stdout)

  2. Use MCP to interact with the server using the following tools:

Available MCP Tools

  • execute_command: Run a shell command on the VM
    • Parameters: { "command": "your shell command" }
  • start_tunnel: Create a web tunnel to access the VM interface
    • Parameters: { "port": 8080, "subdomain": "optional-subdomain" }

Web Interface

After starting the tunnel, you can access the web-based terminal interface at the URL provided by the tunnel. This interface allows you to:

  • Execute commands directly in the VM
  • See command outputs in real-time
  • Interact with the VM from any device with web access

Environment Variables

Create a .env file to configure the server:

# Server configuration
PORT=8080

# Localtunnel configuration
LOCALTUNNEL_SUBDOMAIN=your-preferred-subdomain

Security Considerations

This tool provides direct access to your VM's command line. Consider these security practices:

  • Use strong authentication mechanisms before exposing the tunnel
  • Limit the commands that can be executed through proper validation
  • Consider running in a restricted environment
  • Do not expose sensitive information through the tunnel

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Tunnel from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-tunnel)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools