container-manager-mcp 1.0.4__tar.gz → 1.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 container-manager-mcp might be problematic. Click here for more details.
- {container_manager_mcp-1.0.4/container_manager_mcp.egg-info → container_manager_mcp-1.0.5}/PKG-INFO +2 -2
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/README.md +1 -1
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp/container_manager.py +11 -19
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5/container_manager_mcp.egg-info}/PKG-INFO +2 -2
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/pyproject.toml +1 -1
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/LICENSE +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/MANIFEST.in +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp/__init__.py +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp/__main__.py +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp/container_manager_mcp.py +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp.egg-info/SOURCES.txt +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp.egg-info/dependency_links.txt +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp.egg-info/entry_points.txt +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp.egg-info/requires.txt +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp.egg-info/top_level.txt +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/requirements.txt +0 -0
- {container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/setup.cfg +0 -0
{container_manager_mcp-1.0.4/container_manager_mcp.egg-info → container_manager_mcp-1.0.5}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: container-manager-mcp
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
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
|

|
|
49
49
|

|
|
50
50
|
|
|
51
|
-
*Version: 1.0.
|
|
51
|
+
*Version: 1.0.5*
|
|
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
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|

|
|
21
21
|

|
|
22
22
|
|
|
23
|
-
*Version: 1.0.
|
|
23
|
+
*Version: 1.0.5*
|
|
24
24
|
|
|
25
25
|
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.
|
|
26
26
|
|
|
@@ -1065,10 +1065,12 @@ class PodmanManager(ContainerManagerBase):
|
|
|
1065
1065
|
is_wsl = self._is_wsl()
|
|
1066
1066
|
socket_candidates = []
|
|
1067
1067
|
if system == "Windows" and not is_wsl:
|
|
1068
|
-
if self._is_podman_machine_running():
|
|
1069
|
-
|
|
1068
|
+
if not self._is_podman_machine_running():
|
|
1069
|
+
raise RuntimeError("Podman Machine is not running on Windows system")
|
|
1070
1070
|
socket_candidates.extend(
|
|
1071
1071
|
[
|
|
1072
|
+
"unix:///run/podman/podman.sock",
|
|
1073
|
+
"npipe:////./pipe/docker_engine",
|
|
1072
1074
|
"unix:///mnt/wsl/podman-sockets/podman-machine-default/podman-user.sock",
|
|
1073
1075
|
"unix:///mnt/wsl/podman-sockets/podman-machine-default/podman-root.sock",
|
|
1074
1076
|
]
|
|
@@ -1079,14 +1081,14 @@ class PodmanManager(ContainerManagerBase):
|
|
|
1079
1081
|
[
|
|
1080
1082
|
f"unix:///run/user/{uid}/podman/podman.sock",
|
|
1081
1083
|
"unix:///run/podman/podman.sock",
|
|
1084
|
+
"unix:///mnt/wsl/podman-sockets/podman-machine-default/podman-user.sock",
|
|
1085
|
+
"unix:///mnt/wsl/podman-sockets/podman-machine-default/podman-root.sock",
|
|
1082
1086
|
]
|
|
1083
1087
|
)
|
|
1084
1088
|
for url in socket_candidates:
|
|
1085
|
-
if
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
self.logger.debug(f"Socket {socket_path} does not exist")
|
|
1089
|
-
continue
|
|
1089
|
+
if not os.path.exists(url):
|
|
1090
|
+
self.logger.debug(f"Socket {url} does not exist")
|
|
1091
|
+
continue
|
|
1090
1092
|
client = self._try_connect(url)
|
|
1091
1093
|
if client:
|
|
1092
1094
|
return url
|
|
@@ -1712,19 +1714,9 @@ def create_manager(
|
|
|
1712
1714
|
manager_type = os.environ.get("CONTAINER_MANAGER_TYPE", None)
|
|
1713
1715
|
if manager_type is None:
|
|
1714
1716
|
if is_app_installed("podman"):
|
|
1715
|
-
|
|
1716
|
-
test_client = PodmanClient()
|
|
1717
|
-
test_client.close()
|
|
1718
|
-
manager_type = "podman"
|
|
1719
|
-
except Exception:
|
|
1720
|
-
pass
|
|
1717
|
+
manager_type = "podman"
|
|
1721
1718
|
if is_app_installed("docker"):
|
|
1722
|
-
|
|
1723
|
-
test_client = docker.from_env()
|
|
1724
|
-
test_client.close()
|
|
1725
|
-
manager_type = "docker"
|
|
1726
|
-
except Exception:
|
|
1727
|
-
pass
|
|
1719
|
+
manager_type = "docker"
|
|
1728
1720
|
if manager_type is None:
|
|
1729
1721
|
raise ValueError(
|
|
1730
1722
|
"No supported container manager detected. Set CONTAINER_MANAGER_TYPE or install Docker/Podman."
|
{container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5/container_manager_mcp.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: container-manager-mcp
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
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
|

|
|
49
49
|

|
|
50
50
|
|
|
51
|
-
*Version: 1.0.
|
|
51
|
+
*Version: 1.0.5*
|
|
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
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "container-manager-mcp"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.5"
|
|
8
8
|
description = "Container Manager manage Docker, Docker Swarm, and Podman containers as an MCP Server"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "Audel Rouhi", email = "knucklessg1@gmail.com" }]
|
|
File without changes
|
|
File without changes
|
{container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp/__init__.py
RENAMED
|
File without changes
|
{container_manager_mcp-1.0.4 → container_manager_mcp-1.0.5}/container_manager_mcp/__main__.py
RENAMED
|
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
|