container-manager-mcp 1.1.2__py3-none-any.whl → 1.1.3__py3-none-any.whl

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 container-manager-mcp might be problematic. Click here for more details.

@@ -5,7 +5,7 @@ import argparse
5
5
  import os
6
6
  import sys
7
7
  import logging
8
- from typing import Optional, List, Dict
8
+ from typing import Optional, List, Dict, Union
9
9
 
10
10
  from fastmcp import FastMCP, Context
11
11
  from pydantic import Field
@@ -27,7 +27,11 @@ def setup_logging(
27
27
  mcp = FastMCP(name="ContainerManagerServer")
28
28
 
29
29
 
30
- def to_boolean(string):
30
+ def to_boolean(string: Union[str, bool] = None) -> bool:
31
+ if isinstance(string, bool):
32
+ return string
33
+ if not string:
34
+ return False
31
35
  normalized = str(string).strip().lower()
32
36
  true_values = {"t", "true", "y", "yes", "1"}
33
37
  false_values = {"f", "false", "n", "no", "0"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: container-manager-mcp
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: Container Manager manage Docker, Docker Swarm, and Podman containers as an MCP Server
5
5
  Author-email: Audel Rouhi <knucklessg1@gmail.com>
6
6
  License: MIT
@@ -48,7 +48,7 @@ Dynamic: license-file
48
48
  ![PyPI - Wheel](https://img.shields.io/pypi/wheel/container-manager-mcp)
49
49
  ![PyPI - Implementation](https://img.shields.io/pypi/implementation/container-manager-mcp)
50
50
 
51
- *Version: 1.1.2*
51
+ *Version: 1.1.3*
52
52
 
53
53
  Container Manager MCP Server provides a robust interface to manage Docker and Podman containers, networks, volumes, and Docker Swarm services through a FastMCP server, enabling programmatic and remote container management.
54
54
 
@@ -0,0 +1,10 @@
1
+ container_manager_mcp/__init__.py,sha256=2jGc7NMMlaj8-VhO0Z3KpQM50bB_fweiex-hDBfVTWo,540
2
+ container_manager_mcp/__main__.py,sha256=4bpregRyaWJBXOg9_h_F4xcHcX6bPVLL48V2EuwNGBs,168
3
+ container_manager_mcp/container_manager.py,sha256=Rtqrb4H05thq_i7z7v7M33m5rrNZ1V5rYWwV2NC8Zwo,89504
4
+ container_manager_mcp/container_manager_mcp.py,sha256=m45h93-1S2qM8TUNQYP43V5HUgV1QJeyW8b9Fj9hiLQ,55392
5
+ container_manager_mcp-1.1.3.dist-info/licenses/LICENSE,sha256=Z1xmcrPHBnGCETO_LLQJUeaSNBSnuptcDVTt4kaPUOE,1060
6
+ container_manager_mcp-1.1.3.dist-info/METADATA,sha256=WERU4n9ndS5GOt7f-0B75RDRK3aqUCqj5PhNwpYBO_w,8452
7
+ container_manager_mcp-1.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ container_manager_mcp-1.1.3.dist-info/entry_points.txt,sha256=n7fE9uXdRktmjvZwyaiQkY0Dd7tMN6AKiHav0ZQdE2I,186
9
+ container_manager_mcp-1.1.3.dist-info/top_level.txt,sha256=B7QQLOd9mBdu0lsPKqyu4T8-zUtbqKzQJbMbtAzoozU,22
10
+ container_manager_mcp-1.1.3.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- container_manager_mcp/__init__.py,sha256=2jGc7NMMlaj8-VhO0Z3KpQM50bB_fweiex-hDBfVTWo,540
2
- container_manager_mcp/__main__.py,sha256=4bpregRyaWJBXOg9_h_F4xcHcX6bPVLL48V2EuwNGBs,168
3
- container_manager_mcp/container_manager.py,sha256=Rtqrb4H05thq_i7z7v7M33m5rrNZ1V5rYWwV2NC8Zwo,89504
4
- container_manager_mcp/container_manager_mcp.py,sha256=LvjrgpqsZb3KxDrGbKtPqkgOX2bi3wwl1jKgnxz2P_k,55257
5
- container_manager_mcp-1.1.2.dist-info/licenses/LICENSE,sha256=Z1xmcrPHBnGCETO_LLQJUeaSNBSnuptcDVTt4kaPUOE,1060
6
- container_manager_mcp-1.1.2.dist-info/METADATA,sha256=Ce_an8TY_gdA-Xr5q72hZRoxHfx09dr5bDa__E5iYXE,8452
7
- container_manager_mcp-1.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- container_manager_mcp-1.1.2.dist-info/entry_points.txt,sha256=n7fE9uXdRktmjvZwyaiQkY0Dd7tMN6AKiHav0ZQdE2I,186
9
- container_manager_mcp-1.1.2.dist-info/top_level.txt,sha256=B7QQLOd9mBdu0lsPKqyu4T8-zUtbqKzQJbMbtAzoozU,22
10
- container_manager_mcp-1.1.2.dist-info/RECORD,,