mcpField
T
Tailscale MCP by usefulapi

Tailscale MCP by usefulapi

Remote
usefulapi.ioSecurity0Updated today

About Tailscale MCP by usefulapi

A hosted MCP server for reading and managing a Tailscale tailnet from MCP clients. It covers devices, users, keys, policy, and DNS, with tools for device, route, and auth-key changes.

Key features

  1. 01List and inspect devices
  2. 02Read users and tailnet settings
  3. 03Inspect keys and policy files
  4. 04Read DNS configuration
  5. 05Authorize and update devices
  6. 06Manage routes and auth keys

Use cases

  1. 01Review devices and users in a tailnet
  2. 02Inspect DNS settings or policy files
  3. 03Authorize a device or change its tags
  4. 04Set device routes or manage auth keys

MCP support

Exposes Tailscale tailnet information and management operations as tools for MCP clients through a hosted endpoint. Users provide a Tailscale API access token during setup; it is stored per user.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://tailscale.usefulapi.io/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

22
ParameterTypeRequiredDescription
fieldsenumNoField set — 'all' returns all fields incl. posture attributes and routes; 'default' is the standard subset.default | all

Details

From the project README

Tailscale MCP by usefulapi

Use your Tailscale account from Claude, Cursor, or any MCP client — read devices, users, keys, ACLs and DNS for a tailnet, and manage devices, routes and auth keys. Hosted, no local install: connect with your own credentials.

Live endpoint: https://tailscale.usefulapi.io/mcp · Homepage: https://usefulapi.io

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://tailscale.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http tailscale https://tailscale.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
{
  "mcpServers": {
    "tailscale": {
      "url": "https://tailscale.usefulapi.io/mcp"
    }
  }
}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Tailscale credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/tailscale/

On first connect you'll provide your Tailscale API access token (admin console → Settings → Keys), optionally scoped to a tailnet. It is validated, stored per-user, and scoped to you — no keys in config files.

Tools

ToolTypeWhat it does
tailscale_list_devicesreadList devices
tailscale_get_devicereadGet device
tailscale_list_device_routesreadList device routes
tailscale_list_keysreadList keys
tailscale_get_keyreadGet key
tailscale_get_policy_filereadGet policy file
tailscale_list_dns_nameserversreadList DNS nameservers
tailscale_get_dns_preferencesreadGet DNS preferences
tailscale_list_dns_searchpathsreadList DNS search paths
tailscale_get_split_dnsreadGet split DNS
tailscale_list_usersreadList users
tailscale_get_userreadGet user
tailscale_list_webhooksreadList webhooks
tailscale_get_tailnet_settingsreadGet tailnet settings
tailscale_authorize_devicewriteAuthorize device
tailscale_set_device_namewriteSet device name
tailscale_set_device_tagswriteSet device tags
tailscale_expire_device_keywriteExpire device key
tailscale_set_device_routeswriteSet device routes
tailscale_create_auth_keywriteCreate auth key
tailscale_delete_keywriteDelete key
tailscale_delete_devicewriteDelete device
tailscale_usage_statusmetaUsage status (free-tier meter)
tailscale_request_featuremetaRequest a missing feature
tailscale_upgrademetaUpgrade to Pro (unlimited*)
tailscale_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with tailscale_upgrade (it returns a Stripe Checkout link). Cancel any time with tailscale_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running tailscale_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.