A Better Mcp ssh Server

Created By
zhangyc3106 months ago
A Better Mcp ssh Server. support host in ~/.ssh/config ,Don't need add every host to mcp config file. Give host to AI such as: use ssh mcp connect my_ssh_server, check disk space.
Overview

what is A Better Mcp ssh Server?

A Better Mcp ssh Server is a Go-based Model Context Protocol (MCP) server designed to facilitate SSH session management for AI agents, allowing them to interact with remote servers via SSH.

how to use A Better Mcp ssh Server?

To use the server, ensure you have Go 1.25.0 or later and SSH installed. Build the project using go build -o mcpssh, and configure your ~/.gemini/settings.json to include the server command.

key features of A Better Mcp ssh Server?

  • Supports hosts in ~/.ssh/config, eliminating the need to add every host to the MCP config file.
  • Allows AI to connect to SSH servers and execute commands interactively.
  • Provides session management with tools to start, interact, and close sessions.

use cases of A Better Mcp ssh Server?

  1. Automating server management tasks via AI.
  2. Facilitating remote command execution for AI agents.
  3. Managing multiple SSH sessions efficiently.

FAQ from A Better Mcp ssh Server?

  • Can I use this server with any SSH host?

Yes, as long as the host is configured in your ~/.ssh/config file.

  • What programming language is this server built with?

The server is built using Go.

  • Is there any specific OS requirement?

It is designed to work on systems with Go and SSH installed, tested on macOS.

Server Config

{
  "mcpServers": {
    "ssh": {
      "command": "/your_path_to_mcpssh/mcpssh",
      "args": []
    }
  }
}
Project Info
Created At
6 months ago
Updated At
6 months ago
Author Name
zhangyc310
Star
-
Language
-
License
-
Tags

Recommend Servers

View All
Crevio

a day ago
Gpt Scrambler

2 days ago
Tavily Mcp
@tavily-ai

JavaScript
a year ago