mcp-ssh-manager 4.3.0 → 4.3.1

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.
@@ -43,6 +43,14 @@ Deploy files with automatic permission handling and backup.
43
43
  }
44
44
  ```
45
45
 
46
+ `restart` is a shell command, not a service name: it runs as written on the
47
+ server, as the SSH user, after the file is in place (so a bare `nginx` is run as
48
+ the `nginx` program). It is the one part of a deploy that is not quoted for you,
49
+ on purpose, because `cd /opt/app && ./bin/restart` is a legitimate value. With
50
+ approval turned on, the approval card shows the files, their target paths and
51
+ this command in full. `readonly` and `restricted` servers refuse `ssh_deploy`
52
+ altogether.
53
+
46
54
  ### 2. `ssh_execute_sudo` - Execute with Sudo
47
55
 
48
56
  Run commands with sudo privileges securely.
package/docs/MIGRATION.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Upgrading from 3.8 to 4.0
2
2
 
3
- **4.0 is released, on npm and as a desktop application**; the latest is 4.3.0 ([release](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.3.0)).
3
+ **4.0 is released, on npm and as a desktop application**; the latest is 4.3.1 ([release](https://github.com/bvisible/mcp-ssh-manager/releases/tag/v4.3.1)).
4
4
  The last 3.8 release is 3.8.7, for anyone who pins the 3.8 line.
5
5
 
6
6
  The upgrade path preserves headless npm/CLI use. The application, vault import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-ssh-manager",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "mcpName": "io.github.bvisible/mcp-ssh-manager",
5
5
  "description": "MCP server for SSH: let AI agents (Claude Code, Codex, any MCP client) run commands, transfer files and manage servers over SSH, with human approval, an encrypted vault and a live audit trail.",
6
6
  "main": "src/index.js",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/bvisible/mcp-ssh-manager",
7
7
  "source": "github"
8
8
  },
9
- "version": "4.3.0",
9
+ "version": "4.3.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "mcp-ssh-manager",
14
- "version": "4.3.0",
14
+ "version": "4.3.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },
package/src/index.js CHANGED
@@ -2393,7 +2393,7 @@ registerToolConditional(
2393
2393
  registerToolConditional(
2394
2394
  'ssh_deploy',
2395
2395
  {
2396
- description: 'Deploys a list of local files to remote paths on the named server, uploading each to a temporary location first and then moving it into place. Mutates remote state. By default it backs up any existing target file before overwriting; backup can be disabled per call. Options can set owner and permissions, supply a sudo password, and name a single service to restart afterward. Detects sensible owner and permission defaults from the remote path. Runs pre and post deploy hooks. Blocked entirely on servers in readonly or restricted security mode.',
2396
+ description: 'Deploys a list of local files to remote paths on the named server, uploading each to a temporary location first and then moving it into place. Mutates remote state. By default it backs up any existing target file before overwriting; backup can be disabled per call. Options can set owner and permissions, supply a sudo password, and give a shell command to run afterward (restart, for example "sudo systemctl restart nginx"), which runs as written on the server as the SSH user and is shown in full to whoever approves the deploy. Detects sensible owner and permission defaults from the remote path. Runs pre and post deploy hooks. Blocked entirely on servers in readonly or restricted security mode.',
2397
2397
  inputSchema: {
2398
2398
  server: z.string().describe('Server name or alias'),
2399
2399
  files: z.array(z.object({