@yawlabs/tailscale-mcp 0.12.8 → 0.12.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +7 -3
- package/package.json +12 -4
package/README.md
CHANGED
|
@@ -467,7 +467,7 @@ This shows a read-only banner in the Tailscale Admin Console pointing to your re
|
|
|
467
467
|
|
|
468
468
|
## Requirements
|
|
469
469
|
|
|
470
|
-
- Node.js 20+
|
|
470
|
+
- Node.js 20+ to run the server (22+ to develop — the test script passes a glob to `node --test`, supported from Node 21)
|
|
471
471
|
- A Tailscale API key or OAuth client credentials
|
|
472
472
|
|
|
473
473
|
## Contributing
|
package/dist/index.js
CHANGED
|
@@ -31959,7 +31959,7 @@ var deviceTools = [
|
|
|
31959
31959
|
},
|
|
31960
31960
|
inputSchema: external_exports.object({
|
|
31961
31961
|
deviceId: external_exports.string().describe("The device ID"),
|
|
31962
|
-
ipv4: external_exports.
|
|
31962
|
+
ipv4: external_exports.ipv4().describe("The new Tailscale IPv4 address for the device (e.g. '100.64.0.1')")
|
|
31963
31963
|
}),
|
|
31964
31964
|
handler: async (input) => {
|
|
31965
31965
|
return apiPost(`/device/${encPath(input.deviceId)}/ip`, { ipv4: input.ipv4 });
|
|
@@ -33551,7 +33551,7 @@ function getAllowedWebhookEvents() {
|
|
|
33551
33551
|
const extras = raw.split(",").map((s) => s.trim()).filter(Boolean);
|
|
33552
33552
|
return /* @__PURE__ */ new Set([...STATIC_WEBHOOK_EVENT_TYPES, ...extras]);
|
|
33553
33553
|
}
|
|
33554
|
-
var endpointUrlSchema = external_exports.
|
|
33554
|
+
var endpointUrlSchema = external_exports.url().refine((u) => u.startsWith("https://"), "endpointUrl must use https://");
|
|
33555
33555
|
var webhookSubscriptionsSchema = external_exports.array(external_exports.string()).min(1).superRefine((arr, ctx) => {
|
|
33556
33556
|
const allowed = getAllowedWebhookEvents();
|
|
33557
33557
|
let knownEventsList = null;
|
|
@@ -33706,7 +33706,7 @@ var webhookTools = [
|
|
|
33706
33706
|
];
|
|
33707
33707
|
|
|
33708
33708
|
// src/index.ts
|
|
33709
|
-
var version2 = true ? "0.12.
|
|
33709
|
+
var version2 = true ? "0.12.9" : resolveVersionFallback();
|
|
33710
33710
|
var subcommand = process.argv[2];
|
|
33711
33711
|
if (subcommand === "deploy-acl") {
|
|
33712
33712
|
const filePath = process.argv[3];
|
|
@@ -33722,6 +33722,10 @@ if (subcommand === "deploy-acl") {
|
|
|
33722
33722
|
} else if (subcommand === "version" || subcommand === "--version") {
|
|
33723
33723
|
console.log(version2);
|
|
33724
33724
|
process.exit(0);
|
|
33725
|
+
} else if (subcommand !== void 0) {
|
|
33726
|
+
console.error(
|
|
33727
|
+
`@yawlabs/tailscale-mcp: unrecognized argument "${subcommand}" -- known subcommands: deploy-acl, version. Starting the MCP server.`
|
|
33728
|
+
);
|
|
33725
33729
|
}
|
|
33726
33730
|
var toolGroups = {
|
|
33727
33731
|
status: statusTools,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yawlabs/tailscale-mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.9",
|
|
4
4
|
"mcpName": "io.github.YawLabs/tailscale-mcp",
|
|
5
5
|
"description": "Tailscale MCP server for managing your tailnet from AI assistants",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
33
33
|
"dev": "tsc --watch",
|
|
34
34
|
"start": "node dist/index.js",
|
|
35
|
-
"test": "npm run build && node --test dist/**/*.test.js",
|
|
35
|
+
"test": "npm run build && node --test \"dist/**/*.test.js\"",
|
|
36
36
|
"test:ci": "npm run test",
|
|
37
37
|
"lint": "biome check src/",
|
|
38
38
|
"lint:fix": "biome check --write src/",
|
|
@@ -40,10 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {},
|
|
42
42
|
"overrides": {
|
|
43
|
-
"hono": "^4.12.
|
|
43
|
+
"hono": "^4.12.21",
|
|
44
44
|
"@hono/node-server": "^1.19.13",
|
|
45
45
|
"fast-uri": "^3.1.2",
|
|
46
|
-
"ip-address": "^10.1.1"
|
|
46
|
+
"ip-address": "^10.1.1",
|
|
47
|
+
"qs": "^6.15.2"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@biomejs/biome": "^2.4.12",
|
|
@@ -55,5 +56,12 @@
|
|
|
55
56
|
},
|
|
56
57
|
"engines": {
|
|
57
58
|
"node": ">=20"
|
|
59
|
+
},
|
|
60
|
+
"devEngines": {
|
|
61
|
+
"runtime": {
|
|
62
|
+
"name": "node",
|
|
63
|
+
"version": ">=22",
|
|
64
|
+
"onFail": "error"
|
|
65
|
+
}
|
|
58
66
|
}
|
|
59
67
|
}
|