Tailscale Compute MCP
Click on "Install 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., "@Tailscale Compute MCPRun the full test suite on the remote Mac mini"
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.
Tailscale Compute MCP
Run builds, tests, and benchmarks on your own remote compute node from an MCP coding agent.
The coding agent edits files on your local computer. This MCP server copies the project through rsync and runs a command through SSH only when the agent calls compute_run.
This is an independent project. It is not an official Tailscale product and is not endorsed by Tailscale Inc. Tailscale is a trademark of Tailscale Inc.
Release status
This package is a beta.
The full path has run on a Mac laptop and an Apple M4 Mac mini.
The server includes Linux probes and NVIDIA inventory support.
Linux parsing has automated coverage.
This release has not run on a real NVIDIA DGX Spark. Do not treat the Linux or NVIDIA result as DGX Spark validation yet.
Related MCP server: mcp-ssh-remote
How it works
MCP coding agent
|
| local stdio
v
Tailscale Compute MCP
|
| rsync and SSH through the user's tailnet
v
Mac or Linux compute nodeThe package runs on the local computer. No MCP service runs on the remote node. The project author does not receive your code, credentials, command output, or Tailscale traffic.
Security warning
compute_run can run any non-interactive command with the permissions of the remote SSH user. Treat it as remote code execution.
Use a dedicated non-root account on the remote node.
Do not auto-approve
compute_runcalls.Do not put passwords, SSH private keys, or Tailscale auth keys in MCP configuration.
Use an SSH agent or Tailscale SSH.
Limit access with Tailscale policy rules.
Review
SECURITY.mdbefore use.
Requirements
Local computer
Node.js 20 or later.
Tailscale connected to the same tailnet as the remote node.
OpenSSH client.
rsyncwith filter support.An MCP host that supports local stdio servers.
macOS and Linux are the supported local systems for this beta.
Remote node
Darwin or Linux.
Tailscale connected.
SSH server.
rsyncavailable onPATH.A known SSH host key.
The toolchain required by the project.
The MCP package does not need Node.js on the remote node unless the remote workload uses Node.js.
Set up a Mac mini
Install and connect Tailscale on both Macs.
On the Mac mini, open System Settings, select General, select Sharing, and turn on Remote Login.
Add the local public key to the remote account:
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@mac-mini.example.ts.netVerify the host key and non-interactive access:
ssh user@mac-mini.example.ts.net /usr/bin/trueCheck the remote tools:
ssh user@mac-mini.example.ts.net '/bin/zsh -lc "rsync --version"'A sleeping or powered-off Mac might not accept a Tailscale connection. Configure macOS network wake when required. This MCP server does not send wake packets.
Set up a Linux node
Install and connect Tailscale by using the official Tailscale instructions for your Linux distribution. Then install an SSH server and rsync.
For Ubuntu or Debian:
sudo apt-get update
sudo apt-get install --yes openssh-server rsync
sudo systemctl enable --now sshUse a standard SSH key:
ssh-copy-id -i ~/.ssh/id_ed25519.pub user@compute-node.example.ts.net
ssh user@compute-node.example.ts.net /usr/bin/trueYou can use Tailscale SSH on supported Linux nodes instead of distributing SSH keys. Your Tailscale policy must permit both the network connection and SSH connection.
Install in an MCP host
Pin the package version. Do not use an unpinned package for agent command execution.
VS Code
Create .vscode/mcp.json:
{
"servers": {
"tailscale-compute": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dylantirandaz/tailscale-compute-mcp@0.1.0-beta.1"
],
"env": {
"TAILSCALE_COMPUTE_HOST": "user@compute-node.example.ts.net"
}
}
}
}Cursor
Create .cursor/mcp.json:
{
"mcpServers": {
"tailscale-compute": {
"command": "npx",
"args": [
"-y",
"@dylantirandaz/tailscale-compute-mcp@0.1.0-beta.1"
],
"env": {
"TAILSCALE_COMPUTE_HOST": "user@compute-node.example.ts.net"
}
}
}
}Claude Code
claude mcp add tailscale-compute \
-e TAILSCALE_COMPUTE_HOST=user@compute-node.example.ts.net \
-- npx -y @dylantirandaz/tailscale-compute-mcp@0.1.0-beta.1Check the connection
Run the package outside the MCP host first:
TAILSCALE_COMPUTE_HOST=user@compute-node.example.ts.net \
npx -y @dylantirandaz/tailscale-compute-mcp@0.1.0-beta.1 --checkA successful check returns kind: "ready". It also reports:
Operating system.
CPU architecture and model.
Logical processor count.
Memory.
Selected remote shell.
rsyncversion.NVIDIA GPU inventory when
nvidia-smiis available.
MCP tools
compute_status
Checks SSH access and reports the remote platform and hardware.
compute_run
Copies the local workspace and runs one non-interactive remote command.
Example:
{
"program": "npm",
"arguments": ["test"],
"syncMode": "incremental",
"timeoutSeconds": 900
}For shell syntax, call a supported remote shell explicitly:
{
"program": "/bin/bash",
"arguments": ["-lc", "npm ci && npm test"],
"syncMode": "clean",
"timeoutSeconds": 1800
}compute_run returns the remote exit code, standard output, standard error, sync time, and command time. Output is limited to protect the MCP connection. When output is too large, the result keeps its start and end and reports the omitted byte count.
Sync modes
incremental: Update the managed remote workspace and delete remote files that no longer exist locally.clean: Delete only the hashed managed workspace, create it again, and copy the project.none: Reuse the last remote snapshot without copying local files.
Each local workspace maps to a stable remote directory under:
.cache/tailscale-compute-mcpThe server runs commands for one workspace in sequence. Different workspaces can run at the same time.
Excluded files
The sync reads .gitignore and .tailscale-compute-ignore files. It also excludes these patterns by default:
.git/
.env
.env.*
.npmrc
.pypirc
*.pem
*.key
*.p12
*.pfx
node_modules/
.venv/
venv/
target/
__pycache__/
.next/cache/Add project-specific secrets and large outputs to .tailscale-compute-ignore.
Ignored files are not copied. If a required file is ignored, create it on the remote node or provide its value through an explicit compute_run.environment entry. Remember that tool arguments are visible to the MCP host and model.
Configuration
Variable | Required | Default | Purpose |
| Yes | None | SSH user and direct Tailscale IP address or full MagicDNS name. |
| No | MCP process directory | Absolute local project path. |
| No |
| Managed remote workspace root. |
| No |
|
|
| No |
| SSH connection timeout from 1 through 60 seconds. |
Automatic shell selection uses /bin/zsh on Darwin. It uses /bin/bash on Linux when available and /bin/sh otherwise.
Multiple compute nodes
Register the package more than once with a different name and host. Keep one target per MCP server instance.
{
"mcpServers": {
"compute-mac-mini": {
"command": "npx",
"args": ["-y", "@dylantirandaz/tailscale-compute-mcp@0.1.0-beta.1"],
"env": {
"TAILSCALE_COMPUTE_HOST": "developer@mac-mini.example.ts.net"
}
},
"compute-linux": {
"command": "npx",
"args": ["-y", "@dylantirandaz/tailscale-compute-mcp@0.1.0-beta.1"],
"env": {
"TAILSCALE_COMPUTE_HOST": "developer@linux-node.example.ts.net",
"TAILSCALE_COMPUTE_REMOTE_SHELL": "/bin/bash"
}
}
}
}NVIDIA workloads
compute_status reports NVIDIA devices through nvidia-smi. This inventory does not prove that a workload used a GPU.
A GPU workload must select the intended device and verify the placement of its model, inputs, computation, and outputs. Do not treat a successful nvidia-smi call as functional validation. The server does not fall back to CPU on behalf of the remote command.
Development
npm ci
npm run checkRun a connection check against a real remote node:
TAILSCALE_COMPUTE_HOST=user@100.64.0.1 node dist/main.js --checkTest the package contents before release:
npm pack --dry-runLicense
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables executing commands on remote SSH hosts, with full support for bastion/jump hosts and ~/.ssh/config, plus Slurm job management and rsync.3MIT
- FlicenseBqualityDmaintenanceEnables running commands over SSH on remote Linux hosts, with logging and standalone executable support.6
- Flicense-qualityDmaintenanceManages Docker containers, images, and Compose stacks on a remote host over SSH, with file sync and deploy orchestration.
Related MCP Connectors
Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dylantirandaz/tailscale-compute-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server