danielmeppiel
MCP Serverdanielmeppielpublic

vscode mcp installer

MCP Server package manager for VSCode

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

MCP Server package manager for VSCode

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

vscode-mcp-installer

A tool to verify and install MCP (Model Context Protocol) servers in Visual Studio Code from a MCP Registry. Click one of the buttons below to quickly install the MCP server in VS Code (Badges work for Unix systems - for Windows please read below):

Install in VS Code Install in VS Code Insiders

Table of Contents

  • Setup
  • Usage
    • CLI Usage
    • MCP Configuration Files
    • MCP Server Usage
  • Development
  • Stack

Setup

# Clone & enter repo
git clone https://github.com/yourusername/vscode-mcp-installer.git
cd vscode-mcp-installer

# Install with uv (requires Python 3.13+)
uv venv
uv pip install -e .

Usage

CLI Usage

# With activated environment
source .venv/bin/activate
code-mcp list                                          # List all installed MCP servers
code-mcp check mcr.microsoft.com/mcp/server:1.0        # Check specific server(s)

# MCP Registry commands
code-mcp registry list                                 # List available servers from registry
code-mcp registry search redis                         # Search for servers with "redis" as exact name/or inside the description
code-mcp registry show 428785c9-039e-47f6-9636-...     # Show details for a specific server
code-mcp registry install redis-mcp-server             # Install server by name
code-mcp registry install 428785c9... --by-id          # Install server by ID

# MCP Configuration commands
code-mcp config install                                # Install servers from mcp.yml
code-mcp config verify                                 # Verify servers in mcp.yml are installed
code-mcp config init                                   # Create mcp.yml from installed servers

# Without activating
.venv/bin/code-mcp list
.venv/bin/code-mcp check mcr.microsoft.com/mcp/server:1.0

By default this server will use the Azure Community MCP Registry. You can set the MCP_REGISTRY_URL environment variable to use a different registry:

export MCP_REGISTRY_URL=https://your-mcp-registry.example.com
code-mcp registry list

MCP Configuration Files

The code-mcp tool supports managing MCP servers using configuration files, similar to dependency management tools like pipenv.

Creating a Configuration File

Create a mcp.yml file in your project root:

version: "1.0"
servers:
  - "mcr.microsoft.com/mcp/python-lsp"
  - "mcr.microsoft.com/mcp/typescript-lsp"
  - "mcr.microsoft.com/mcp/nodejs"

Installing Servers from Configuration

To install all servers defined in the configuration file:

code-mcp config install

Use the --no-interactive flag to skip prompting for environment variables:

code-mcp config install --no-interactive

Verifying Configuration

Check if all servers in the configuration file are installed:

code-mcp config verify

Generating Configuration from Installed Servers

Create a configuration file from currently installed servers:

code-mcp config init --output mcp.yml

Environment variables for MCP servers will be prompted during installation in interactive mode. Sensitive values like tokens and passwords are hidden during input.

MCP Server Usage

The tool can also be run as an MCP (Model Context Protocol) server, which allows you to interact with it using MCP clients, including AI assistants like GitHub Copilot.

When running as an MCP server, the following tools are available:

  1. list_servers - List all MCP servers installed in VS Code
  2. check_servers - Check if specific MCP servers are installed
  3. list_available_servers - List available servers from the MCP Registry
  4. search_servers - Search for MCP servers by name or description
  5. get_server_details - Get detailed information about a specific server
  6. install_server - Install an MCP server from the registry to VS Code
  7. get_registry_info - Show information about the current MCP Registry

Running with uv

# Start the MCP server (recommended)
uv run mcp mcp_installer/server.py

# Start with MCP Inspector for development/debugging
uv run mcp dev mcp_installer/server.py

# Use a custom registry URL
MCP_REGISTRY_URL=https://custom-registry.example.com uv run mcp mcp_installer/server.py

Running with Docker

# Build the Docker image locally
docker build -t ghcr.io/danielmeppiel/vscode-mcp-installer:latest .

# Run with access to VS Code settings file (macOS)
# Note: rw mount is required for direct settings file modification
docker run -i --rm \
  -v "${HOME}/Library/Application Support/Code/User/settings.json:/root/.config/Code/User/settings.json:rw" \
  ghcr.io/danielmeppiel/vscode-mcp-installer:latest

# Use a custom registry URL with Docker
docker run -i --rm \
  -v "${HOME}/Library/Application Support/Code/User/settings.json:/root/.config/Code/User/settings.json:rw" \
  -e MCP_REGISTRY_URL=https://custom-registry.example.com \
  ghcr.io/danielmeppiel/vscode-mcp-installer:latest

# For Linux
# docker run -i --rm -v "${HOME}/.config/Code/User/settings.json:/root/.config/Code/User/settings.json:ro" ghcr.io/danielmeppiel/vscode-mcp-installer:latest

