@rog0x/mcp-env-tools
@rog0x/mcp-env-tools
为 AI 代理提供环境和配置工具的 MCP 服务器。帮助解析 .env 文件、生成模板、检查端口、查看系统信息以及验证工具依赖。
工具
环境解析器
env_list_variables - 解析
.env文件并列出所有变量键(值已掩码)env_detect_missing - 检查必需的环境变量是否存在且已填充
env_compare_files - 比较
.env与.env.example,找出缺失或多余的变量env_find_duplicates - 查找
.env文件中的重复变量键
环境生成器
env_generate_example - 从现有的
.env文件生成.env.example(去除值、保留注释、添加占位符)env_detect_from_package_json - 检测
package.json脚本中引用的环境变量env_detect_from_docker_compose - 检测
docker-compose.yml文件中引用的环境变量
端口检查器
port_check - 检查特定端口是否被占用并识别相关进程
port_find_available - 在给定范围内查找可用端口
port_list_processes - 列出使用特定端口的进程
系统信息
system_info - 操作系统、CPU、内存、磁盘、Node/npm/Python/Git/Docker 版本
依赖检查器
deps_check_tools - 检查指定工具是否已安装并获取其版本
deps_check_versions - 验证已安装的工具是否满足最低版本要求
deps_verify_path - 分析系统 PATH 中的常见工具目录
Related MCP server: devscope
设置
npm install
npm run build配置
添加到你的 MCP 客户端配置:
{
"mcpServers": {
"env-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-env-tools/dist/index.js"]
}
}
}许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Machine-readable utilities and datasets for AI agents.
Manage portable AI agent playbooks, Agent Skills, MCP configurations, personas, and memory.
Utility tools for AI agents: hashing, text stats, validation, DNS, currency, GEO audits.
AI Agent Utility Layer for agent safety, web monitoring, crypto research and tool discovery.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides persistent SQLite-based memory and unified tool abstraction for AI agents to support long-term context and complex tool chaining. It enables automated code analysis, file operations, and environment discovery through a standardized interface.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to detect development environments, install missing tools, scan local code projects, and generate visual reports.6 npmMIT
- AlicenseBqualityDmaintenanceEnables AI assistants to manage Docker containers, images, volumes, networks, and compose projects through Arcane's API. Provides comprehensive tools for environment, container, image, volume, network, project, and system operations.5216 npmMIT
- AlicenseAqualityBmaintenanceProvides AI coding agents with structured, evidence-based diagnostics about the local development environment, detecting tech stack, runtime mismatches, dependency state, services, ports, and Git status without exposing secrets or using network calls.10Apache 2.0