SSH MCP Server
by KinoThe-Kafkaesque
This is a Model Context Protocol (MCP) server implementation that provides SSH capabilities. It allows for secure remote access and execution through the MCP protocol.
Last updated: N/A
What is SSH MCP Server?
The SSH MCP Server is an implementation of a Model Context Protocol (MCP) server that enables secure remote access and command execution via SSH. It integrates with a SQLite database for credential storage and is built with TypeScript for type safety and a better development experience.
How to use SSH MCP Server?
First, clone the repository and install the dependencies using npm or yarn. Then, build the project using npm run build
. Configure SSH credentials using the provided tools (add_credential, remove_credential, list_credentials). Finally, start the server using npm start
.
Key features of SSH MCP Server
SSH server implementation using MCP protocol
SQLite database integration for data persistence
TypeScript implementation for type safety
Tools for managing SSH credentials (add, remove, list)
Secure remote access
Command execution
Use cases of SSH MCP Server
Securely accessing remote servers
Automating tasks on remote machines
Managing SSH credentials in a structured way
Integrating SSH functionality into MCP-based applications
FAQ from SSH MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol used for communication and data exchange.
What database does the server use?
What database does the server use?
The server uses SQLite for storing SSH credentials.
What language is the server written in?
What language is the server written in?
The server is written in TypeScript.
How do I add SSH credentials?
How do I add SSH credentials?
Use the add_credential
tool with the required parameters (name, host, username, privateKeyPath).
How do I execute a command over SSH?
How do I execute a command over SSH?
Use the ssh_exec
tool with the required parameters (host, command, username, privateKeyPath).