@imenam/mcp-ssh-gate 0.0.0-stage → 1.0.0

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 (49) hide show
  1. package/README.md +128 -2
  2. package/dist/shared/model.d.ts +76 -0
  3. package/dist/shared/model.js +7 -0
  4. package/dist/src/cli/setup-mcp.d.ts +21 -0
  5. package/dist/src/cli/setup-mcp.js +137 -0
  6. package/dist/src/core/config.d.ts +14 -0
  7. package/dist/src/core/config.js +36 -0
  8. package/dist/src/core/errors.d.ts +4 -0
  9. package/dist/src/core/errors.js +4 -0
  10. package/dist/src/core/executor.d.ts +46 -0
  11. package/dist/src/core/executor.js +328 -0
  12. package/dist/src/core/files.d.ts +9 -0
  13. package/dist/src/core/files.js +63 -0
  14. package/dist/src/core/heartbeat.d.ts +5 -0
  15. package/dist/src/core/heartbeat.js +26 -0
  16. package/dist/src/core/request-store.d.ts +26 -0
  17. package/dist/src/core/request-store.js +115 -0
  18. package/dist/src/core/server-store.d.ts +42 -0
  19. package/dist/src/core/server-store.js +177 -0
  20. package/dist/src/core/ssh-session.d.ts +72 -0
  21. package/dist/src/core/ssh-session.js +243 -0
  22. package/dist/src/core/vault.d.ts +8 -0
  23. package/dist/src/core/vault.js +45 -0
  24. package/dist/src/gui-worker.d.ts +1 -0
  25. package/dist/src/gui-worker.js +212 -0
  26. package/dist/src/index.d.ts +2 -0
  27. package/dist/src/index.js +149 -0
  28. package/dist/src/tools/format.d.ts +4 -0
  29. package/dist/src/tools/format.js +66 -0
  30. package/dist/src/tools/tools.d.ts +14 -0
  31. package/dist/src/tools/tools.js +247 -0
  32. package/dist/src/version.d.ts +1 -0
  33. package/dist/src/version.js +16 -0
  34. package/gui/dist/assets/index-B2ykxkbY.css +1 -0
  35. package/gui/dist/assets/index-D1Fg5r8H.js +10 -0
  36. package/gui/dist/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  37. package/gui/dist/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  38. package/gui/dist/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  39. package/gui/dist/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  40. package/gui/dist/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  41. package/gui/dist/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  42. package/gui/dist/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  43. package/gui/dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  44. package/gui/dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  45. package/gui/dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  46. package/gui/dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  47. package/gui/dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  48. package/gui/dist/index.html +13 -0
  49. package/package.json +58 -4
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>SSH Gate</title>
7
+ <script type="module" crossorigin src="./assets/index-D1Fg5r8H.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/index-B2ykxkbY.css">
9
+ </head>
10
+ <body>
11
+ <div id="root"></div>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,6 +1,60 @@
1
1
  {
2
2
  "name": "@imenam/mcp-ssh-gate",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "MCP server that lets an agent run commands on production servers over SSH only after a human approves them in a web GUI. The SSH keys are generated by the server and stored encrypted.",
5
+ "main": "dist/src/index.js",
6
+ "scripts": {
7
+ "test": "node --test \"dist/test/*.test.js\"",
8
+ "build:backend": "tsc",
9
+ "build:gui": "cd gui && npm install && npm run build",
10
+ "build": "npm run build:backend && npm run build:gui",
11
+ "start": "node dist/src/index.js",
12
+ "prepublishOnly": "npm run build",
13
+ "prebuild": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""
14
+ },
15
+ "keywords": [
16
+ "mcp",
17
+ "model-context-protocol",
18
+ "ssh",
19
+ "human-in-the-loop",
20
+ "devops",
21
+ "agent"
22
+ ],
23
+ "type": "module",
24
+ "author": "Imena",
25
+ "license": "ISC",
26
+ "bin": {
27
+ "mcp-ssh-gate": "dist/src/index.js"
28
+ },
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "files": [
33
+ "dist/src",
34
+ "dist/shared",
35
+ "gui/dist",
36
+ "README.md"
37
+ ],
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/Matthieu-Pesnot-Pin/mcp-ssh-gate.git"
41
+ },
42
+ "dependencies": {
43
+ "@hono/node-server": "^2.1.6",
44
+ "@imenam/mcp-gui-interface": "^1.0.15",
45
+ "@modelcontextprotocol/sdk": "^1.32.2",
46
+ "dotenv": "^18.0.10",
47
+ "hono": "^4.13.17",
48
+ "ssh2": "^1.17.0",
49
+ "zod": "^4.6.7"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^26.6.6",
53
+ "@types/ssh2": "^1.15.6",
54
+ "typescript": "^7.0.2"
55
+ },
56
+ "homepage": "https://github.com/Matthieu-Pesnot-Pin/mcp-ssh-gate#readme",
57
+ "bugs": {
58
+ "url": "https://github.com/Matthieu-Pesnot-Pin/mcp-ssh-gate/issues"
59
+ }
60
+ }