Tailnet MCP bridge for VS Code
io.github.zedong-peng/tailnet-mcp
Reach an MCP server inside your Tailscale tailnet from an agent's sandbox, over stdio.
client:VS Code
transport:stdio
runtime:oci
Install Tailnet MCP bridge in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ts-authkey",
"description": "TS_AUTHKEY",
"password": true
}
],
"servers": {
"tailnet-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/zedong-peng/tailnet-mcp:v0.3.0"
],
"env": {
"TS_AUTHKEY": "${input:ts-authkey}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs