Tailscale MCP Server
MCP server by YawLabs Community
Manages a Tailscale tailnet from AI assistants through the v2 admin API. It is for admins who want an agent to query devices, ACLs, DNS and keys in one request.
Install Tailscale MCP Server
Built from the published package, never by AI.
claude mcp add tailscale-mcp-server -- npx -y @yawlabs/tailscale-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@yawlabs/tailscale-mcp"
],
"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",
"@yawlabs/tailscale-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@yawlabs/tailscale-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tailscale-mcp-server -- npx -y @yawlabs/tailscale-mcp{
"mcpServers": {
"tailscale-mcp-server": {
"args": [
"-y",
"@yawlabs/tailscale-mcp"
],
"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 @yawlabs/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-mcp-server block.
About
Tailscale MCP Server is an MCP server published as @yawlabs/tailscale-mcp by Yaw Labs. It provides 97 admin-API tools, 6 optional local-CLI diagnostics, 1 always-on catalog tool and 4 resources, covering the Tailscale v2 API. Areas include devices, ACLs, DNS, keys and trust credentials, users, invites, webhooks, log streaming, posture, services and organization tailnets.
The server runs through npx and reads a TAILSCALE_API_KEY from the environment. Tool groups, presets and a read-only mode can narrow what the assistant sees. It suits admins and teams who want an agent to combine several API calls in one request, such as auditing devices or drafting ACL changes. The project reports 1900+ unit tests and an opt-in live-tailnet integration suite.
Written from the project's README and checked against it.
Tools it gives your assistant
tailscale_create_keyCreates a trust credential, such as an OAuth client when keyType is client.tailscale_tool_groupsAlways registered. Tells the agent which tools are available and why others are withheld.tailscale_delete_deviceExample of a write tool that the group and read-only filters can withhold.devices groupLists tailnet devices, including last seen and key expiry data.acl groupReads the current ACL, proposes a minimal change and validates it against the API.dns groupCovers DNS configuration. Included in the core and full profiles.audit groupReads the audit log, including the before and after values of each change.keys groupCovers auth keys and OAuth clients, including creating and revoking them.
What you need
- Tailscale API key
- Node.js 20 or later
- npx
- An MCP client such as Claude Code, Claude Desktop, Cursor, Windsurf or VS Code
Try asking
- List my Tailscale devices that haven't been seen in the last 7 days
- Summarize every ACL change in the audit log from yesterday
- Draft an ACL rule that lets tag:ci reach tag:registry on port 5000 only
Good to know
- Speaks stdio only, so Tailscale's Aperture cannot front it today.
- Local-CLI diagnostics run only when TAILSCALE_LOCAL_CLI=1 is set.
- No recorded live exchange ships with the repo, and no claim rests on a live tailnet check.
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
Does it cover more than devices?
Yes. The source lists ACLs, DNS, keys and trust credentials, users, invites, webhooks, log streaming, posture, services and organization tailnets.
Can I stop the assistant from making changes?
Yes. Setting TAILSCALE_READONLY to 1 or true drops every tool without readOnlyHint set to true. It can be combined with profiles or tool groups.
How is it different from the tailscale CLI?
The source says the CLI is scoped to the node it runs on. This server targets the v2 admin HTTP API with typed, Zod-validated tools.
How do I install Tailscale MCP Server?
In Claude Code run claude mcp add tailscale-mcp-server -- npx -y @yawlabs/tailscale-mcp. 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 a community project by YawLabs, not verified by a company domain.
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 81 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 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.
