MCPxHub
MCP server by n2ns Verified · gh:n2ns
MCP x Hub is a bridge that auto-discovers running VS Code-family and JetBrains IDE MCP servers and proxies Claude Desktop's tool calls to them. It is for developers who want Claude Desktop to work with their local IDE projects. It reconnects as IDE ports change.
Install MCPxHub
Built from the published package, never by AI.
claude mcp add mcpxhub -- npx -y @bugstan/mcpxhubRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcpxhub": {
"args": [
"-y",
"@bugstan/mcpxhub"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcpxhub": {
"args": [
"-y",
"@bugstan/mcpxhub"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcpxhub": {
"args": [
"-y",
"@bugstan/mcpxhub"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcpxhub -- npx -y @bugstan/mcpxhub{
"mcpServers": {
"mcpxhub": {
"args": [
"-y",
"@bugstan/mcpxhub"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcpxhub npx -y @bugstan/mcpxhubGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcpxhub block.
About
MCP x Hub is a bridge published as the npm package @bugstan/mcpxhub. It connects Claude Desktop to MCP servers running inside VS Code, Cursor, Windsurf, Antigravity and JetBrains IDEs. According to the source, it forwards MCP requests locally, so code data stays on the user's machine.
It scans standard port ranges, VS Code 9960-9990 and JetBrains 63342-63352, and checks a specific port first if MCP_SERVER_PORT is set. Adaptive polling retries every 5 seconds when disconnected and every 30 seconds when stable, so the IDE and Claude Desktop can start in any order. It is aimed at developers who want Claude Desktop to work with their local IDE projects. An IDE plugin such as ggMCP4VSCode or the MCP Server Plugin must be installed first.
Written from the project's README and checked against it.
What you need
- npm to install the @bugstan/mcpxhub package
- Claude Desktop
- VS Code, a VS Code fork, or a JetBrains IDE running
- ggMCP4VSCode plugin for VS Code or the MCP Server Plugin for JetBrains
Try asking
- Use my running VS Code project tools from Claude Desktop
- Read a file from my open JetBrains project through Claude Desktop
- Analyze the code in my IDE using Claude Desktop tools
Good to know
- Requires an MCP server plugin installed in the IDE to function
- Only scans the listed port ranges for VS Code and JetBrains
- If IDE_TYPE is invalid or unset, it tries the JetBrains port range by default
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Connect Claude Desktop to a running JetBrains IDE
- Let Claude Desktop reach VS Code project tools
- Keep an AI session working across IDE restarts
Alternatives to MCPxHub
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
MCPxHub: common questions
Which IDEs does MCP x Hub work with?
The source lists VS Code and its forks Cursor, Windsurf and Antigravity, plus JetBrains IDEs such as IntelliJ IDEA, WebStorm, PyCharm and PhpStorm.
What happens if I start Claude Desktop before my IDE?
The source says MCP x Hub keeps running and waits for the IDE to start, and it keeps trying to connect without a timeout.
How do I troubleshoot a failed connection?
The source suggests confirming the IDE is running with the MCP Server plugin, checking that the firewall allows the ports, and setting LOG_ENABLED=true for detailed logs.
How do I install MCPxHub?
In Claude Code run claude mcp add mcpxhub -- npx -y @bugstan/mcpxhub. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCPxHub the official server?
MCPxHub is published by gh:n2ns from its verified domain in the official MCP Registry.
Is MCPxHub free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is MCPxHub safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCPxHub?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does MCPxHub work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
