Skip to content

Commit d4232ca

Browse files
committed
Add m2m-ssh-gateway.json
1 parent a35ddbd commit d4232ca

File tree

1 file changed

+131
-0
lines changed

1 file changed

+131
-0
lines changed
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
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+
"Web Services",
18+
"System Tools"
19+
],
20+
"tags": [
21+
"mcp",
22+
"ssh",
23+
"gateway",
24+
"proxy",
25+
"remote",
26+
"client"
27+
],
28+
"installations": {
29+
"uvx": {
30+
"type": "uvx",
31+
"command": "uvx",
32+
"args": [
33+
"m2m-mcp-server-ssh-client"
34+
],
35+
"description": "Run the MCP SSH Gateway client globally using uvx (requires uv installed)",
36+
"recommended": true
37+
}
38+
},
39+
"arguments": {
40+
"host": {
41+
"description": "Remote SSH server host.",
42+
"required": false,
43+
"example": "mcp-beta.machinetomachine.ai"
44+
},
45+
"port": {
46+
"description": "Remote SSH server port.",
47+
"required": false,
48+
"example": "8022"
49+
},
50+
"username": {
51+
"description": "SSH username.",
52+
"required": false,
53+
"example": "mcp"
54+
},
55+
"client_key": {
56+
"description": "Path to the client private SSH key file.",
57+
"required": false,
58+
"example": "~/.ssh/m2m_mcp_server_ssh_client"
59+
},
60+
"known_hosts": {
61+
"description": "Path to the known hosts file.",
62+
"required": false,
63+
"example": "~/.ssh/known_hosts"
64+
},
65+
"passphrase": {
66+
"description": "Passphrase for the private key, if encrypted.",
67+
"required": false,
68+
"example": "your-passphrase"
69+
},
70+
"disable_host_key_checking": {
71+
"description": "Skip server SSH key signature verification (use with caution).",
72+
"required": false,
73+
"example": "true"
74+
},
75+
"use_key_server": {
76+
"description": "Use the key server for automatic key management.",
77+
"required": false,
78+
"example": "true"
79+
},
80+
"log_level": {
81+
"description": "Set logging level (e.g., DEBUG, INFO, WARNING, ERROR).",
82+
"required": false,
83+
"example": "DEBUG"
84+
}
85+
},
86+
"is_official": true,
87+
"examples": [
88+
{
89+
"title": "Connect to M2M Demo Server",
90+
"description": "Configure the gateway to connect to the public Machine-To-Machine demo SSH server using the key server for authentication.",
91+
"prompt": "Configure m2m-ssh-gateway with host=mcp-beta.machinetomachine.ai, port=8022, use_key_server=true"
92+
},
93+
{
94+
"title": "Connect to Custom Server with Key",
95+
"description": "Configure the gateway to connect to a custom remote server using a specific SSH key and known hosts file.",
96+
"prompt": "Configure m2m-ssh-gateway with host=your-server.example.com, client_key=~/.ssh/your_key, known_hosts=~/.ssh/known_hosts"
97+
}
98+
],
99+
"tools": [
100+
{
101+
"name": "proxied_remote_mcp_features",
102+
"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.",
103+
"inputSchema": {
104+
"type": "object",
105+
"properties": {
106+
"host": {
107+
"type": "string",
108+
"description": "Hostname or IP address of the remote SSH server."
109+
},
110+
"port": {
111+
"type": "integer",
112+
"description": "Port number for the SSH connection (default: 8022)."
113+
},
114+
"username": {
115+
"type": "string",
116+
"description": "Username for SSH authentication (default: 'mcp')."
117+
},
118+
"client_key": {
119+
"type": "string",
120+
"description": "Path to the client's private SSH key."
121+
},
122+
"use_key_server": {
123+
"type": "boolean",
124+
"description": "Whether to use the key server for authentication."
125+
}
126+
},
127+
"required": []
128+
}
129+
}
130+
]
131+
}

0 commit comments

Comments
 (0)