ssh-mcp-server
6
The SSH MCP Server is an implementation of the Model Context Protocol that provides SSH capabilities for secure remote access. It integrates SQLite for data persistence and utilizes TypeScript for better development experience, offering several tools to manage SSH credentials.
SSH MCP Server
A Model Context Protocol (MCP) server offering SSH capabilities, enabling secure remote access and execution via the MCP protocol.
Features
- SSH server implementation using MCP protocol
- SQLite database for data persistence
- TypeScript implementation for improved development
Prerequisites
- Node.js (v16+ recommended)
- npm or yarn
- TypeScript knowledge
Usage
- Uses SQLite ('ssh.db') for SSH credential storage, created automatically on start.
- Tools include
ssh_exec
,add_credential
,list_credentials
,remove_credential
. See documentation for input parameters.
Project Structure
src/
: Source codebuild/
: Compiled outputnode_modules/
: Dependencies
Dependencies
@modelcontextprotocol/sdk
sqlite3
typescript
Development
- Modify
src/
, thennpm run build
andnpm start
to test.
License
ISC
Contributing
- Fork repository
- Create feature branch
- Commit and push
- Create a Pull Request