ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Tailnet MCP bridge

โดย zedong-pengรุ่น 0.3.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.zedong-peng/tailnet-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Reach an MCP server inside your Tailscale tailnet from an agent's sandbox, over stdio.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: TS_AUTHKEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • Dockerติดตั้ง Docker ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "tailnet": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TS_AUTHKEY",
        "ghcr.io/zedong-peng/tailnet-mcp:v0.3.0",
        "-url",
        "ใส่ค่าของคุณ",
        "-hostname",
        "tailnet-mcp"
      ],
      "env": {
        "TS_AUTHKEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add tailnet --env TS_AUTHKEY='ใส่ค่าของคุณ' -- docker run -i --rm -e TS_AUTHKEY ghcr.io/zedong-peng/tailnet-mcp:v0.3.0 -url 'ใส่ค่าของคุณ' -hostname tailnet-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "tailnet": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TS_AUTHKEY",
        "ghcr.io/zedong-peng/tailnet-mcp:v0.3.0",
        "-url",
        "ใส่ค่าของคุณ",
        "-hostname",
        "tailnet-mcp"
      ],
      "env": {
        "TS_AUTHKEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "tailnet": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TS_AUTHKEY",
        "ghcr.io/zedong-peng/tailnet-mcp:v0.3.0",
        "-url",
        "ใส่ค่าของคุณ",
        "-hostname",
        "tailnet-mcp"
      ],
      "env": {
        "TS_AUTHKEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • TS_AUTHKEY ความลับ env
    Tagged, pre-authorized auth key; only needed the first time

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub zedong-peng ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32715 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 90% ของอีก 32715 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32715 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Tailnet MCP bridge ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: TS_AUTHKEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, First Sale Scout

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

First Sale Scout

โดย firstsale.pro

Playbooks and a 14-day checklist for founders winning their first paying customers.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

tailnet-mcp

A stdio MCP server that forwards everything to a Streamable HTTP MCP server inside your tailnet.

Hosted agents (Grok, cloud coding agents, sandboxed assistants) usually take MCP servers two ways. By URL: the vendor's servers connect, so your server has to be on the public internet. By command: the agent starts a process on its own computer, but that computer is not in your tailnet and you can't run tailscaled there (no root, no TUN). tailnet-mcp is the command: it embeds a Tailscale node (tsnet), joins your tailnet as a tagged device and bridges stdio to the server. Your server stays behind tailscale serve, never on the internet.

agent ──stdio──▶ tailnet-mcp (tag:agent) ══tailnet══▶ tailscale serve ──▶ MCP server on 127.0.0.1

Install

Download a static binary for linux or darwin, amd64 or arm64, from Releases and check it against SHA256SUMS. Or build it yourself:

CGO_ENABLED=0 go install github.com/zedong-peng/tailnet-mcp@latest

Or run the image ghcr.io/zedong-peng/tailnet-mcp with a volume on /home/nonroot/.local/state/tailnet-mcp. It is also listed in the MCP Registry as io.github.zedong-peng/tailnet-mcp.

Use

  1. Publish the server to the tailnet only, on a path nobody can guess:
   tailscale serve --bg --https=8443 --set-path=/$(openssl rand -hex 16) http://127.0.0.1:8080/mcp
  1. Mint a one-time, pre-authorized auth key with a tag for the agent (admin console, or the API), and log in once from the agent's computer:
   TS_AUTHKEY=tskey-auth-... tailnet-mcp -hostname my-agent -url https://server.tailnet.ts.net:8443/<path> -check

-check connects, prints the server's tools on stderr and exits. The node key is kept in -state (default ~/.local/state/tailnet-mcp/ ); keep it on persistent storage. Tagged nodes don't expire, so the key is not needed again.

  1. Register the same command, without the key, as the agent's MCP server:
   tailnet-mcp -hostname my-agent -url https://server.tailnet.ts.net:8443/<path>

Each process is its own tailnet node. For a second server, run a second process with a different -hostname.

Lock it down

The agent reads untrusted input (web pages, mail), so assume it can be talked into anything its tools allow. Three layers, none of which rely on the agent behaving:

  • Network. Give the tag one grant to the ports it needs and nothing else:
  "grants": [

{"src": ["tag:my-agent"], "dst": ["server"], "ip": ["tcp:8443"]}, ], "tests": [ {"src": "tag:my-agent", "accept": ["server:8443"], "deny": ["server:22", "server:443"]}, ],

Grants that allow everything ("src": ["autogroup:member"], "dst": ["*"]) don't cover tagged devices, so that one grant is all the tag gets.

  • Path. tailscale serve --set-path answers only on the secret path; any other path on the port is a 404. Other devices in the tailnet can't use the server by guessing the port.
  • Server. Enforce permissions where the data lives, not in the agent: a mail server that can only save drafts, a password vault account that is a view-only member of one shared collection. examples/private-tools sets up both.

Behaviour

  • Before the first request it pings the server's node until it answers. Right after a restart the server may still hold a stale path to the node, and the first dial would time out.
  • Only requests that never reached the server are retried, so a tool call is never sent twice.
  • When the server restarts and forgets the session (404, or a 400 about the session), the bridge replays initialize and resends the request. The client doesn't notice.
  • A failed request comes back as a JSON-RPC error with the reason, so the client never waits for an answer that won't come.
  • On EOF it ends the session with DELETE. Logs go to stderr; stdout carries only MCP frames. -v adds tsnet's own logs.

Not supported: the optional GET stream that lets a server send messages outside a response. Servers answer each request in its own response, as almost all tool servers do.

Compared with

  • `mcp-remote` and other stdio-to-HTTP bridges need a network path to the server. In an agent's sandbox that means a public URL.
  • `tailscale up` in the sandbox needs root and a TUN device. If someone logs in as a user instead of with a tagged key, the sandbox gets that user's access to the whole tailnet.
  • [Tailscale Aperture](https://tailscale.com/docs/aperture/mcp-server) is a gateway on the server side: it aggregates HTTP MCP servers and grants tools per user. It doesn't get a sandboxed agent into the tailnet, so the two fit together.

Build and test

go test -race ./...

CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" .

Tagging v* publishes the four binaries, the image and the registry entry.

ถาม PopNx