tunnels.io

io.github.tunnels-io由 GitHub 帳號 tunnels-io 發布v0.0.2更新於 Oct 24, 2026

Read a tunnels.io account and put local ports online. Lists only the tools the token was granted.

概覽

AI 產生的概覽

讀取 tunnels.io 帳戶資訊(通道、用量、權杖、帳單、網域等),並可啟動或停止本機連接埠通道。

可以做什麼
  • 列出通道,並檢視其用量與指標
  • 讀取帳戶資訊、API 權杖、發票、已註冊網域、通知與雲端應用
  • 為本機連接埠啟動 HTTP(公開網址以 HTTPS 提供)或 TCP 通道
  • 停止執行中的通道
  • 只列出權杖權限允許的工具,因此不同權杖看到的工具集不同
適用情境
適合讓助理查看 tunnels.io 帳戶狀態、用量或帳單資料,或把本機開發連接埠暫時公開到網際網路並在用完後關閉,而不必離開對話。
執行需求
以本機程序執行(二進位檔、Go 安裝,或供 Claude Desktop 等用戶端使用的 MCP 套件)。需要開頭為 tnl_ 的 tunnels.io 權杖,放在 TUNNELS_TOKEN 中,並在帳戶權杖頁面依需求勾選權限。start_tunnel 與 stop_tunnel 需要 PATH 上有 tunnels CLI(或以 TUNNELS_CLI 指定)。可選 TUNNELS_API 與 TUNNELS_INSPECT。需能連線 tunnels.io。
安裝前請注意
權杖是可存取帳戶的憑證,應依需求最小化權限;舊的全權限權杖無法存取帳單、網域與雲端應用。start_tunnel 與 stop_tunnel 會呼叫 tunnels CLI 改變實際狀態,並可能把本機連接埠暴露到網際網路。伺服器只連線 tunnels.io,錯誤回應內容會先去除敏感資訊。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 tunnels.io,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

tunnels-mcp

MCP server for tunnels.io.

It runs locally, holds one CLI token, and gives an assistant read access to the account. It can also open a tunnel.

Install

Download a binary for your platform from the releases page, or build it:

go install github.com/tunnels-io/tunnels-mcp/cmd/[email protected]

Clients that take MCP bundles, such as Claude Desktop, can install tunnels-mcp-<version>.mcpb from the same page. It asks for the token.

The server is listed in the MCP Registry as io.github.tunnels-io/tunnels-mcp.

Token

Create one at tunnels.io/account/tokens. Tick the permissions you want.

Skipping a permission is not a broken tool. The server reads the token's permissions at startup and lists only the tools that work.

An older all-access token (*) works for everything except billing, domains and cloud apps. Those three services refuse *, so the server does not list their tools for such a token. Make a token on the page above to reach them.

TUNNELS_TOKEN     required, starts tnl_TUNNELS_API       default https://tunnels.ioTUNNELS_CLI       default "tunnels" on PATHTUNNELS_INSPECT   unset. The CLI inspector is off; set an address to enable it.

A config file works too, at ~/.config/tunnels/mcp.json:

json
{ "token": "tnl_..." }

The environment wins.

Client setup

json
{  "mcpServers": {    "tunnels": {      "command": "tunnels-mcp",      "env": { "TUNNELS_TOKEN": "tnl_..." }    }  }}

Tools

ToolPermission
list_tunnelstunnels:read
get_usageusage:read
get_metricsusage:read
get_accountaccount:read
list_tokenstokens:read
list_invoicesbilling:read
list_domainsregistrar:read
list_notificationsnotifications:read
list_cloud_appscloud:read
start_tunnelnone
stop_tunnelnone

Reads only, apart from the last two. Those shell out to the tunnels CLI, which must be on PATH. No tool changes a plan, buys a domain or deploys anything.

start_tunnel takes http (the default, served as HTTPS on the public URL) or tcp.

Token handling

The token goes to tunnels.io in a Bearer header, and to the CLI through the environment. Never a command line. Never a log. Never a tool result.

Error bodies are redacted before they are shown.

The server contacts tunnels.io and nothing else.

Build

make checkmake build

No dependencies.

Release

Push a tag such as v0.0.2. The release workflow builds six binaries and the MCPB bundle, creates the GitHub release, and publishes server.json to the MCP Registry. To build the same files locally, on macOS:

make release V=0.0.2

Licence

MIT. See LICENSE.

來源:README.md,提交 901a1be

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.0.2最新Sep 22, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分