Compatible with every major AI agent and IDE
What is the Tailscale MCP Server?
Connect your Tailscale network (tailnet) to any AI agent and take full control of your zero-trust infrastructure through natural conversation.
What you can do
- Device Management — List all nodes in your tailnet, fetch specific device details, authorize new machines, or update device tags to organize your fleet.
- Network Security (ACLs) — Retrieve and update your HuJSON policy files (ACLs) to manage access control without leaving your chat interface.
- Authentication Keys — List, create, and delete auth keys to automate node joining or manage ephemeral server access.
- User Auditing — List all users within your tailnet and fetch detailed profile information for specific members.
- Node Cleanup — Securely delete decommissioned devices from your tailnet using their unique IDs.
How it works
- Subscribe to this server
- Enter your Tailscale API Key
- Start managing your private network from Claude, Cursor, or any MCP-compatible client
No more jumping between the Tailscale admin console and your terminal. Your AI acts as a network administrator that understands your infrastructure context.
Who is this for?
- DevOps Engineers — quickly check node statuses, manage tags, and generate auth keys for CI/CD pipelines.
- Security Teams — audit tailnet users and inspect or update ACL policies to ensure zero-trust compliance.
- IT Administrators — authorize new devices and clean up old nodes from the network via simple commands.
Built-in capabilities (13)
Authorize Device
Create Auth Key
Delete Auth Key
Delete Device
Get Auth Key
Get Device Details
Get Tailnet Policy (ACL)
Get User
List Auth Keys
List Tailnet Devices
List Users
Update Device Tags
Update Tailnet Policy (ACL)
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Tailscale tool infrastructure. Connect 13 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Tailscale without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Tailscale tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Tailscale in Mastra AI
Tailscale and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Tailscale to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Tailscale in Mastra AI
The Tailscale MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 13 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Tailscale for Mastra AI
Every tool call from Mastra AI to the Tailscale MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I update my network's security policy (ACL) using this server?
Yes! You can use get_tailnet_acl to view the current HuJSON policy and update_tailnet_acl to apply changes directly to your tailnet configuration.
How do I authorize a new device that is pending approval?
Use the authorize_device tool with the specific device_id and set the authorized parameter to true. This allows you to manage node entry without the admin console.
Is it possible to generate temporary authentication keys for my servers?
Absolutely. Use the create_auth_key tool. You can optionally provide capabilities like 'ephemeral' or 'reusable' in the JSON payload to define how the key should behave.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
CrowdSec
3 toolsAutomate threat intelligence via CrowdSec — query local decisions, stream security updates, and check global IP reputation directly from any AI agent.

Zoho Billing Alternative
101 toolsAutomate your subscription management with Zoho Billing — manage organizations, products, and plans directly from your AI agent.

LearningSuite
10 toolsCreate and deliver corporate training programs with course authoring, quizzes, and progress tracking for distributed teams.

Frontify
10 toolsManage digital assets and brand guidelines via Frontify — list workspace projects and assets, handle metadata, audit brand portals, and manage users directly from any AI agent.
