tunnel-manager 0.0.3__tar.gz → 0.0.5__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.

Potentially problematic release.


This version of tunnel-manager might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tunnel-manager
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Summary: Create SSH Tunnels to your remote hosts and host as an MCP Server for Agentic AI!
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -38,7 +38,7 @@ Dynamic: license-file
38
38
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/tunnel-manager)
39
39
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/tunnel-manager)
40
40
 
41
- *Version: 0.0.3*
41
+ *Version: 0.0.5*
42
42
 
43
43
  This project provides a Python-based `Tunnel` class for secure SSH connections and file transfers,
44
44
  integrated with a FastMCP server (`tunnel_mcp.py`) to expose these capabilities as tools for AI-driven workflows.
@@ -20,7 +20,7 @@
20
20
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/tunnel-manager)
21
21
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/tunnel-manager)
22
22
 
23
- *Version: 0.0.3*
23
+ *Version: 0.0.5*
24
24
 
25
25
  This project provides a Python-based `Tunnel` class for secure SSH connections and file transfers,
26
26
  integrated with a FastMCP server (`tunnel_mcp.py`) to expose these capabilities as tools for AI-driven workflows.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "tunnel-manager"
7
- version = "0.0.3"
7
+ version = "0.0.5"
8
8
  description = "Create SSH Tunnels to your remote hosts and host as an MCP Server for Agentic AI!"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Audel Rouhi", email = "knucklessg1@gmail.com" }]
@@ -277,19 +277,22 @@ def tunnel_manager_mcp():
277
277
  parser.add_argument(
278
278
  "-t",
279
279
  "--transport",
280
- choices=["stdio", "http"],
281
280
  default="stdio",
282
- help="Transport method for the MCP server (stdio or http).",
281
+ choices=["stdio", "http", "sse"],
282
+ help="Transport method: 'stdio', 'http', or 'sse' [legacy] (default: stdio)",
283
283
  )
284
284
  parser.add_argument(
285
- "--host", default="0.0.0.0", help="Host address for HTTP transport."
285
+ "-s",
286
+ "--host",
287
+ default="0.0.0.0",
288
+ help="Host address for HTTP transport (default: 0.0.0.0)",
286
289
  )
287
290
  parser.add_argument(
288
291
  "-p",
289
292
  "--port",
290
293
  type=int,
291
294
  default=8000,
292
- help="Port for HTTP transport (0-65535).",
295
+ help="Port number for HTTP transport (default: 8000)",
293
296
  )
294
297
 
295
298
  args = parser.parse_args()
@@ -298,16 +301,14 @@ def tunnel_manager_mcp():
298
301
  print(f"Error: Port {args.port} is out of valid range (0-65535).")
299
302
  sys.exit(1)
300
303
 
301
- logger = logging.getLogger("TunnelServer")
302
304
  if args.transport == "stdio":
303
- logger.info("Starting MCP server with stdio transport")
304
305
  mcp.run(transport="stdio")
305
306
  elif args.transport == "http":
306
- logger.info(
307
- f"Starting MCP server with HTTP transport on {args.host}:{args.port}"
308
- )
309
307
  mcp.run(transport="http", host=args.host, port=args.port)
308
+ elif args.transport == "sse":
309
+ mcp.run(transport="sse", host=args.host, port=args.port)
310
310
  else:
311
+ logger = logging.getLogger("TunnelServer")
311
312
  logger.error("Transport not supported")
312
313
  sys.exit(1)
313
314
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tunnel-manager
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Summary: Create SSH Tunnels to your remote hosts and host as an MCP Server for Agentic AI!
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -38,7 +38,7 @@ Dynamic: license-file
38
38
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/tunnel-manager)
39
39
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/tunnel-manager)
40
40
 
41
- *Version: 0.0.3*
41
+ *Version: 0.0.5*
42
42
 
43
43
  This project provides a Python-based `Tunnel` class for secure SSH connections and file transfers,
44
44
  integrated with a FastMCP server (`tunnel_mcp.py`) to expose these capabilities as tools for AI-driven workflows.
File without changes
File without changes