
Env
This gives Claude direct access to your development environment through tools for parsing dotenv files, checking port availability, and inspecting system info. You get operations like env_list_variables to see what's in your .env, env_compare_files to diff against .env.example, port_check to identify what's using port 3000, and system_info for OS and runtime versions. The env_generate_example tool creates sanitized templates by stripping values while preserving structure. Useful when Claude needs to troubleshoot configuration issues, verify dependencies are installed, find an open port for a new service, or detect missing environment variables before deployment.
- tools
- 14
- transport
- STDIO
- last updated
- Mar 22, 2026
Tools
14 toolsPublic tool metadata for what this MCP can expose to an agent.
env_list_variablesParse a `.env` file and list all variable keys (values masked)
Parse a `.env` file and list all variable keys (values masked)
No parameter schema in public metadata yet.
env_detect_missingCheck if required environment variables are present and populated
Check if required environment variables are present and populated
No parameter schema in public metadata yet.
env_compare_filesCompare `.env` vs `.env.example` to find missing or extra variables
Compare `.env` vs `.env.example` to find missing or extra variables
No parameter schema in public metadata yet.
env_find_duplicatesFind duplicate variable keys in a `.env` file
Find duplicate variable keys in a `.env` file
No parameter schema in public metadata yet.
env_generate_exampleGenerate `.env.example` from an existing `.env` file (strips values, keeps comments, adds placeholders)
Generate `.env.example` from an existing `.env` file (strips values, keeps comments, adds placeholders)
No parameter schema in public metadata yet.
env_detect_from_package_jsonDetect environment variables referenced in `package.json` scripts
Detect environment variables referenced in `package.json` scripts
No parameter schema in public metadata yet.
env_detect_from_docker_composeDetect environment variables referenced in a `docker-compose.yml` file
Detect environment variables referenced in a `docker-compose.yml` file
No parameter schema in public metadata yet.
port_checkCheck if a specific port is in use and identify the process
Check if a specific port is in use and identify the process
No parameter schema in public metadata yet.
port_find_availableFind available ports within a given range
Find available ports within a given range
No parameter schema in public metadata yet.
port_list_processesList processes using specific ports
List processes using specific ports
No parameter schema in public metadata yet.
system_infoOS, CPU, memory, disk, Node/npm/Python/Git/Docker versions
OS, CPU, memory, disk, Node/npm/Python/Git/Docker versions
No parameter schema in public metadata yet.
deps_check_toolsCheck if specified tools are installed and get their versions
Check if specified tools are installed and get their versions
No parameter schema in public metadata yet.
deps_check_versionsVerify installed tools meet minimum version requirements
Verify installed tools meet minimum version requirements
No parameter schema in public metadata yet.
deps_verify_pathAnalyze the system PATH for common tool directories
Analyze the system PATH for common tool directories
No parameter schema in public metadata yet.
Sponsors
Readme
@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
Details
- Repository
- github.com/rog0x/mcp-env-tools
- Package
@rog0x/mcp-env-tools- Transport
- STDIO
- Registry
- MCP registry, active