container-manager-mcp 1.1.0__py3-none-any.whl → 1.1.2__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.
- container_manager_mcp/container_manager_mcp.py +26 -12
- {container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/METADATA +2 -2
- container_manager_mcp-1.1.2.dist-info/RECORD +10 -0
- container_manager_mcp-1.1.0.dist-info/RECORD +0 -10
- {container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/WHEEL +0 -0
- {container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/entry_points.txt +0 -0
- {container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/licenses/LICENSE +0 -0
- {container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1533,24 +1533,38 @@ async def compose_logs(
|
|
|
1533
1533
|
def container_manager_mcp():
|
|
1534
1534
|
parser = argparse.ArgumentParser(description="Container Manager MCP Server")
|
|
1535
1535
|
parser.add_argument(
|
|
1536
|
-
"-t",
|
|
1536
|
+
"-t",
|
|
1537
|
+
"--transport",
|
|
1538
|
+
default="stdio",
|
|
1539
|
+
choices=["stdio", "http", "sse"],
|
|
1540
|
+
help="Transport method: 'stdio', 'http', or 'sse' [legacy] (default: stdio)",
|
|
1537
1541
|
)
|
|
1538
|
-
parser.add_argument(
|
|
1539
|
-
|
|
1542
|
+
parser.add_argument(
|
|
1543
|
+
"-s",
|
|
1544
|
+
"--host",
|
|
1545
|
+
default="0.0.0.0",
|
|
1546
|
+
help="Host address for HTTP transport (default: 0.0.0.0)",
|
|
1547
|
+
)
|
|
1548
|
+
parser.add_argument(
|
|
1549
|
+
"-p",
|
|
1550
|
+
"--port",
|
|
1551
|
+
type=int,
|
|
1552
|
+
default=8000,
|
|
1553
|
+
help="Port number for HTTP transport (default: 8000)",
|
|
1554
|
+
)
|
|
1555
|
+
|
|
1540
1556
|
args = parser.parse_args()
|
|
1541
1557
|
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
port = args.port
|
|
1545
|
-
if not (0 <= port <= 65535):
|
|
1546
|
-
print(f"Error: Port {port} is out of valid range (0-65535).")
|
|
1558
|
+
if args.port < 0 or args.port > 65535:
|
|
1559
|
+
print(f"Error: Port {args.port} is out of valid range (0-65535).")
|
|
1547
1560
|
sys.exit(1)
|
|
1548
1561
|
|
|
1549
|
-
|
|
1550
|
-
if transport == "stdio":
|
|
1562
|
+
if args.transport == "stdio":
|
|
1551
1563
|
mcp.run(transport="stdio")
|
|
1552
|
-
elif transport == "http":
|
|
1553
|
-
mcp.run(transport="http", host=host, port=port)
|
|
1564
|
+
elif args.transport == "http":
|
|
1565
|
+
mcp.run(transport="http", host=args.host, port=args.port)
|
|
1566
|
+
elif args.transport == "sse":
|
|
1567
|
+
mcp.run(transport="sse", host=args.host, port=args.port)
|
|
1554
1568
|
else:
|
|
1555
1569
|
logger = logging.getLogger("ContainerManager")
|
|
1556
1570
|
logger.error("Transport not supported")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: container-manager-mcp
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
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.2*
|
|
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=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,,
|
|
@@ -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=qeyOZAv7rgOVwjHZuIxb6gBeHvoz8gG9p7dSRDXTvYA,55003
|
|
5
|
-
container_manager_mcp-1.1.0.dist-info/licenses/LICENSE,sha256=Z1xmcrPHBnGCETO_LLQJUeaSNBSnuptcDVTt4kaPUOE,1060
|
|
6
|
-
container_manager_mcp-1.1.0.dist-info/METADATA,sha256=Wgr36FGeQrKP9tWSDnpHMbGgJDsbestwVH506_2SNsY,8452
|
|
7
|
-
container_manager_mcp-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
container_manager_mcp-1.1.0.dist-info/entry_points.txt,sha256=n7fE9uXdRktmjvZwyaiQkY0Dd7tMN6AKiHav0ZQdE2I,186
|
|
9
|
-
container_manager_mcp-1.1.0.dist-info/top_level.txt,sha256=B7QQLOd9mBdu0lsPKqyu4T8-zUtbqKzQJbMbtAzoozU,22
|
|
10
|
-
container_manager_mcp-1.1.0.dist-info/RECORD,,
|
|
File without changes
|
{container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{container_manager_mcp-1.1.0.dist-info → container_manager_mcp-1.1.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|