A Model Context Protocol (MCP) server that provides seamless integration with Tailscale's CLI commands and REST API, enabling automated network
If you already use Tailscale MCP, the tailscale mcp mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol (MCP) server that provides seamless integration with Tailscale's CLI commands and REST API, enabling automated network management and monitoring through a standardized interface.
A Model Context Protocol (MCP) server for operating Tailscale from any MCP client. Supports local stdio for desktop clients and an authenticated HTTP transport for private tailnet deployments. Defaults to read-only access, localhost binding, and short-lived OAuth credentials where available.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Cursor — The Cursor tool exposed by this serverDevices — The Devices tool exposed by this serverNetwork — The Network tool exposed by this serverAdministration — The Administration tool exposed by this serverPrompts — The Prompts tool exposed by this serverConfiguration is passed through the environment: TAILSCALE_OAUTH_CLIENT_ID, TAILSCALE_OAUTH_CLIENT_SECRET, TAILSCALE_TAILNET, TAILSCALE_API_KEY, TAILSCALE_ALLOWED_TOOL_RISK, MCP_TRANSPORT, MCP_HTTP_BEARER_TOKEN, CLIENT_ID. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
One of: - Node.js 20+ — run via npx or install globally (no extra runtime needed). - Bun 1.3+ — used for development; also works as a production runtime. - Docker — use the pre-built image (no local runtime required). Plus one auth method: - OAuth client credentials: TAILSCALE_OAUTH_CLIENT_ID + TAILSCALE_OAUTH_CLIENT_SECRET (preferred). - Legacy API key: TAILSCALE_API_KEY. The
Installation goes through your MCP client rather than a global install: point it at @hexsleeves/tailscale-mcp-server on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Tailscale MCP's toolset — Cursor, Devices, Network and 2 more — is a fair guide to whether it matches your workflow. It is maintained by HexSleeves; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Cursor | The Cursor tool exposed by this server. |
| Devices | The Devices tool exposed by this server. |
| Network | The Network tool exposed by this server. |
| Administration | The Administration tool exposed by this server. |
| Prompts | The Prompts tool exposed by this server. |
{
"mcpServers": {
"tailscale": {
"command": "npx",
"args": ["-y", "@hexsleeves/tailscale-mcp-server"],
"env": {
"TAILSCALE_OAUTH_CLIENT_ID": "your-client-id",
"TAILSCALE_OAUTH_CLIENT_SECRET": "your-client-secret",
"TAILSCALE_TAILNET": "-"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
One of: - Node.js 20+ — run via npx or install globally (no extra runtime needed). - Bun 1.3+ — used for development; also works as a production runtime. - Docker — use the pre-built image (no local runtime required). Plus one auth method: - OAuth client credentials: TAILSCALE_OAUTH_CLIENT_ID + TAILSCALE_OAUTH_CLIENT_SECRET (preferred). - Legacy API key: TAILSCALE_API_KEY. The
| Variable | Description | Required |
|---|---|---|
| TAILSCALE_OAUTH_CLIENT_ID | Configuration value read at startup. | Optional |
| TAILSCALE_OAUTH_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| TAILSCALE_TAILNET | Configuration value read at startup. | Optional |
| TAILSCALE_API_KEY | Credential the server authenticates with. | Yes |
| TAILSCALE_ALLOWED_TOOL_RISK | Configuration value read at startup. | Optional |
| MCP_TRANSPORT | Configuration value read at startup. | Optional |
| MCP_HTTP_BEARER_TOKEN | Credential the server authenticates with. | Yes |
| CLIENT_ID | Configuration value read at startup. | Optional |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.
Errors with full context — stack traces, issue triage and AI-powered root-cause analysis from Sentry's server.
Enables enhanced web research capabilities for large language models through intelligent search queuing and advanced content extraction.
Automates browser interactions and enables Large Language Models (LLMs) to interact with web pages through Playwright and Chrome DevTools Protocol
Guides tool usage by providing recommendations for MCP tools at each problem-solving stage.