mcp-hosts-installer
mcp-hosts-installer
Documentation
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 |
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.
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-installerOr 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`.
Frequently asked questions
What is mcp-hosts-installer?
mcp-hosts-installer is mcp-hosts-installer
How do I install mcp-hosts-installer?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-hosts-installer open source?
Yes — it is hosted on GitHub at https://github.com/SoufGit/mcp-hosts-installer and has 3 stars.
Related MCP tools
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.
Enhanced MCP server for interactive user feedback and command execution in AI-assisted development, featuring dual interface support (Web UI and Desktop Application) with intelligent environment detection and cross-platform compatibility.
A powerful Zotero AI and MCP plugin with ChatGPT, Gemini 3.7, Claude Fable 5, Claude Opus 5, DeepSeek V4, Grok, OpenRouter, Kimi k3, GLM 5.3, SiliconFlow, GPT-oss, Gemma 4, Qwen 3.8
Connect your browser to AI models. Just use Dia on Chrome, Arc or Firefox.
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP