@akms/mcp-ssh 0.1.3 โ 0.1.4
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 +21 -1
- package/lib/cli.cjs +1 -1
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +1 -1
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,9 +8,12 @@ The host is **pre-registered** in the server's own environment; the agent never
|
|
|
8
8
|
|
|
9
9
|
## ๐ฆ Installation
|
|
10
10
|
|
|
11
|
+
Requires Node.js 18 or later.
|
|
12
|
+
|
|
11
13
|
```bash
|
|
12
14
|
npm install -g @akms/mcp-ssh # installs the `akms-mcp-ssh` command
|
|
13
15
|
npx -y @akms/mcp-ssh --help # or run it straight from the registry
|
|
16
|
+
akms-mcp-ssh --version # show the installed version
|
|
14
17
|
```
|
|
15
18
|
|
|
16
19
|
## โ๏ธ MCP client setup
|
|
@@ -22,6 +25,8 @@ npx -y @akms/mcp-ssh setup # opens on the first client found o
|
|
|
22
25
|
npx -y @akms/mcp-ssh setup --target codex # claude-code | codex | claude-desktop | cursor
|
|
23
26
|
```
|
|
24
27
|
|
|
28
|
+
The old `config` command remains an alias for `setup`; existing invocations still work.
|
|
29
|
+
|
|
25
30
|
```
|
|
26
31
|
Claude Code (user scope) /home/me/.claude.json
|
|
27
32
|
|
|
@@ -34,7 +39,22 @@ Claude Code (user scope) /home/me/.claude.json
|
|
|
34
39
|
โโ move ยท enter select ยท esc back
|
|
35
40
|
```
|
|
36
41
|
|
|
37
|
-
The hosts are the menu: pick one to edit, check, print or remove it. Adding or editing a host opens a settings form โ every setting listed with its value, picked and changed in any order, with **Test the connection** and **Save** below.
|
|
42
|
+
The hosts are the menu: pick one to edit, check, print or remove it. Adding or editing a host opens a settings form โ every setting listed with its value, picked and changed in any order, with **Test the connection** and **Save** below. Choose a private key from the keys found in `~/.ssh`, and a route: directly, through a jump host, through a proxy command, or through both.
|
|
43
|
+
|
|
44
|
+
On an interactive terminal:
|
|
45
|
+
|
|
46
|
+
| Keys | Action |
|
|
47
|
+
|---|---|
|
|
48
|
+
| โ / โ, Enter | Move through a menu and select a setting or action |
|
|
49
|
+
| Esc | Go back one level; inside a field or choice, return to the form with that setting unchanged |
|
|
50
|
+
| โ / โ, Home / End | Move the cursor within text being entered |
|
|
51
|
+
| Backspace / Delete, Ctrl+U | Delete characters or clear the current input line |
|
|
52
|
+
| Enter with no input | Keep the displayed value; enter `-` to clear an optional value |
|
|
53
|
+
| Ctrl+C / Ctrl+D | Exit setup |
|
|
54
|
+
|
|
55
|
+
Esc also undoes a choice when pressed in its follow-up question: choosing a jump route and then pressing Esc at the jump-host prompt restores the previous route. Esc at the **Write it?** preview reopens the form with the entered values. Leaving a changed form with Cancel or Esc asks whether to discard changes.
|
|
56
|
+
|
|
57
|
+
Without an interactive terminal (a pipe, or Git Bash's mintty without winpty), the same menus use numbered choices; enter a number, key or label followed by Enter. After saving, restart the MCP client or reconnect the server from its MCP menu to load the updated entry.
|
|
38
58
|
|
|
39
59
|
| Client | Config file | How it is written |
|
|
40
60
|
|---|---|---|
|
package/lib/cli.cjs
CHANGED
|
@@ -35,7 +35,7 @@ var CWD_MARKER = "__AKMS_SSH_CWD__";
|
|
|
35
35
|
var MAX_DIRECTORY_ENTRIES = 1e3;
|
|
36
36
|
var SERVER_NAME = "akms-mcp-ssh";
|
|
37
37
|
var PACKAGE_NAME = "@akms/mcp-ssh";
|
|
38
|
-
var SERVER_VERSION = "0.1.
|
|
38
|
+
var SERVER_VERSION = "0.1.4";
|
|
39
39
|
|
|
40
40
|
// src/_defs/command-rules.ts
|
|
41
41
|
var CRITICAL_PATH_PATTERN = new RegExp(
|