Provides comprehensive Docker container management and security monitoring capabilities, including remote Docker API connections, container lifecycle operations, security analysis, event monitoring, and container inspection tools.
项目名称: ContainerGuard MCP
README.md
快速开始
启动MCP服务:
在支持MCP的客户端中使用 (如Claude AI):
可用工具
连接管理
connect_docker()
- 连接到远程Docker守护进程connect_ssh()
- 通过SSH连接到远程主机
容器操作
list_containers()
- 获取容器列表get_container_logs()
- 查看容器日志execute_command()
- 在容器中执行命令
安全分析
security_analysis()
- 基础安全分析check_container_security()
- 全面安全检查monitor_docker_events()
- 监控Docker事件
安全配置
Docker远程访问
SSH密钥认证
使用示例
连接远程Docker:
查看所有容器:
分析特定容器:
监控实时事件:
安全建议
使用TLS加密Docker远程连接
限制Docker API的访问权限
定期更新SSH密钥
监控容器资源使用情况
设置容器资源限制
许可证
MIT License
支持
如有问题请提交Issue或联系开发团队。
运行服务:
在MCP客户端中配置: 将上述Python脚本路径添加到你的MCP客户端配置中。
开始使用:
首先连接到远程Docker或SSH
然后使用各种工具进行容器管理和安全分析
这个MCP服务提供了完整的容器安全管理功能,可以帮助你远程监控和分析容器环境的安全状况。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables remote container security monitoring and management through Docker API and SSH connections. Provides real-time container monitoring, security analysis, event tracking, and comprehensive security scanning for containerized environments.