MCP.so
登录

MCP Tunnel

@leomercier

基本信息

分类

其他

传输方式

stdio

作者

leomercier

关于 MCP Tunnel

MCP server for accessing VM command line with web tunneling

MCP Tunnel 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-tunnel": {
      "command": "npx",
      "args": [
        "mcp-cli"
      ]
    }
  }
}

MCP Tunnel 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Tunnel?

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

How to use MCP Tunnel?

Install globally with npm install -g mcp-cli and run mcp-cli, or run directly with npx mcp-cli. After starting, use the MCP tools execute_command and start_tunnel to send commands and create web tunnels. Optionally pass --no-tunnel to disable automatic tunneling.

Key features of MCP Tunnel

  • Execute shell commands on a VM through MCP
  • Web-based terminal interface for VM interaction
  • Automatic tunneling for remote accessibility
  • WebSocket-based real‑time communication

Use cases of MCP Tunnel

  • Remotely run shell commands on a virtual machine
  • Access a VM’s command line from any device with a web browser
  • Develop and test scripts via a web terminal interface
  • Expose a local VM temporarily over the internet

常见问题

1

What are the prerequisites for MCP Tunnel?

Node.js version 18 or newer is required.

2

How can I start MCP Tunnel without automatic tunneling?

Add the `--no-tunnel` flag when starting, e.g., `mcp-cli --no-tunnel` or `npm start -- --no-tunnel`.

3

What MCP tools are available?

Two tools: `execute_command` (runs a shell command) and `start_tunnel` (creates a web tunnel with optional port and subdomain parameters).

4

How do I access the web interface?

After starting the tunnel, visit the URL provided by the tunnel service; the interface allows executing commands and seeing output in real time.

5

Is authentication or transport security mentioned?

The README does not specify authentication or transport security; it advises using strong auth mechanisms and limiting commands before exposing the tunnel.

评论

其他 分类下的更多 MCP 服务器