Skip to content

Commit d0b0bfa

Browse files
Add m2m-ssh-gateway.json (#128)
* Add m2m-ssh-gateway.json * Update mcp-registry/servers/m2m-ssh-gateway.json * Update mcp-registry/servers/m2m-ssh-gateway.json --------- Co-authored-by: Jonathan Wang <[email protected]>
1 parent b79fc66 commit d0b0bfa

File tree

1 file changed

+130
-0
lines changed

1 file changed

+130
-0
lines changed
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"name": "m2m-ssh-gateway",
3+
"display_name": "MCP SSH Gateway Client",
4+
"description": "A Model Context Protocol Server (Remote SSH client) that connects to remote MCP servers over SSH, proxying tools, prompts, and resources.",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/Machine-To-Machine/m2m-mcp-server-ssh-client.git"
8+
},
9+
"homepage": "https://github.com/Machine-To-Machine/m2m-mcp-server-ssh-client",
10+
"author": {
11+
"name": "Machine To Machine"
12+
},
13+
"license": "MIT",
14+
"categories": [
15+
"Dev Tools",
16+
"Productivity",
17+
"System Tools"
18+
],
19+
"tags": [
20+
"mcp",
21+
"ssh",
22+
"gateway",
23+
"proxy",
24+
"remote",
25+
"client"
26+
],
27+
"installations": {
28+
"uvx": {
29+
"type": "uvx",
30+
"command": "uvx",
31+
"args": [
32+
"m2m-mcp-server-ssh-client"
33+
],
34+
"description": "Run the MCP SSH Gateway client globally using uvx (requires uv installed)",
35+
"recommended": true
36+
}
37+
},
38+
"arguments": {
39+
"host": {
40+
"description": "Remote SSH server host.",
41+
"required": false,
42+
"example": "mcp-beta.machinetomachine.ai"
43+
},
44+
"port": {
45+
"description": "Remote SSH server port.",
46+
"required": false,
47+
"example": "8022"
48+
},
49+
"username": {
50+
"description": "SSH username.",
51+
"required": false,
52+
"example": "mcp"
53+
},
54+
"client_key": {
55+
"description": "Path to the client private SSH key file.",
56+
"required": false,
57+
"example": "~/.ssh/m2m_mcp_server_ssh_client"
58+
},
59+
"known_hosts": {
60+
"description": "Path to the known hosts file.",
61+
"required": false,
62+
"example": "~/.ssh/known_hosts"
63+
},
64+
"passphrase": {
65+
"description": "Passphrase for the private key, if encrypted.",
66+
"required": false,
67+
"example": "your-passphrase"
68+
},
69+
"disable_host_key_checking": {
70+
"description": "Skip server SSH key signature verification (use with caution).",
71+
"required": false,
72+
"example": "true"
73+
},
74+
"use_key_server": {
75+
"description": "Use the key server for automatic key management.",
76+
"required": false,
77+
"example": "true"
78+
},
79+
"log_level": {
80+
"description": "Set logging level (e.g., DEBUG, INFO, WARNING, ERROR).",
81+
"required": false,
82+
"example": "DEBUG"
83+
}
84+
},
85+
"is_official": false,
86+
"examples": [
87+
{
88+
"title": "Connect to M2M Demo Server",
89+
"description": "Configure the gateway to connect to the public Machine-To-Machine demo SSH server using the key server for authentication.",
90+
"prompt": "Configure m2m-ssh-gateway with host=mcp-beta.machinetomachine.ai, port=8022, use_key_server=true"
91+
},
92+
{
93+
"title": "Connect to Custom Server with Key",
94+
"description": "Configure the gateway to connect to a custom remote server using a specific SSH key and known hosts file.",
95+
"prompt": "Configure m2m-ssh-gateway with host=your-server.example.com, client_key=~/.ssh/your_key, known_hosts=~/.ssh/known_hosts"
96+
}
97+
],
98+
"tools": [
99+
{
100+
"name": "proxied_remote_mcp_features",
101+
"description": "Placeholder representing the tools, prompts, and resources proxied from the remote MCP server connected via SSH. The actual features available depend on the remote server's configuration. Refer to https://github.com/Machine-To-Machine/m2m-mcp-server-ssh-server on how to configure your own remote SSH server and use the server arguments to configure the corresponding SSH connection.",
102+
"inputSchema": {
103+
"type": "object",
104+
"properties": {
105+
"host": {
106+
"type": "string",
107+
"description": "Hostname or IP address of the remote SSH server."
108+
},
109+
"port": {
110+
"type": "integer",
111+
"description": "Port number for the SSH connection (default: 8022)."
112+
},
113+
"username": {
114+
"type": "string",
115+
"description": "Username for SSH authentication (default: 'mcp')."
116+
},
117+
"client_key": {
118+
"type": "string",
119+
"description": "Path to the client's private SSH key."
120+
},
121+
"use_key_server": {
122+
"type": "boolean",
123+
"description": "Whether to use the key server for authentication."
124+
}
125+
},
126+
"required": []
127+
}
128+
}
129+
]
130+
}

0 commit comments

Comments
 (0)