# For Windows PowerShell
# docker run -i --rm -v "$env:APPDATA\Code\User\settings.json:/root/.config/Code/User/settings.json:ro" ghcr.io/danielmeppiel/vscode-mcp-installer:latest

Adding to VS Code settings.json

To manually add this MCP server to your VS Code configuration, add the following to your settings.json file:

"mcp.servers": {
  "mcp-installer": {
    "command": "docker",
    "args": [
      "run",
      "-i",
      "--rm",
      "-v",
      "${env:HOME}/Library/Application Support/Code/User/settings.json:/root/.config/Code/User/settings.json:rw",
      "-e",
      "MCP_REGISTRY_URL",
      "ghcr.io/danielmeppiel/vscode-mcp-installer:latest"
    ],
    "env": {
      "MCP_REGISTRY_URL": "https://your-mcp-registry.example.com"
    }
  }
}

For Windows, use this configuration:

"mcp.servers": {
  "mcp-installer": {
    "command": "docker",
    "args": [
      "run",
      "-i",
      "--rm",
      "-v",
      "${env:APPDATA}\\Code\\User\\settings.json:/root/.config/Code/User/settings.json:rw",
      "-e",
      "MCP_REGISTRY_URL",
      "ghcr.io/danielmeppiel/vscode-mcp-installer:latest"
    ],
    "env": {
      "MCP_REGISTRY_URL": "https://your-mcp-registry.example.com"
    }
  }
}

Available MCP Tools

ToolDescriptionParameters
list_serversList all MCP servers installed in VS CodeNone
check_serversCheck if specific MCP servers are installed in VS Codeservers: List of server identifiers to check
list_available_serversList available MCP servers from the MCP Registrylimit: Maximum number of entries to return (default: 30)
cursor: Pagination cursor for retrieving next set of results
get_server_detailsGet detailed information about a specific MCP serverserver_id: Unique identifier of the server
search_serversSearch for MCP servers by name or descriptionquery: Search query string (case-insensitive)
install_serverInstall an MCP server from the registry to VS Codeserver_id: Unique identifier of the server to install
server_name: Name of the server to search for and install
get_registry_infoShow information about the current MCP RegistryNone

Example responses:

list_servers:

{
  "settings_path": "/path/to/settings.json",
  "count": 2,
  "servers": ["mcr.microsoft.com/mcp/server:1.0", "mcr.microsoft.com/mcp/other:2.0"]
}

check_servers:

{
  "all_installed": false,
  "installed_servers": ["mcr.microsoft.com/mcp/server:1.0"],
  "missing_servers": ["mcr.microsoft.com/mcp/missing:1.0"]
}

list_available_servers:

{
  "registry_url": "https://demo.registry.azure-mcp.net",
  "servers": [
    {"id": "428785c9-039e-47f6-9636-...", "name": "redis-mcp-server", "description": "..."},
    {"id": "92a1f82c-8f7d-4a3e-...", "name": "postgres-mcp-server", "description": "..."}
  ],
  "next_cursor": "eyJwayI6IlBBUlRJV..."
}

get_server_details:

{
  "registry_url": "https://demo.registry.azure-mcp.net",
  "id": "428785c9-039e-47f6-9636-...",
  "name": "redis-mcp-server",
  "description": "MCP server for Redis database operations",
  "version": "1.0.0",
  "vscode_config": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "mcr.microsoft.com/mcp/redis:1.0"]
  }
}

search_servers:

{
  "registry_url": "https://demo.registry.azure-mcp.net",
  "query": "redis",
  "count": 1,
  "servers": [
    {"id": "428785c9-039e-47f6-9636-...", "name": "redis-mcp-server", "description": "..."}
  ]
}

install_server:

{
  "success": true,
  "message": "Installed 'redis-mcp-server' successfully",
  "server_id": "428785c9-039e-47f6-9636-...",
  "registry_url": "https://demo.registry.azure-mcp.net",
  "vscode_config": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "mcr.microsoft.com/mcp/redis:1.0"]
  }
}

get_registry_info:

{
  "registry_url": "https://demo.registry.azure-mcp.net",
  "status": "online",
  "health_check": {"status": "ok", "version": "1.0.0"},
  "message": "MCP Registry is accessible"
}

Development

# Install with dev dependencies
uv pip install -e ".[dev]"

# Run tests, lint and format
pytest
flake8 mcp_installer tests
black mcp_installer tests

Stack

  • Python 3.13+
  • click for CLI
  • mcp package with FastMCP for MCP server functionality
  • pytest, flake8, black for development
  • GitHub Actions for CI/CD

Quick Start

1

Clone the repository

git clone https://github.com/danielmeppiel/vscode-mcp-installer
2

Install dependencies

cd vscode-mcp-installer
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerdanielmeppiel
Repovscode-mcp-installer
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation