Skip to main content
Glama
mcp-hosts-installer

mcp-hosts-installer

by SoufGit

mcp-hosts-installer

Install Model Context Protocol (MCP) servers from npm, PyPI, or a local path — directly from Claude Code, Cursor, VS Code, or Claude Desktop. One setup: add this server once, then ask the model to install other MCP packages for you.

Registry

Short

npm

npx -y mcp-hosts-installer

GitHub

soufgit/mcp-hosts-installer

Maintainer

License: MIT npm version npm downloads npm weekly downloads GitHub Repo stars MCP Claude Code Claude Desktop Cursor VS Code

What you get

  • Tools exposed to the host: install_repo_mcp_server (npm/PyPI package name) and install_local_mcp_server (folder path), with optional args, env, and target host (claude-code | cursor | vscode | claude).

  • Default host: when host is omitted, the tool picks a client that already has a config file in the usual folder (Cursor first, then VS Code, then Claude Code, then Claude Desktop); if none exist, it targets Cursor.

  • Prerequisites: Node.js with npx; for Python-based servers from PyPI, uv is used.

Related MCP server: Starterbox

Install this MCP server in your host

Claude Code ⭐

The fastest way — one CLI command:

claude mcp add mcp-hosts-installer npx -- -y mcp-hosts-installer

Or manually in ~/.claude/settings.json (created automatically if it doesn't exist):

{
  "mcpServers": {
    "mcp-hosts-installer": {
      "command": "npx",
      "args": ["-y", "mcp-hosts-installer"]
    }
  }
}

Then ask Claude Code:

Install the MCP server @modelcontextprotocol/server-filesystem for claude-code

Cursor

mcp.json — macOS: ~/.cursor, Windows: %USERPROFILE%\.cursor.

{
  "mcpServers": {
    "mcp-hosts-installer": {
      "command": "npx",
      "args": ["-y", "mcp-hosts-installer"]
    }
  }
}

VS Code

User-level mcp.json: macOS ~/Library/Application Support/Code/User/mcp.json, Windows %APPDATA%\Code\User\mcp.json, Linux ~/.config/Code/User/mcp.json. In VS Code: command MCP: Open User Configuration.

{
  "mcpServers": {
    "mcp-hosts-installer": {
      "command": "npx",
      "args": ["-y", "mcp-hosts-installer"]
    }
  }
}

Claude Desktop

claude_desktop_config.json — macOS: ~/Library/Application Support/Claude, Windows: %APPDATA%\Claude.

{
  "mcpServers": {
    "mcp-hosts-installer": {
      "command": "npx",
      "args": ["-y", "mcp-hosts-installer"]
    }
  }
}

If you don't pass host, use the inference above or set host to "claude-code", "claude", "cursor", or "vscode" explicitly.

Example prompts

Install the MCP server named mcp-server-fetch

Please install the MCP server at /Users/NAME/code/mcp-youtube, I'm too lazy to do it myself.

Install the MCP server @modelcontextprotocol/server-github for claude-code. Set the environment variable GITHUB_PERSONAL_ACCESS_TOKEN to '1234567890'

Repository visibility (GitHub)

After pushing, add topics on the repo page so search and "Explore" surface the project, for example: mcp, model-context-protocol, cursor, vscode, claude-desktop, claude-code, npm, developer-tools, ai.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      This server is a server that installs other MCP servers for you. Install it, and you can ask Claude to install MCP servers hosted in npm or PyPi for you. Requires npx and uv to be installed for node and Python servers respectively.
      2
      1,541
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      A meta-MCP server that helps users install and configure other MCP servers directly through Claude prompts, supporting both npm and PyPi packages.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Manages installation and configuration of MCP servers across multiple clients (Claude Code, Cursor, VS Code) from a personal GitHub registry, with support for API key management and bulk installations.
      7
      9 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Creates, manages, and registers custom MCP servers for Claude Desktop. Enables users to generate and configure new MCP servers through natural language.
      11
      MIT