Skip to main content
Glama
MCP Environment & Installation Manager

MCP Environment & Installation Manager

by devlimelabs

MCP 環境およびインストール マネージャー

MCPサーバーとその構成を管理するための統合コントロールセンター。このMCPサーバーは、環境変数管理、プロファイルベースの構成、ローカルパッケージのインストール自動化のためのツールを提供します。

特徴

  • 環境変数管理: MCP サーバーの環境変数を安全に保存および管理します

  • プロファイルシステム: プロジェクトや環境ごとに異なるプロファイルを作成する

  • ローカルパッケージのインストール: MCP パッケージをローカルに自動的にインストールします

  • 構成監視: MCP 構成を監視し、変更に適応します

  • 自動構成: ローカルにインストールされたパッケージを使用するように構成を自動的に更新します

Related MCP server: Promethean OS MCP

インストール

Node.jsのインストール

# Global installation
npm install -g @devlimelabs/mcp-env-manager

# Or using yarn
yarn global add @devlimelabs/mcp-env-manager

# Or using pnpm
pnpm add -g @devlimelabs/mcp-env-manager

Dockerのインストール

# Clone the repository
git clone https://github.com/devlimelabs/master-mcps.git
cd master-mcps/packages/mcp-env-manager

# Build and run with Docker
npm run docker:build
npm run docker:run

# Or using Docker Compose
npm run compose:up

構成

.env.exampleテンプレートに基づいて.envファイルを作成します。

# Copy the example configuration
cp .env.example .env

# Edit the configuration
nano .env

重要な環境変数

  • MCP_ENV_ENCRYPTION_KEY : 機密値を暗号化するために必要

  • MCP_ENV_STORAGE_DIR : 設定を保存するディレクトリ (デフォルト: ~/.mcp-env-manager)

使用法

コマンドラインインターフェース

# Start the MCP server with stdio transport (for Claude, Cursor integration)
mcp-env-manager

# Start with SSE transport (for web integration)
mcp-env-manager --sse --port 3000

デスクトップ版Claude

  1. 提供されたセットアップ スクリプトを実行します。

npm run setup:claude

または、Environment Manager を Claude for Desktop 構成ファイルに手動で追加します。

{
  "mcpServers": {
    "env-manager": {
      "command": "mcp-env-manager",
      "displayName": "Environment & Installation Manager"
    }
  }
}
  1. Claude for Desktop を再起動し、Environment Manager ツールの使用を開始します。

カーソル付き

環境マネージャをカーソル MCP 構成ファイルに追加します。

{
  "mcpServers": {
    "env-manager": {
      "command": "mcp-env-manager"
    }
  }
}

ツールの例

環境プロファイルの管理

> create-profile
  name: "Development Environment"
  description: "Configuration for local development"

> list-profiles

環境変数の管理

> set-env-var
  profileId: "development-environment-12345"
  key: "API_KEY"
  value: "your-api-key-here"
  sensitive: true

> list-env-vars
  profileId: "development-environment-12345"

> activate-profile
  profileId: "development-environment-12345"

MCP インストールの管理

> install-mcp
  packageName: "@modelcontextprotocol/server-filesystem"

> list-installed-mcps

> update-mcp
  packageName: "@modelcontextprotocol/server-filesystem"

構成の監視

> configure-watcher
  watchClaude: true
  watchCursor: true

> enable-auto-localize
  enabled: true

発達

# Install dependencies
npm install

# Start in development mode
npm run dev

# Run tests
npm test

# Build the package
npm run build

既知の制限事項と今後の改善点

  • SSEトランスポート:現在のSSEトランスポート実装は不完全であり、stdioにフォールバックします。Web統合で完全に機能させるには、さらなる作業が必要です。

  • テスト:MCPサーバーはstdio経由のJSON-RPCで通信するため、自動テストが複雑になります。手動テストの手順については、 testing_guide.mdをご覧ください。

  • パッケージのインストール: パッケージのインストールはローカルの Node.js 環境に依存するため、実際の MCP パッケージでテストする必要があります。

