The Tailscale MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Tailscale account. It provides structured and secure access to your tailnet, devices, users, DNS configuration, routes, settings, and audit logs, so your agent can inspect devices, review network settings, manage device approval, update routes, and assign device tags on your behalf.
- Device inventory and status: Have your agent list devices across your tailnet and review their names, addresses, tags, authorization state, and connectivity details.
- DNS and tailnet configuration: Let the agent inspect MagicDNS, nameservers, search paths, split DNS, approval rules, key duration, HTTPS, routing, logging, and posture settings.
- Device approval and tags: Direct your agent to approve or revoke approval for devices and replace the ACL tags assigned to them.
- Subnet route management: Instruct your agent to review the routes advertised by a device and replace the routes currently enabled for it.
- Users and configuration audits: Have your agent list tailnet users by membership type or role and review configuration changes for a chosen time period, actor, target, or event.