container-manager-mcp 1.1.2__tar.gz → 1.1.4__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.1.2/container_manager_mcp.egg-info → container_manager_mcp-1.1.4}/PKG-INFO +2 -2
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/README.md +1 -1
- container_manager_mcp-1.1.4/container_manager_mcp/__init__.py +31 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp/container_manager_mcp.py +6 -2
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4/container_manager_mcp.egg-info}/PKG-INFO +2 -2
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/pyproject.toml +1 -1
- container_manager_mcp-1.1.2/container_manager_mcp/__init__.py +0 -26
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/LICENSE +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/MANIFEST.in +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp/__main__.py +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp/container_manager.py +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp.egg-info/SOURCES.txt +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp.egg-info/dependency_links.txt +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp.egg-info/entry_points.txt +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp.egg-info/requires.txt +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/container_manager_mcp.egg-info/top_level.txt +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/requirements.txt +0 -0
- {container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/setup.cfg +0 -0
{container_manager_mcp-1.1.2/container_manager_mcp.egg-info → container_manager_mcp-1.1.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: container-manager-mcp
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
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.1.
|
|
51
|
+
*Version: 1.1.4*
|
|
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.1.
|
|
23
|
+
*Version: 1.1.4*
|
|
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
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# coding: utf-8
|
|
3
|
+
|
|
4
|
+
import importlib
|
|
5
|
+
import inspect
|
|
6
|
+
|
|
7
|
+
# List of modules to import from
|
|
8
|
+
MODULES = [
|
|
9
|
+
"container_manager_mcp.container_manager",
|
|
10
|
+
"container_manager_mcp.container_manager_mcp",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
# Initialize __all__ to expose all public classes and functions
|
|
14
|
+
__all__ = []
|
|
15
|
+
|
|
16
|
+
# Dynamically import all classes and functions from the specified modules
|
|
17
|
+
for module_name in MODULES:
|
|
18
|
+
module = importlib.import_module(module_name)
|
|
19
|
+
for name, obj in inspect.getmembers(module):
|
|
20
|
+
# Include only classes and functions, excluding private (starting with '_')
|
|
21
|
+
if (inspect.isclass(obj) or inspect.isfunction(obj)) and not name.startswith(
|
|
22
|
+
"_"
|
|
23
|
+
):
|
|
24
|
+
globals()[name] = obj
|
|
25
|
+
__all__.append(name)
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
container-manager
|
|
29
|
+
|
|
30
|
+
Manage your containers using docker, podman, compose, or docker swarm!
|
|
31
|
+
"""
|
|
@@ -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"}
|
{container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4/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.1.
|
|
3
|
+
Version: 1.1.4
|
|
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.1.
|
|
51
|
+
*Version: 1.1.4*
|
|
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.1.
|
|
7
|
+
version = "1.1.4"
|
|
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" }]
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
|
-
# coding: utf-8
|
|
3
|
-
|
|
4
|
-
from container_manager_mcp.container_manager import (
|
|
5
|
-
container_manager,
|
|
6
|
-
create_manager,
|
|
7
|
-
ContainerManagerBase,
|
|
8
|
-
DockerManager,
|
|
9
|
-
PodmanManager,
|
|
10
|
-
)
|
|
11
|
-
from container_manager_mcp.container_manager_mcp import container_manager_mcp
|
|
12
|
-
|
|
13
|
-
"""
|
|
14
|
-
container-manager
|
|
15
|
-
|
|
16
|
-
Manage your containers using docker, podman, compose, or docker swarm!
|
|
17
|
-
"""
|
|
18
|
-
|
|
19
|
-
__all__ = [
|
|
20
|
-
"container_manager_mcp",
|
|
21
|
-
"create_manager",
|
|
22
|
-
"container_manager",
|
|
23
|
-
"ContainerManagerBase",
|
|
24
|
-
"DockerManager",
|
|
25
|
-
"PodmanManager",
|
|
26
|
-
]
|
|
File without changes
|
|
File without changes
|
{container_manager_mcp-1.1.2 → container_manager_mcp-1.1.4}/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
|