Tailscale MCP Server
MCP server by HexSleeves Verified · npm:@hexsleeves
Tailscale MCP Server lets MCP clients manage a Tailscale tailnet through its CLI and REST API. It covers devices, network status, ACLs, DNS and webhooks. It suits people who want to operate Tailscale from an AI assistant, with read-only access by default.
Install Tailscale MCP Server
Built from the published package, never by AI.
claude mcp add tailscale-mcp-server -- npx -y @hexsleeves/tailscale-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@hexsleeves/tailscale-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Tailscale MCP Server in Claude Desktop
{
"mcpServers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@hexsleeves/tailscale-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@hexsleeves/tailscale-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tailscale-mcp-server -- npx -y @hexsleeves/tailscale-mcp-server{
"mcpServers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@hexsleeves/tailscale-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Tailscale MCP Server in Antigravity CLI
gemini mcp add tailscale-mcp-server npx -y @hexsleeves/tailscale-mcp-serverGemini 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-mcp-server block.
About
Tailscale MCP Server is a Model Context Protocol server for operating Tailscale from any MCP client. It provides tools for device management, network operations, administration, and ACL and policy settings. It also offers read-only resources for the tailnet summary, device list, device detail and current ACL, plus prompts for connectivity diagnosis and ACL change review.
The server runs over local stdio for desktop clients, or over an authenticated HTTP transport for private tailnet deployments. Tools are grouped into read, write and admin risk levels, and the default is read-only. It authenticates with OAuth client credentials or a legacy API key, and it can run through npx, Bun or Docker. It suits people who want to manage a Tailscale network from an AI assistant.
Written from the project's README and checked against it.
Tools it gives your assistant
list_devicesLists all devices in the configured tailnet.device_actionAuthorizes or expires a device key, and deauthorizes or deletes a device at admin level.manage_routesEnables or disables advertised routes for a device.get_network_statusGets current Tailscale network status through the local CLI.connect_networkConnects this host to Tailscale with optional CLI flags. Requires admin risk level.ping_peerPings a Tailscale peer through the local CLI.manage_aclReads, validates or updates the tailnet ACL policy.manage_dnsReads or updates Tailscale DNS settings.manage_keysLists auth keys, and creates or deletes them at admin level.manage_webhooksLists webhooks, and creates, deletes or tests them at write level.
What you need
- Node.js 20+, Bun 1.3+ or Docker
- Tailscale OAuth client credentials or a legacy API key
- Local Tailscale CLI, only for CLI-backed tools
Try asking
- List my Tailscale devices and show which ones are offline.
- Diagnose connectivity to my NAS at 100.64.0.5.
- Show me the current ACL policy for my tailnet.
Good to know
- Defaults to read-only access. Write and admin tools must be enabled with TAILSCALE_ALLOWED_TOOL_RISK.
- HTTP mode requires a bearer token of at least 32 characters and binds to 127.0.0.1 by default.
- CLI-backed tools need the local Tailscale CLI installed.
- The README advises against Tailscale Funnel, since it makes the endpoint public.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Tailscale MCP Server
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Tailscale MCP Server: common questions
Is Tailscale MCP Server read-only by default?
Yes. The source says it defaults to read-only access, and TAILSCALE_ALLOWED_TOOL_RISK defaults to read. Write and admin levels must be enabled explicitly.
Which authentication methods does it support?
It supports OAuth client credentials, which the source calls preferred, and a legacy API key. OAuth client credentials are recommended in the source.
Can it run over HTTP instead of stdio?
Yes. HTTP mode is for private tailnet access and requires MCP_HTTP_BEARER_TOKEN. The source suggests exposing it with Tailscale Serve rather than Funnel.
How do I install Tailscale MCP Server?
In Claude Code run claude mcp add tailscale-mcp-server -- npx -y @hexsleeves/tailscale-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Tailscale MCP Server the official server?
Tailscale MCP Server is published by npm:@hexsleeves from its verified domain in the official MCP Registry.
Is Tailscale MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Tailscale MCP Server safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. 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 MCP Server?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Tailscale MCP Server 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.
