You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**LocalAI configuration ( to add to the model config):**
398
+
```yaml
399
+
mcp:
400
+
stdio: |
401
+
{
402
+
"mcpServers": {
403
+
"ssh": {
404
+
"command": "docker",
405
+
"env": {
406
+
"SSH_HOST": "example.com",
407
+
"SSH_USER": "username",
408
+
"SSH_PASSWORD": "password",
409
+
"SSH_SHELL_CMD": "bash -c"
410
+
},
411
+
"args": [
412
+
"run", "-i", "--rm",
413
+
"ghcr.io/mudler/mcps/ssh:master"
414
+
]
415
+
}
416
+
}
417
+
}
418
+
```
419
+
325
420
### 🔧 Script Runner Server
326
421
327
422
A flexible script and program execution server that allows AI models to run pre-defined scripts and programs as tools. Scripts can be defined inline or via file paths, and programs can be executed directly.
@@ -440,6 +535,7 @@ make MCP_SERVER=duckduckgo build
440
535
make MCP_SERVER=weather build
441
536
make MCP_SERVER=memory build
442
537
make MCP_SERVER=shell build
538
+
make MCP_SERVER=ssh build
443
539
make MCP_SERVER=scripts build
444
540
445
541
# Run tests and checks
@@ -502,6 +598,9 @@ Docker images are automatically built and pushed to GitHub Container Registry:
502
598
- `ghcr.io/mudler/mcps/shell:latest`- Latest Shell server
Description: "Execute a shell script and return the output, exit code, and any errors. The shell command can be configured via SHELL_CMD environment variable (default: 'sh')",
0 commit comments