MCP Environment & Installation Manager

by devlimelabs
Integrations
  • Uses .env files for configuration management with support for encrypting sensitive values and custom storage locations.

  • Supports Docker deployment with included Dockerfile and docker-compose configurations for containerized operation.

  • Enables cloning and managing MCP packages from GitHub repositories.

MCP Environment & Installation Manager

A unified control center for managing MCP servers and their configurations. This MCP server provides tooling for environment variable management, profile-based configurations, and local package installation automation.

Features

  • Environment Variable Management: Securely store and manage environment variables for your MCP servers
  • Profile System: Create different profiles for different projects or environments
  • Local Package Installation: Automatically install MCP packages locally
  • Configuration Watching: Monitor MCP configurations and adapt to changes
  • Auto-Configuration: Automatically update configurations to use locally installed packages

Installation

Node.js Installation

# 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 Installation

# 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

Configuration

Create a .env file based on the .env.example template:

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

Important Environment Variables

  • MCP_ENV_ENCRYPTION_KEY: Required for encrypting sensitive values
  • MCP_ENV_STORAGE_DIR: Directory for storing configuration (default: ~/.mcp-env-manager)

Usage

Command Line Interface

# 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

With Claude for Desktop

  1. Run the provided setup script:
npm run setup:claude

Or manually add the Environment Manager to your Claude for Desktop configuration file:

{ "mcpServers": { "env-manager": { "command": "mcp-env-manager", "displayName": "Environment & Installation Manager" } } }
  1. Restart Claude for Desktop and start using the Environment Manager tools.

With Cursor

Add the Environment Manager to your Cursor MCP configuration file:

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

Tool Examples

Managing Environment Profiles

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

Managing Environment Variables

> 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"

Managing MCP Installations

> install-mcp packageName: "@modelcontextprotocol/server-filesystem" > list-installed-mcps > update-mcp packageName: "@modelcontextprotocol/server-filesystem"

Configuration Watching

> configure-watcher watchClaude: true watchCursor: true > enable-auto-localize enabled: true

Development

# Install dependencies npm install # Start in development mode npm run dev # Run tests npm test # Build the package npm run build

Known Limitations and Future Improvements

  • SSE Transport: The current SSE transport implementation is incomplete and falls back to stdio. Further work is needed to make it fully functional for web integrations.
  • Testing: The MCP server communicates via JSON-RPC over stdio which makes automated testing more complex. See testing_guide.md for manual testing procedures.
  • Package Installation: Package installation depends on the local Node.js environment and should be tested with actual MCP packages.

Running Manual Tests

For manual testing details, see the Testing Guide.

Docker Deployment

The package includes a multi-stage Dockerfile and docker-compose.yml for easy deployment:

# Start the service with Docker Compose docker-compose up -d # View logs docker-compose logs -f # Stop the service docker-compose down

Security Considerations

  • The MCP_ENV_ENCRYPTION_KEY should be kept secure and not committed to version control
  • Sensitive values are encrypted at rest using the provided encryption key
  • Use a strong, randomly-generated encryption key for production environments

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

License

MIT

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A unified control center for managing MCP servers, providing tooling for environment variable management, profile-based configurations, and local package installation automation.

  1. Features
    1. Installation
      1. Node.js Installation
      2. Docker Installation
    2. Configuration
      1. Important Environment Variables
    3. Usage
      1. Command Line Interface
      2. With Claude for Desktop
      3. With Cursor
    4. Tool Examples
      1. Managing Environment Profiles
      2. Managing Environment Variables
      3. Managing MCP Installations
      4. Configuration Watching
    5. Development
      1. Known Limitations and Future Improvements
        1. Running Manual Tests
          1. Docker Deployment
            1. Security Considerations
              1. Contributing
                1. License

                  Related MCP Servers

                  • -
                    security
                    F
                    license
                    -
                    quality
                    A configurable MCP server that dynamically loads capabilities from a remote configuration to bridge MCP clients with remote APIs for executing actions, accessing resources, and utilizing prompt templates.
                    Last updated -
                    1,123
                    4
                    TypeScript
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A tool that dynamically generates and configures MCP servers by automatically creating necessary directories and files according to user specifications.
                    Last updated -
                    1
                    9
                    9
                    JavaScript
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A tool that helps manage and synchronize MCP server configurations across different AI assistant clients (Cline, Roo Code, WindSurf, Claude), automating the process of retrieving, listing, adding, and removing server configurations from client configuration files.
                    Last updated -
                    6
                    6
                    1
                    JavaScript
                    MIT License
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that connects to the Resource Hub, allowing centralized configuration and management of tools and resources across different MCP environments.
                    Last updated -
                    2
                    JavaScript
                    • Apple

                  View all related MCP servers

                  ID: kykgc78z0v