mcpsshclient

by jonnadul

2 364 downloads Not rated yet MIT
GitHub

About

mcpsshclient is an MCP server that provides an SSH client with a configurable agentic security agent capable of detecting and preventing "unsafe" commands from executing through an SSH connection. It is designed for developers who need secure remote command execution with…

Details

License
MIT

Explore

- Configurable agentic security agent for command detection
- Prevents "unsafe" commands from executing via SSH
- Integrates with Claude Desktop, Cursor AI, and VSCode Insider
- Local AI-based safety enforcement using Ollama and llama2
- JSON-based security policy configuration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcpsshclient
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

In your MCP Client make the corresponding change

{
"mcpServers": {
"sshclient": {
"command": "node",
"args": [
"C:\\[full-path-to-mcpsshclient]\\build\\index.js"
]
}
}
}

So far tested on the following:
- Claude Desktop: ``claude_desktop_config.json

- Cursor AI: Command Panel -> Cursor Settings -> MCP Server
- VSCode Insider

Have (responsible) fun! :rocket:

To enable the agentic capabilities.
1. Download https://ollama.com/.
2. Run

ollama serve
3. Run 
ollama pull llama2
4. Run 
ollama run llama2

1. Run
git clone https://github.com/jonnadul/mcpsshclient.git
2. Run 
npm install
3. Run 
npm run build

To enable the security agent, set
"ENABLE_SECAGENT": true
` and `"SECURITY_POLICY"` in `secagentconfig.json``

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcpsshclient": {
            "sshclient": {
                "command": "node",
                "args": [
                    "C:\\[full-path-to-mcpsshclient]\\build\\index.js"
                ]
            }
        }
    }
}

McpServers

{
    "sshclient": {
        "command": "node",
        "args": [
            "C:\\[full-path-to-mcpsshclient]\\build\\index.js"
        ]
    }
}
An MCP server SSHClient with a configurable :fireworks:agentic:fireworks: security agent that can detect and prevent "unsafe" commands from executing through your SSH connection.
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.