What is mcpsshclient?
mcpsshclient is an MCP server SSH client that features a configurable agentic security agent designed to detect and prevent unsafe commands from executing through your SSH connection.
How to use mcpsshclient?
To use mcpsshclient, follow these steps:
- Download and run Ollama by executing
ollama serve
. - Pull the Llama2 model with
ollama pull llama2
. - Run the model using
ollama run llama2
. - Clone the repository with
git clone https://github.com/jonnadul/mcpsshclient.git
and build it usingnpm run build
. - Configure the security agent in
secagentconfig.json
by setting"ENABLE_SECAGENT": true
and defining the"SECURITY_POLICY"
.
Key features of mcpsshclient?
- Configurable agentic security agent to enhance SSH security.
- Ability to detect and prevent unsafe commands.
- Integration with MCP servers for enhanced functionality.
Use cases of mcpsshclient?
- Secure SSH connections for remote server management.
- Preventing unauthorized command execution in sensitive environments.
- Enhancing security protocols in cloud-based applications.
FAQ from mcpsshclient?
- Is mcpsshclient free to use?
Yes! mcpsshclient is open-source and free to use under the MIT license.
- What programming language is mcpsshclient written in?
mcpsshclient is developed using TypeScript.
- How can I contribute to mcpsshclient?
You can contribute by submitting issues or pull requests on the GitHub repository.
mcpsshclient
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.
Prerequisite
To enable the agentic capabilities.
- Download https://ollama.com/.
- Run
ollama serve
- Run
ollama pull llama2
- Run
ollama run llama2
Setup Instructions
- Run
git clone https://github.com/jonnadul/mcpsshclient.git
- Run
npm install
- Run
npm run build
To enable the security agent, set "ENABLE_SECAGENT": true
and "SECURITY_POLICY"
in secagentconfig.json
Configuration
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: