
Connect Headscale Tailscale (Alternative) to your AI
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Run your private mesh network through your AI agent.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 18 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 18 available through Headscale.
- 01
Disable route
Turns off a specific network route.
- 02
Create preauth key
Produces a new pre-auth key to allow new nodes to join the network.
- 03
Enable route
Activates a specific network route.
- 04
Create API key
Generates a new API key for programmatic access.
05-08
4 capabilities in this set.
Part of 18 available through Headscale.
- 05
Create user
Sets up a new user or namespace in Headscale.
- 06
Delete node
Removes a specific machine from your network entirely.
- 07
Expire API key
Invalidates an existing API key immediately.
- 08
Get node
Retrieves detailed metadata for a specific machine on the network.
09-12
4 capabilities in this set.
Part of 18 available through Headscale.
- 09
List API keys
Shows all currently active API keys.
- 10
List nodes
Returns a list of all machines connected to your Headscale network.
- 11
List preauth keys
Displays all existing pre-authentication keys.
- 12
List routes
Provides a list of all configured subnet routes and exit nodes.
13-15
3 capabilities in this set.
Part of 18 available through Headscale.
- 13
List users
Lists all users and namespaces within the network.
- 14
Rename node
Updates the name of a machine in the network.
- 15
Delete user
Deletes a user and their associated namespace.
16-18
3 capabilities in this set.
Part of 18 available through Headscale.
- 16
Expire node
Forces a node session to expire, requiring re-authentication.
- 17
Expire preauth key
Invalidates a pre-auth key so it can no longer be used for registration.
- 18
Move node
Changes the user ownership of a specific node.
Real work
What teams actually run
Rapid Onboarding
Ask your agent to create a new user and a reusable pre-auth key to get a new team member connected in seconds.
Security Auditing
Request a list of all active nodes and their metadata to verify your network state.
Emergency Access Revocation
Instantly expire a node session or delete a machine if a device is lost or compromised.
Network Reorganization
Move nodes between different users or rename them to keep your namespaces organized.
Automate a task
Put Headscale to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
Headscale works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put Headscale to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
998ms average. Fast in production.
Headscale is checked daily against the live service.
- Fastest day
- 713ms
- Slowest day
- 1373ms
- 14-day trend
- Stable-4%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 18 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of Headscale, so you can see the experience inside your AI.
It does not authenticate your account with Headscale. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
Headscale Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_eY8iPLqKoHS6UDNYs4PXhTC6kItxeqx4gseTYyC6/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Headscale capabilities are ready to use.
{
"mcpServers": {
"headscale-tailscale-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_eY8iPLqKoHS6UDNYs4PXhTC6kItxeqx4gseTYyC6/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up Headscale in Claude and other AIs
Who it's for
Built for the work Headscale owners hand off.
This MCP is built for technical professionals managing private mesh networks via Headscale.
- 01
DevOps Engineers
They use the agent to audit nodes and manage namespaces without leaving their IDE.
- 02
Sysadmins
They hand off the automation of VPN node lifecycles and key generation to the agent.
- 03
Privacy-Conscious Teams
They maintain full control over self-hosted infrastructure through an AI-driven interface.
FAQ
Questions Headscale owners ask.
- 01
What is Headscale?
Headscale is an open-source, self-hosted implementation of the Tailscale control server, allowing you to run your own private mesh network.
- 02
Do I need to use the command line to manage my nodes?
No. Once you connect this MCP, you can manage all nodes, users, and routes using your AI client.
- 03
How do I secure my connection?
You connect by providing your specific Headscale Server URL and a valid API Key, which Vinkius manages securely.
- 04
Can I automate adding new devices to my network?
Yes. You can ask your agent to create pre-auth keys, which allow new nodes to join without manual intervention.
- 05
What happens if a device is stolen?
You can immediately tell your agent to expire the node session or delete the machine to revoke its access to the network.
- 06
Can I move a registered machine from one user to another using the AI?
Yes. Use the move_node capability by providing the Node ID and the target User name. The agent will reassign the machine to the new namespace immediately.
- 07
How do I generate a key for a new server to join the network without manual approval?
You can use the create_preauth_key capability. Specify the user, and optionally set it as reusable or ephemeral. The agent will return a key that can be used with the tailscale up --login-server command.
- 08
Is it possible to see the IP addresses and status of all my machines?
Absolutely. The list_nodes capability retrieves a complete list of all registered devices, including their online status, assigned IP addresses, and the users they belong to.
Explore
More in Cloud Infrastructure
Tailscale AI Connector
Manage your Tailscale mesh network — list devices, update ACL policies, manage auth keys, and inspect users di
ViewNetBird AI Connector
Automate Zero Trust networking via NetBird — manage accounts, users, and access controls directly from any AI
ViewZeroTier AI Connector
Manage ZeroTier virtual networks, authorize members, and monitor local node status directly from your AI agent
ViewCockpit (Self-hosted Headless CMS API) AI Connector
Manage your self-hosted Cockpit CMS content, assets, and menus directly from any AI agent.
View
Suggestions
US Self-Employment Tax Calculator AI Connector
Calculate US Self-Employment tax (Social Security and Medicare) and associated income tax deductions for the 2
ViewSelf-Compassion Scale (SCS) AI Connector
Calculate and interpret Self-Compassion Scale scores.
ViewAgent Self-Reflection & Sentiment Scanner AI Connector
Quantify agent self-correction behavior and sentiment by scanning execution logs for specific error and succes
ViewAgent Self-Reflection & Sentiment Scanner AI Connector
Quantify agent self-correction behavior and sentiment by scanning execution logs for specific error and succes
View
Connect Headscale to Claude, Cursor, ChatGPT & more
