@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: Arcane MCP
设置
npm install
npm run build配置
添加到你的 MCP 客户端配置:
{
"mcpServers": {
"env-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-env-tools/dist/index.js"]
}
}
}许可证
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
Utility tools for AI agents: hashing, text stats, validation, DNS, currency, GEO audits.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
AI Agent Utility Layer for agent safety, web monitoring, crypto research and tool discovery.
PDF and image tools for AI agents: compress, merge, split, OCR, sign. Runs locally, never uploads.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to detect development environments, install missing tools, scan local code projects, and generate visual reports.11 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.52MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to deterministically discover which localhost ports and env URLs are actually running, resolving declared configs, OS listeners, and service connections into a machine-readable .portmap.json with actionable findings.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to monitor system health, manage processes, execute shell commands, and inspect environment variables and directories.1MIT