MCPxHub
MCP bridge that auto-discovers VS Code-family (VS Code, Cursor, Windsurf, Antigravity) and JetBrains IDE MCP servers and proxies Claude Desktop's tool calls to them, reconnecting as ports change.
Install / Use
claude mcp add n2ns -- npx -y github:n2ns/MCPxHubIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of MCPxHub
MCPxHub scores 83/100 on our quality scale, 3072nd of 4,603 Development & Engineering skills we index.
Its MCP Server is 7.3 KB long, well organised into 41 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated yesterday, so MCPxHub is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-18. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
MCPxHub compared with similar skills
All 4 of these similar skills score higher than MCPxHub; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| MCPxHub (this skill)by n2ns | 83 | 10 | 1d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 98.7k | 2d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 98.4k | 3d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 75.6k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 50.2k | today | CLAUDE.md |
Frequently asked questions
- How do I install MCPxHub?
- Run
claude mcp add n2ns -- npx -y github:n2ns/MCPxHub. The install tabs above show the steps for each supported agent. - Which AI agents does MCPxHub work with?
- It is written for Claude Code, Claude Desktop, Cursor, Windsurf and JetBrains, as a MCP Server file. Other agents that read the same format can often use it too.
- Is MCPxHub safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is MCPxHub still maintained?
- The repository was last updated yesterday, so MCPxHub is actively maintained.
Skill content
View source on GitHubMCP x Hub: Universal MCP Bridge for Your IDE
Connect Claude Desktop to VS Code & JetBrains IDEs. Unlock Agentic Coding.
MCP x Hub is the ultimate middleware bridge that seamlessly connects AI Assistants (like Claude Desktop) to your local development environment. By adhering to the Model Context Protocol (MCP), it empowers your AI to read files, execute terminal commands, and analyze code directly within VS Code, Cursor, Windsurf, Antigravity, and JetBrains IDEs.
Current Version: v1.2.0
🚀 Why MCP x Hub?
While Claude Desktop is powerful, it's isolated from your codebase. MCP x Hub bridges this gap. It acts as a smart gateway, auto-discovering your running IDE instances and proxying MCP tool calls securely.
- ⚡️ Universal Compatibility: Works with VS Code and all its forks (Cursor, Windsurf, Antigravity) via ggMCP4VSCode, as well as JetBrains IDEs (IntelliJ, PyCharm, WebStorm, etc.).
- 🔌 Zero-Config Connection: Automatically detects active IDE ports. No manual IP/Port editing needed.
- 🛠 standard-compliant: Full support for MCP JSON-RPC 2.0, ensuring reliable communication and error handling.
- 🔄 Auto-Reconnection: Robustly handles IDE restarts without crashing your AI session.
- 🛡 Secure Proxy: Forwards requests locally, keeping your code data on your machine.
📖 Quick Start guide
Get your AI Agent coding in minutes:
-
Install MCP x Hub:
npm install -g @bugstan/mcpxhub -
Install Your IDE Plugin:
- VS Code: ggMCP4VSCode
- JetBrains: MCP Server Plugin
-
Configure Claude Desktop: Edit your
claude_desktop_config.json:{ "mcpServers": { "MCPxHub": { "command": "npx", "args": ["-y", "@bugstan/mcpxhub"], "env": { "IDE_TYPE": "vscode" // or "jetbrains" } } } } -
Start Coding: Launch your IDE, then open Claude Desktop. They will connect automatically!
✨ Key Features
- Smart Discovery: Scans standard port ranges to find your active IDE (VS Code: 9960-9990, JetBrains: 63342-63352).
- Parallel Port Scanning: Uses advanced parallel scanning to detect your IDE instance instantly, even across large port ranges.
- Live Tool Sync: Detecting new tools or capabilities as you update your IDE plugins.
- Protocol Compliance: Implements the latest MCP JSON-RPC 2.0 specification for maximum compatibility with Claude 3.5 Sonnet and other models.
- Resilient Connectivity: Built-in "Wait for IDE" logic means you can start the tools in any order.
Required IDE Plugins
MCP x Hub requires an MCP server plugin installed in your IDE to function:
VS Code Plugin
- Plugin: ggMCP4VSCode
- Features: Implements MCP server in VS Code, allowing communication with Claude Desktop through MCP x Hub
JetBrains Plugin
- Plugin: MCP Server Plugin
- Compatible IDEs: IntelliJ IDEA, WebStorm, PyCharm, PhpStorm, and other JetBrains IDEs
- Features: Implements MCP server in JetBrains IDEs, enabling Claude integration
Installation
NPM Package (Recommended)
# Global installation
npm install -g @bugstan/mcpxhub
# Or as a project dependency
npm install @bugstan/mcpxhub
From Source
# Clone the repository
git clone https://github.com/n2ns/MCPxHub.git
cd MCPxHub
# Install dependencies
npm install
# Build the project
npm run build
Building the Project
npm run build
Bundling into a Single File
npm run bundle
The bundled file will be located at dist/bundle.js.
Local Testing
Method 1: Using Test Script
Linux/macOS
# Give execution permission to the script
chmod +x test.sh
# Run test script
./test.sh [ide_type]
# Example:
./test.sh jetbrains
Windows
# Run test script
test.bat [ide_type] [mcp_server_port] [mcp_server]
# Example:
test.bat jetbrains 63342 127.0.0.1
Method 2: Manual Environment Variables
The .claude.example.json file in this repository contains a sample configuration for Claude Desktop. For manual testing with environment variables:
- Set environment variables directly:
# Enable logging
export LOG_ENABLED=true
# Set IDE type ('jetbrains' or 'vscode')
export IDE_TYPE=jetbrains
# Optionally specify MCP server address
# export MCP_SERVER=127.0.0.1
# Optionally specify MCP server port
# export MCP_SERVER_PORT=63342
- Run the bundled application:
node dist/bundle.js
Automatic Reconnection Feature
MCP x Hub now includes an automatic reconnection mechanism with adaptive polling:
- Even if IDE is not started yet when MCP x Hub starts, the program will continue running and wait for IDE to start
- Adaptive polling: 5 seconds when disconnected (quick reconnection), 30 seconds when stable (reduced overhead)
- Continuously attempts to connect without timeout, ensuring stability even if the IDE starts late
- If connection was previously successful but later disconnected, uses fast recovery to reconnect immediately
- Displays friendly status messages during reconnection process
This means you can start MCP x Hub and IDE in any order, and the system will automatically establish a connection.
Environment Variable Configuration
| Variable Name | Description | Default Value | |-----------------|--------------------|---------------| | LOG_ENABLED | Enable log output | false | | MCP_SERVER | MCP server address | 127.0.0.1 | | IDE_TYPE | IDE type | jetbrains | | MCP_SERVER_PORT | MCP server port | None |
Port Ranges
- JetBrains IDE: 63342-63352
- VS Code: 9960-9990
Connection Priority
- MCP_SERVER_PORT (if set) - Checks the specific port provided
- Cached endpoint - Reuses previously successful connection
- Scan port range based on IDE_TYPE:
- For jetbrains: Ports 63342-63352
- For vscode: Ports 9960-9990
- If IDE_TYPE is invalid or not set, tries JetBrains port range (63342-63352) as default
Troubleshooting
- If connection fails, ensure IDE is running with MCP Server plugin installed
- Check if firewall allows access to specified ports
- Enable LOG_ENABLED=true to see detailed logs
- For JetBrains IDE, default port is 63342
Technical Documentation
For detailed technical information, development guidelines, and integration instructions, see the docs directory.
Contributing
Please see CONTRIBUTING.md for details on how to contribute to this project.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Skills
Agent-Reach
98.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
98.4kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
headroom
75.6kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
50.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
