@aicommander/mcp 1.0.31 → 1.0.33

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.
Files changed (2) hide show
  1. package/dist/bin/mcp.js +6 -2
  2. package/package.json +1 -1
package/dist/bin/mcp.js CHANGED
@@ -91,8 +91,12 @@ server.registerTool("remote_exec", {
91
91
  .number()
92
92
  .optional()
93
93
  .describe("Timeout in milliseconds. Default 300000 (5 min), max 3600000 (1 hr)"),
94
+ elevated: z
95
+ .boolean()
96
+ .optional()
97
+ .describe("Run as root (macOS) / LocalSystem (Windows) via the privileged helper. Account-only; only works on mac/Windows machines with the helper installed. Most commands do NOT need this."),
94
98
  },
95
- }, async ({ code, command, cwd, timeout_ms }) => {
99
+ }, async ({ code, command, cwd, timeout_ms, elevated }) => {
96
100
  const res = await fetch(MCP_URL, {
97
101
  method: "POST",
98
102
  headers: {
@@ -106,7 +110,7 @@ server.registerTool("remote_exec", {
106
110
  method: "tools/call",
107
111
  params: {
108
112
  name: "remote_exec",
109
- arguments: { code, command, cwd, timeout_ms },
113
+ arguments: { code, command, cwd, timeout_ms, elevated },
110
114
  },
111
115
  }),
112
116
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aicommander/mcp",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "mcpName": "dev.aicommander/mcp",
5
5
  "description": "MCP server for remote command execution — run shell/bash commands on remote machines, servers and laptops from your AI agent (Claude, Codex, any stdio MCP client). An SSH / Ansible alternative with no exposed SSH, open ports or VPN; drive machines by AIC-… session code or saved alias/hostname.",
6
6
  "keywords": [