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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: mcp-win-stdio-ssh
3
- Version: 0.3.0
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.0
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.0"
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.0",
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 }
@@ -2,4 +2,4 @@
2
2
  Advanced Multi-SSH Connection & Remote Management MCP Server for mcp-win-stdio.
3
3
  """
4
4
 
5
- __version__ = "0.3.0"
5
+ __version__ = "0.3.1"
@@ -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
- else:
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: