Skip to main content
Glama
rog0x

@rog0x/mcp-env-tools

by rog0x

@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 - OS、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

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides 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.
    5
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to detect development environments, install missing tools, scan local code projects, and generate visual reports.
    6 npm
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables 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.
    52
    16 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides 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.
    10
    Apache 2.0