التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@rog0x/mcp-env-toolsclaude mcp add env -- npx -y @rog0x/mcp-env-tools@1.0.2
{
"mcpServers": {
"env": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-env-tools@1.0.2"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
@rog0x/mcp-env-tools
MCP server providing environment and configuration tools for AI agents. Helps with parsing .env files, generating templates, checking ports, inspecting system info, and verifying tool dependencies.
Tools
Environment Parser
- env_list_variables - Parse a
.envfile and list all variable keys (values masked) - env_detect_missing - Check if required environment variables are present and populated
- env_compare_files - Compare
.envvs.env.exampleto find missing or extra variables - env_find_duplicates - Find duplicate variable keys in a
.envfile
Environment Generator
- env_generate_example - Generate
.env.examplefrom an existing.envfile (strips values, keeps comments, adds placeholders) - env_detect_from_package_json - Detect environment variables referenced in
package.jsonscripts - env_detect_from_docker_compose - Detect environment variables referenced in a
docker-compose.ymlfile
Port Checker
- port_check - Check if a specific port is in use and identify the process
- port_find_available - Find available ports within a given range
- port_list_processes - List processes using specific ports
System Info
- system_info - OS, CPU, memory, disk, Node/npm/Python/Git/Docker versions
Dependency Checker
- deps_check_tools - Check if specified tools are installed and get their versions
- deps_check_versions - Verify installed tools meet minimum version requirements
- deps_verify_path - Analyze the system PATH for common tool directories
Setup
npm install
npm run build
Configuration
Add to your MCP client config:
{
"mcpServers": {
"env-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-env-tools/dist/index.js"]
}
}
}
License
MIT
الأسئلة الشائعة
ما هو io.github.rog0x/env؟
Dotenv parser, ports, system info for AI agents
كيف أثبّت io.github.rog0x/env؟
يعمل على جهازك. في Claude Code: claude mcp add env -- npx -y @rog0x/mcp-env-tools@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.rog0x/env إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.rog0x/env مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.rog0x/env؟
ينشره rog0x. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.