mcp-hosts-installer
MCP server that installs and registers other MCP servers in Cursor, VS Code, or Claude Desktop from npm, PyPI, or a local folder (via npx).
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 |
MCP installer for Claude Code, Cursor, VS Code, and Claude Desktop — register remote or local MCP servers in the host's config (settings.json / mcp.json / claude_desktop_config.json).
What you get
- Tools exposed to the host:
install_repo_mcp_server(npm/PyPI package name) andinstall_local_mcp_server(folder path), with optionalargs,env, and targethost(claude-code|cursor|vscode|claude). - Default host: when
hostis 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,uvis used.
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.
Verwandte Server
Scout Monitoring MCP
SponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
SponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Windows CLI
Interact with Windows command-line interfaces like PowerShell, CMD, Git Bash, and WSL.
Tuteliq
AI-powered safety tools for detecting grooming, bullying, threats, and harmful interactions in conversations. The server integrates Tuteliq’s behavioral risk detection API via the Model Context Protocol (MCP), enabling AI assistants to analyze interaction patterns rather than relying on keyword moderation. Use cases include platform safety, chat moderation, child protection, and compliance with regulations such as the EU Digital Services Act (DSA), COPPA, and KOSA.
OpenAPI Invoker
Invokes any OpenAPI specification through a Model Context Protocol (MCP) server.
SCAST
Analyzes source code to generate UML and flow diagrams with AI-powered explanations.
Android ADB Server
Control Android devices using the Android Debug Bridge (ADB).
Rollbar
Access Rollbar project data for error monitoring and debugging.
Divvi MCP Server
Automatically integrate the Divvi referral SDK into JavaScript and TypeScript blockchain applications.
MCP Java Decompiler Server
Decompile Java class files from file paths, package names, or JAR files using a JavaScript port of the CFR decompiler.
mcpproxy-go
Open-source local MCP proxy server. Routes multiple MCP servers through a single endpoint with BM25 tool filtering, quarantine security, activity logging, and web UI.
Blueprint MCP
Browser automation via MCP for Chrome and Firefox