mcp-server-ssh-list
MCP server that exposes SSH server list from a TOML config file
Documentation
mcp-server-ssh-list
A minimal MCP (Model Context Protocol) server that exposes SSH server definitions from a TOML config file. Built in Rust, lets AI assistants look up SSH connection details by name or alias.
Communicates via stdio using JSON-RPC 2.0, like all MCP servers.
Tools
| Tool | Description |
|---|---|
| `list_servers` | List all SSH servers with their aliases, host, user, port, and description |
| `lookup_server` | Look up a server by name or alias (case-insensitive), returns SSH connection details |
list_servers
Returns all configured SSH servers. No parameters.
lookup_server
Find a server by name or alias.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Server name or alias to look up (case-insensitive) |
Matching behavior:
- Name lookup uses substring matching (e.g., "prod" matches "production-web")
- Alias lookup uses exact matching (e.g., "web" only matches if "web" is a defined alias)
Prerequisites
- Rust (edition 2024)
Setup
Create the config file:
mkdir -p ~/.config/mcp-server-ssh-listCreate `~/.config/mcp-server-ssh-list/ssh-list.toml`:
[[servers]]
name = "Production Web"
aliases = ["prod", "web"]
host = "192.168.1.100"
user = "deploy"
port = 22
description = "Main production web server"
[[servers]]
name = "Staging"
aliases = ["stage"]
host = "192.168.1.200"
description = "Staging environment"Fields `user` (default: `root`) and `port` (default: `22`) are optional. A sample config is included in the repo root as `ssh-list.toml`.
Build
cargo build --releaseThis produces `target/release/mcp-server-ssh-list`.
For development:
cargo build # debug build
cargo run # run in dev mode
RUST_LOG=debug cargo run # run with debug loggingMCP Configuration
Add to your Claude Desktop config (`~/.config/Claude/claude_desktop_config.json`):
{
"mcpServers": {
"ssh-list": {
"command": "/path/to/mcp-server-ssh-list"
}
}
}Project Structure
src/
main.rs - entry point, reads config, starts stdio transport
config.rs - Config and SshServer structs, TOML deserialization, matching logic
server.rs - MCP tool definitions (list_servers, lookup_server)License
MIT
Frequently asked questions
What is mcp-server-ssh-list?
mcp-server-ssh-list is MCP server that exposes SSH server list from a TOML config file
How do I install mcp-server-ssh-list?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-ssh-list open source?
Yes — it is hosted on GitHub at https://github.com/codeChap/mcp-server-ssh-list.
Related MCP tools
an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Search infrastructure for AI
YC (S26) | Open Computer History | Record your screen continuously locally and provide context to your agents (Claude, Codex, Openclaw, Hermes, Runner...)
The fastest and the most accurate file search SDK for AI agents, Neovim, Rust, C, Python, Bun and NodeJS
Semantic version control => entity-level diffs, blame, and impact analysis on top of git. 28 languages via tree-sitter. Built for coding agents.
Fast, local-first web content extraction for LLMs. Scrape, crawl, extract structured data — all from Rust. CLI, REST API, and MCP server.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP