mcpsshclient logo

mcpsshclient

by jonnadul

An MCP server SSHClient with a configurable security agent. It can detect and prevent "unsafe" commands from executing through your SSH connection.

View on GitHub

Last updated: N/A

What is mcpsshclient?

mcpsshclient is an MCP server SSHClient that incorporates a configurable security agent to enhance the safety of SSH connections.

How to use mcpsshclient?

  1. Clone the repository: git clone https://github.com/jonnadul/mcpsshclient.git. 2. Install dependencies: npm install. 3. Build the project: npm run build. 4. Configure the MCP client with the provided configuration. 5. To enable the security agent, set "ENABLE_SECAGENT": true and "SECURITY_POLICY" in secagentconfig.json. Ensure Ollama is running and llama2 is pulled if using the agentic capabilities.

Key features of mcpsshclient

  • Configurable security agent

  • Detection of unsafe commands

  • Prevention of unsafe command execution

  • Integration with MCP servers

  • Agentic capabilities using Ollama and llama2

Use cases of mcpsshclient

  • Securing SSH connections in automated environments

  • Preventing accidental or malicious command execution

  • Integrating with Claude Desktop, Cursor AI, and VSCode Insider

  • Enhancing the security of MCP clients

FAQ from mcpsshclient

What is the purpose of the security agent?

The security agent detects and prevents unsafe commands from being executed through your SSH connection.

How do I enable the security agent?

Set "ENABLE_SECAGENT": true and "SECURITY_POLICY" in secagentconfig.json.

What are the prerequisites for using the agentic capabilities?

You need to download and run Ollama, pull the llama2 model, and run the llama2 model.

Which platforms are supported?

So far tested on Claude Desktop, Cursor AI, and VSCode Insider.

Where can I find the MCP Client configuration?

In your MCP Client make the corresponding change as described in the README.