mcp-tailscale
The mcp-tailscale server provides read-only monitoring and inspection of your Tailscale network (tailnet) through the following tools:
List all devices (
tailscale_list_devices): Retrieve all devices in your tailnet with details like name, hostname, IP addresses, OS, and connection status; optionally filter which fields to returnGet a specific device (
tailscale_get_device): Look up detailed information about a single device by its numeric ID or nameList online devices (
tailscale_list_online_devices): View only devices currently connected to the Tailscale control planeList offline devices (
tailscale_list_offline_devices): View only devices that are currently disconnected or offlineCheck for updates (
tailscale_check_updates): Identify which devices have Tailscale client updates availableGet a network summary (
tailscale_device_summary): Get an overview of your tailnet broken down by OS type, online/offline status, and update availability
Allows managing a Tailscale network (tailnet) by listing devices, checking online/offline status, monitoring connection health, viewing available client updates, and retrieving network summary statistics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-tailscale Which of my devices are currently online?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-tailscale
MCP server for managing your Tailscale network (tailnet) through Claude Code and other MCP clients.
Features
List Devices - View all devices in your tailnet with detailed information
Device Status - Check online/offline status and connection health
Update Management - See which devices have Tailscale client updates available
Network Summary - Get overview statistics of your tailnet
Device Search - Find specific devices by ID, name, or hostname
Related MCP server: mcp-tailscale
Available Tools
Tool | Description |
| List all devices in your tailnet |
| Get details about a specific device |
| List only online/connected devices |
| List only offline/disconnected devices |
| Check which devices need updates |
| Get summary stats (online/offline, by OS, etc.) |
Installation
npm install
npm run buildConfiguration
Environment Variables
TAILSCALE_API_KEY- Required. Your Tailscale API key from https://login.tailscale.com/admin/settings/keysTAILSCALE_TAILNET- Optional. Defaults to-(your current user's tailnet)
Get an API Key
Click "Generate auth key"
Configure:
Expiry: Choose duration (1-90 days)
Description: "MCP Server"
Copy the key (starts with
tskey-api-)
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"tailscale": {
"command": "node",
"args": ["/absolute/path/to/mcp-tailscale/dist/index.js"],
"env": {
"TAILSCALE_API_KEY": "tskey-api-your-key-here"
}
}
}
}Claude Code Configuration
claude mcp add mcp-tailscale --type stdio
claude mcp config mcp-tailscale command "node"
claude mcp config mcp-tailscale args '["'$(pwd)'/dist/index.js"]'
claude mcp config mcp-tailscale env.TAILSCALE_API_KEY "tskey-api-your-key-here"Usage Examples
List All Devices
Can you list all my Tailscale devices?Check Online Devices
Which of my Tailscale devices are currently online?Check for Updates
Do any of my Tailscale devices need updates?Get Device Details
Show me details about my device named "COMPY"Network Summary
Give me a summary of my Tailscale networkDevelopment
# Build
npm run build
# Watch mode
npm run watch
# Test locally
TAILSCALE_API_KEY=your-key node dist/index.jsAPI Permissions
This MCP server uses read-only API calls. It does not modify your Tailscale configuration. The API key only needs:
Device list access
Device status access
Security Notes
API keys are case-sensitive
Keys expire based on the duration you set
Store keys securely (never commit to version control)
Use environment variables or secure configuration management
Changelog
See CHANGELOG.md for version history and release notes.
License
MIT License - see LICENSE for details.
Author
Jim Christian
Website: jimchristian.net
GitHub: @aplaceforallmystuff
Links
Available Tools
6 toolstailscale_check_updatesB
Check which devices have updates available for their Tailscale client.
Inputs: no named parameters.
tailscale_device_summaryB
Get a summary of devices by OS type, online/offline status, and update availability.
Inputs: no named parameters.
tailscale_get_deviceB
Get detailed information about a specific device by its device ID or name.
Inputs: deviceId (required).
tailscale_list_devicesA
List all devices in your Tailscale network (tailnet). Shows device name, hostname, IP addresses, OS, connection status, and more.
Inputs: fields.
tailscale_list_offline_devicesB
List devices that are currently offline or disconnected.
Inputs: no named parameters.
tailscale_list_online_devicesA
List only devices that are currently online and connected to the control plane.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Every tool has a clearly distinct purpose with no ambiguity: checking updates, getting a device summary, retrieving a specific device, listing all devices, listing offline devices, and listing online devices. The descriptions clearly differentiate each tool's function, making misselection unlikely.
All tool names follow a consistent 'tailscale_verb_noun' pattern with snake_case throughout. The verbs (check, get, list) are used appropriately and predictably, creating a cohesive naming scheme that enhances usability.
With 6 tools, this server is well-scoped for managing Tailscale devices. Each tool earns its place by covering distinct aspects of device monitoring and management, avoiding both bloat and thin coverage for this domain.
The toolset provides strong coverage for device querying and monitoring (list, get, summary, status filters, update checks). A minor gap exists in device management operations like modifying device settings or removing devices, but core workflows are well-supported.
Related MCP Connectors
Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP (Model Context Protocol) server for managing Tailscale resources using the official Tailscale Go client library v2. This server provides complete coverage of the Tailscale API with enhanced, self-descriptive tools powered by OpenAPI documentation.3MIT
- AlicenseAqualityCmaintenanceProduction-ready MCP server for Tailscale management with 48 tools across 9 domains: Devices, DNS/Split DNS, ACL policies, Auth Keys, Users, Webhooks, Posture Integrations, Tailnet Settings, and Diagnostics. Supports stdio and SSE transport with Bearer token authentication. Built with TypeScript strict mode, Zod validation, and zero shell execution. AGPL-3.0 + Commercial dual-licensed.4993 npm1AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceWraps the Tailscale CLI to enable MCP-capable AI agents to manage devices, serve configurations, and diagnose connectivity.3MIT
- AlicenseAqualityBmaintenanceMCP server for safe programmatic access to the local Tailscale daemon: tailnet discovery, SSH config generation, port sharing via Serve/Funnel, and latency matrices.656 npm1Creative Commons Attribution Non Commercial No Derivatives 4.0 International