Tailscale RMCP
MCP server by dinglebear-ai Verified · dinglebear.ai
Manages Tailscale devices, routes, DNS, keys, users, and ACL policy over MCP and a CLI. Built for AI assistants and operators who need tailnet visibility and controlled device changes.
Install Tailscale RMCP
Built from the published package, never by AI.
claude mcp add tailscale-rmcp -e TAILSCALE_API_KEY=YOUR_TAILSCALE_API_KEY -- npx -y @dinglebear/rtailscaleRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"tailscale-rmcp": {
"env": {
"TAILSCALE_API_KEY": "YOUR_TAILSCALE_API_KEY"
},
"args": [
"-y",
"@dinglebear/rtailscale"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"tailscale-rmcp": {
"env": {
"TAILSCALE_API_KEY": "YOUR_TAILSCALE_API_KEY"
},
"args": [
"-y",
"@dinglebear/rtailscale"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"tailscale-rmcp": {
"env": {
"TAILSCALE_API_KEY": "YOUR_TAILSCALE_API_KEY"
},
"args": [
"-y",
"@dinglebear/rtailscale"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add tailscale-rmcp --env TAILSCALE_API_KEY=YOUR_TAILSCALE_API_KEY -- npx -y @dinglebear/rtailscale{
"mcpServers": {
"tailscale-rmcp": {
"env": {
"TAILSCALE_API_KEY": "YOUR_TAILSCALE_API_KEY"
},
"args": [
"-y",
"@dinglebear/rtailscale"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add tailscale-rmcp npx -y @dinglebear/rtailscaleGemini 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-rmcp block.
About
tailscale-rmcp is an MCP server and CLI for managing a Tailscale tailnet. It exposes one MCP tool, tailscale, and callers pick an operation with an action argument. Assistants can list devices, inspect a single device and its subnet routes, and read API keys, ACL policy, DNS settings, and tailnet users. They can also authorize a device. Deleting a device requires both a server-side opt-in and an explicit caller confirmation.
It runs over stdio or HTTP MCP, and the rtailscale CLI calls the same service layer. HTTP MCP supports loopback dev mode, static bearer tokens, and Google OAuth through lab-auth. The Tailscale API key is read from environment variables, not from MCP tool arguments. It is aimed at operators and developers who want agents to inspect or manage a tailnet. It does not replace the Tailscale admin console.
Written from the project's README and checked against it.
Tools it gives your assistant
tailscaleRuns read actions (devices, acl, dns, users) and authorize_device; delete_device needs explicit opt-in.
What you need
- Tailscale API key
- Tailscale tailnet (personal or organization domain)
- Node.js for npx installs
- Rust 1.86 or later for building from source
- Docker for Compose deployments
| Setting | Needed | What it is |
|---|---|---|
TAILSCALE_Environment variable, secret | Required | Tailscale API key. |
AuthorizationHeader, secret | Required | Bearer token for the tailscale-rmcp MCP endpoint. |
TAILSCALE_Environment variable | Optional | Optional GitHub release tag override for the downloaded Tailscale RMCP binary. |
TAILSCALE_Environment variable | Optional | Optional GitHub owner/repo override for release asset downloads. Default: dinglebear-ai/rtailscale |
TAILSCALE_Environment variable | Optional | Optional release download base URL override. |
RUST_Environment variable | Optional | Tracing filter for Tailscale RMCP logs. Default: info |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List all devices in my tailnet and their IDs
- Show the ACL policy and DNS settings for my tailnet
- Show the subnet routes for device n1234abc
Good to know
- Delete device is off unless TAILSCALE_ALLOW_DESTRUCTIVE is true and the caller confirms.
- The Tailscale API base URL is fixed and cannot be configured.
- Not a replacement for the Tailscale admin console.
- No REST API or web UI is shipped.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/dinglebear-ai/rtailscale/main/scripts/install.sh \| bash
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Tailscale RMCP
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 RMCP: common questions
Can the assistant delete devices from my tailnet?
Only if the server sets TAILSCALE_ALLOW_DESTRUCTIVE to true and the caller passes explicit confirmation. Otherwise the delete_device action is blocked.
Where should the Tailscale API key go?
Put it in environment variables, config files, or the MCP client's secret storage. The source says callers must not pass API keys as MCP tool arguments.
Does it work with multiple tailnets?
The source says operating multiple unrelated tailnets from one trust boundary is out of scope. It targets one tailnet set by TAILSCALE_TAILNET.
How do I install Tailscale RMCP?
In Claude Code run claude mcp add tailscale-rmcp -e TAILSCALE_API_KEY=YOUR_TAILSCALE_API_KEY -- npx -y @dinglebear/rtailscale. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Tailscale RMCP the official server?
Tailscale RMCP is published by dinglebear.ai from its verified domain in the official MCP Registry.
Is Tailscale RMCP free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is Tailscale RMCP safe to use?
It scores 72 of 100. Grades: maintenance B, licence C, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Tailscale RMCP?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Tailscale RMCP work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
