Tailscale
MCP server by tailscale-mcp Community
Drives a Tailscale node through the tailscale CLI and a tailnet through the control-plane API. It offers 186 tools and is read-only by default, for people who administer Tailscale networks.
Install Tailscale
Built from the published package, never by AI.
claude mcp add tailscale -- npx -y @tailscale-mcp/tailscale-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"tailscale": {
"args": [
"-y",
"@tailscale-mcp/tailscale-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"tailscale": {
"args": [
"-y",
"@tailscale-mcp/tailscale-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tailscale": {
"args": [
"-y",
"@tailscale-mcp/tailscale-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tailscale -- npx -y @tailscale-mcp/tailscale-mcp{
"mcpServers": {
"tailscale": {
"args": [
"-y",
"@tailscale-mcp/tailscale-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add tailscale npx -y @tailscale-mcp/tailscale-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the tailscale block.
About
tailscale-mcp is an MCP server for Tailscale. It drives the local node through the tailscale command-line interface and the tailnet through the control-plane REST API. Tailscale's own JSON is returned unmodified, and failures come back as a fixed error code with a hint.
Both surfaces are optional. Without a tailscale binary, the node tools are not offered. Without a control-plane credential, the tailnet tools are not offered. Tools are grouped into read, write and destructive tiers, and a tool above the permitted tier is not listed. The source describes the server as aimed at people who manage Tailscale networks and want an assistant to help with them.
Written from the project's README and checked against it.
Tools it gives your assistant
tailscale_runRuns an arbitrary tailscale subcommand. It is in no preset and must be requested by name.tailscale_configure_kubeconfigWrites a kubeconfig file for the client, as the user running the server.diagnose_connectivityPrompt that steers a sequence of tool calls to diagnose connectivity between devices.review_policy_changePrompt that steers a sequence of tool calls to review a policy change.audit_tailnet_accessPrompt that steers a sequence of tool calls to audit access across the tailnet.
What you need
- Tailscale CLI installed on the node, for the local tools
- Tailscale API access token or OAuth client, for the tailnet tools
- Node.js for the npm install, or Docker for the container
- Rust and cargo if installing from source
| Setting | Needed | What it is |
|---|---|---|
TAILSCALE_Environment variable, secret | Optional | A control-plane API access token. One of this, the OAuth client pair, or the OAuth JWT file is needed for the tailnet tools; without any of them only the local tools are offered. |
TAILSCALE_Environment variable | Optional | An OAuth client id, used with TAILSCALE_OAUTH_CLIENT_SECRET when there is no API access token. |
TAILSCALE_Environment variable, secret | Optional | The OAuth client secret that goes with TAILSCALE_OAUTH_CLIENT_ID. |
TAILSCALE_Environment variable | Optional | The tailnet the control-plane tools act on. Without it they act on the one the credential belongs to. |
TAILSCALE_Environment variable | Optional | Which tools are offered: minimal, core or full. Default: core |
TAILSCALE_Environment variable | Optional | Offer the tools that change something. Read-only without it. Default: false |
TAILSCALE_Environment variable | Optional | Offer the tools that remove or sever something. Implies the write tier. Default: false |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Diagnose why this node cannot reach a specific peer
- Review a policy change before I apply it to my tailnet
- Audit which users and devices can access which resources
Good to know
- Read-only by default. Write and destructive tools need --allow-write or --allow-destructive.
- Tool arguments cannot be completed. Only prompt arguments and resource template variables are.
- Tiers are a property of the server, not the caller. The credential is the real access boundary.
- Local tools run as the user who starts the server and do not escalate privileges.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Tailscale
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Tailscale: common questions
Should I use an API access token or an OAuth client?
The source recommends an OAuth client for anything kept long term. It belongs to the tailnet, can be scoped, and mints a token that lasts an hour, while an API access token belongs to a person and carries all their access.
Does it work without the Tailscale CLI?
Yes. Without a tailscale binary the tools that drive the node are not offered, but the tailnet tools still work with a control-plane credential.
Can the assistant change my tailnet by default?
No. The default tier is read-only. Write tools are enabled with --allow-write and destructive tools with --allow-destructive.
How do I install Tailscale?
In Claude Code run claude mcp add tailscale -- npx -y @tailscale-mcp/tailscale-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Tailscale the official server?
Tailscale is a community project by tailscale-mcp, not verified by a company domain.
Is Tailscale free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Tailscale safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Tailscale?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Tailscale work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
