mcp-win-stdio-ssh 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/PKG-INFO +2 -2
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/pyproject.toml +5 -2
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/__init__.py +1 -1
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/connection.py +4 -4
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/.gitignore +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/README.md +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/__main__.py +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/cli.py +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/guide.py +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/pty_session.py +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/server.py +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/sftp_ops.py +0 -0
- {mcp_win_stdio_ssh-0.3.0 → mcp_win_stdio_ssh-0.3.1}/src/mcp_win_stdio/ssh/tunnels.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: mcp-win-stdio-ssh
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Advanced Multi-SSH Connection & Remote Management Model Context Protocol (MCP) server for Windows & Claude: 25+ tools for multi-host pooling, ~/.ssh/config auto-discovery, PTY interactive shells, SFTP file management, systemd/docker services, background jobs, and local port forwarding tunnels.
|
|
5
5
|
Author: Mohan Kumar Indala
|
|
6
6
|
License-Expression: MIT
|
|
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
19
19
|
Classifier: Topic :: System :: Systems Administration
|
|
20
20
|
Requires-Python: >=3.10
|
|
21
21
|
Requires-Dist: cryptography>=3.3.0
|
|
22
|
-
Requires-Dist: mcp-win-stdio>=0.3.
|
|
22
|
+
Requires-Dist: mcp-win-stdio>=0.3.1
|
|
23
23
|
Requires-Dist: mcp>=1.2.0
|
|
24
24
|
Requires-Dist: paramiko>=3.0.0
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mcp-win-stdio-ssh"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.1"
|
|
8
8
|
description = "Advanced Multi-SSH Connection & Remote Management Model Context Protocol (MCP) server for Windows & Claude: 25+ tools for multi-host pooling, ~/.ssh/config auto-discovery, PTY interactive shells, SFTP file management, systemd/docker services, background jobs, and local port forwarding tunnels."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
|
|
@@ -30,7 +30,7 @@ classifiers = [
|
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
dependencies = [
|
|
33
|
-
"mcp-win-stdio>=0.3.
|
|
33
|
+
"mcp-win-stdio>=0.3.1",
|
|
34
34
|
"mcp>=1.2.0",
|
|
35
35
|
"paramiko>=3.0.0",
|
|
36
36
|
"cryptography>=3.3.0",
|
|
@@ -42,3 +42,6 @@ mws-ssh = "mcp_win_stdio.ssh.cli:main"
|
|
|
42
42
|
|
|
43
43
|
[tool.hatch.build.targets.wheel]
|
|
44
44
|
packages = ["src/mcp_win_stdio"]
|
|
45
|
+
|
|
46
|
+
[tool.uv.sources]
|
|
47
|
+
mcp-win-stdio = { workspace = true }
|
|
@@ -237,8 +237,8 @@ def create_ssh_client(
|
|
|
237
237
|
key_filename = None
|
|
238
238
|
if key_path and Path(key_path).expanduser().exists():
|
|
239
239
|
key_filename = str(Path(key_path).expanduser())
|
|
240
|
-
|
|
241
|
-
# Check default keys
|
|
240
|
+
elif not pwd:
|
|
241
|
+
# Check default keys ONLY if no explicit password was configured
|
|
242
242
|
default_keys = _find_default_keys()
|
|
243
243
|
if default_keys:
|
|
244
244
|
key_filename = default_keys[0]
|
|
@@ -260,8 +260,8 @@ def create_ssh_client(
|
|
|
260
260
|
"port": port,
|
|
261
261
|
"username": username,
|
|
262
262
|
"timeout": timeout,
|
|
263
|
-
"allow_agent": True,
|
|
264
|
-
"look_for_keys": True,
|
|
263
|
+
"allow_agent": False if pwd else True,
|
|
264
|
+
"look_for_keys": False if pwd else True,
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
if sock:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|