手動テストの実行

手動テストの詳細については、テスト ガイドを参照してください。

Docker デプロイメント

パッケージには、簡単にデプロイできるように、マルチステージ Dockerfile と docker-compose.yml が含まれています。

# Start the service with Docker Compose
docker-compose up -d

# View logs
docker-compose logs -f

# Stop the service
docker-compose down

セキュリティに関する考慮事項

  • MCP_ENV_ENCRYPTION_KEY安全に保管し、バージョン管理にコミットしないでください。

  • 機密値は提供された暗号化キーを使用して保存時に暗号化されます

  • 実稼働環境では、強力でランダムに生成された暗号化キーを使用します。

貢献

貢献を歓迎します!詳細はCONTRIBUTING.mdをご覧ください。

ライセンス

マサチューセッツ工科大学

Available Tools

24 tools
activate-profileD

Inputs: profileId (required).

configure-installationD

Inputs: installationDir, preferredPackageManager, autoLocalize.

configure-notificationsD

Inputs: onNewServerDetected, onUpdateAvailable.

configure-watcherD

Inputs: watchClaude, watchCursor, claudeConfigPath, cursorConfigPath.

create-profileD

Inputs: name (required), description.

delete-env-varD

Inputs: profileId (required), key (required).

delete-profileD

Inputs: profileId (required), force.

enable-auto-localizeD

Inputs: enabled (required).

export-env-varsD

Inputs: profileId (required), format (required).

get-active-profileD

Inputs: no named parameters.

get-env-varD

Inputs: profileId (required), key (required).

get-installation-settingsD

Inputs: no named parameters.

get-mcp-packageD

Inputs: packageName (required).

get-profileD

Inputs: profileId (required).

get-watcher-configD

Inputs: no named parameters.

install-mcpD

Inputs: packageName (required), version.

list-env-varsD

Inputs: profileId (required).

list-installed-mcpsD

Inputs: no named parameters.

list-profilesD

Inputs: no named parameters.

localize-mcp-serverD

Inputs: configPath (required), serverName (required), packageName (required).

set-env-varD

Inputs: profileId (required), key (required), value (required), sensitive (required), +1 more.

uninstall-mcpD

Inputs: packageName (required), force.

update-mcpD

Inputs: packageName (required), version.

update-profileD

Inputs: profileId (required), name, description.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    D1.9/5.0

    Scored across 24 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources like profiles, env vars, installations, or MCP packages. However, some tools like 'configure-installation' and 'get-installation-settings' could potentially overlap in scope, and 'enable-auto-localize' vs 'localize-mcp-server' might cause confusion without descriptions. Overall, the set is mostly clear with minor ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with hyphen-separated words (e.g., 'activate-profile', 'configure-installation', 'get-env-var'). There are no deviations in naming style, making the set highly predictable and readable.

    Tool Count3/5

    With 24 tools, the count is borderline high for an environment manager, potentially feeling heavy. While it covers multiple aspects (profiles, env vars, installations, MCPs), it might be slightly over-scoped, risking complexity for agents.

    Completeness4/5

    The tool set provides comprehensive coverage for managing MCP environments, including CRUD operations for profiles, env vars, and MCP installations. Minor gaps might exist, such as missing tools for advanced configuration or error handling, but core workflows are well-covered.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A local CLI & API for MCP management that allows users to download, install, manage, and interact with MCPs from GitHub, featuring process state management, port allocation, and HTTP API routes.
      173
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A unified MCP server with composable tools for GitHub operations, file management, shell execution, kanban boards, Discord messaging, and package management. Features role-based security, HTTP/stdio transports, and a web-based development UI.
      GPL 3.0
    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server that enables programmatic management and monitoring of development servers through a unified interface and interactive TUI. It provides tools for process control, log streaming, and experimental browser automation via Playwright.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A robust MCP server with tools to search, install, configure, repair, and uninstall MCP servers, automating setup and maintenance across multiple AI and developer tools.
      4
      17
      MIT