Back to Home
hyperpolymath icon

poly-container-mcp

Verified Safe

by hyperpolymath

Overview

Provides a unified MCP server interface for managing multiple container runtimes including nerdctl, podman, and docker, prioritizing FOSS alternatives.

Installation

Run Command
deno run --allow-run --allow-read --allow-env --allow-net server.js

Environment Variables

  • CONTAINER_RUNTIME
  • NERDCTL_PATH
  • NERDCTL_NAMESPACE
  • NERDCTL_HOST
  • NERDCTL_SNAPSHOTTER
  • PODMAN_PATH
  • PODMAN_HOST
  • DOCKER_PATH
  • DOCKER_HOST

Security Notes

The server employs strong security practices for executing external commands. It uses Deno.Command for subprocess execution, which is safer than shell execution. Crucially, all subcommands are whitelisted via `ALLOWED_COMMANDS` arrays, and arguments are rigorously sanitized using `sanitizeArg` to prevent shell metacharacters and command injection. No hardcoded secrets were identified in the provided code. Network communications are managed with resilience patterns like circuit breakers and rate limiters, enhancing robustness. While the `bundle.js` summary mentions internal code generation (likely for schema validation with Ajv/Zod), it is not used for executing arbitrary user-provided code in the critical command execution path.

Similar Servers

Stats

Interest Score33
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars2
Forks0
Last Update2026-01-17

Tags

container managementnerdctlpodmandockerMCP serverFOSSDeno