by JetBrains
Provides a proxy that forwards Model Context Protocol requests from external clients to JetBrains IDEs, enabling code‑related assistance tools to interact with IntelliJ‑based editors.
The proxy server acts as a bridge between MCP‑enabled clients (e.g., VS Code extensions, Claude Desktop, LibreChat) and JetBrains IDEs such as IntelliJ IDEA, PyCharm, WebStorm, and Android Studio. It launches a lightweight Node.js process that relays HTTP/STDIO calls to the IDE’s built‑in MCP endpoint.
26071-mcp-server
).npx -y @jetbrains/mcp-proxy
.IDE_PORT
, HOST
, LOG_ENABLED
) to target a specific IDE instance or enable logging.http://127.0.0.1:6365
(default).npx
to run the proxy without a global package install.HOST
and IDE_PORT
env vars.LOG_ENABLED=true
.IDE_PORT
and HOST
to the machine’s LAN IP.This repository is no longer maintained. The core functionality has been integrated into all IntelliJ-based IDEs since version 2025.2. The built-in functionality works with SSE and JVM-based proxy (for STDIO) so this NPM package is no longer required.
Migration: Please refer to the official documentation for details on using the built-in functionality.
Issues & Support: For bugs or feature requests related to the built-in MCP functionality, please use the JetBrains YouTrack.
The server proxies requests from client to JetBrains IDE.
https://plugins.jetbrains.com/plugin/26071-mcp-server
For one-click installation, click one of the install buttons below:
Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P
and typing Preferences: Open User Settings (JSON)
.
{
"mcp": {
"servers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}
}
Optionally, you can add it to a file called .vscode/mcp.json
in your workspace:
{
"servers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}
To use this with Claude Desktop, add the following to your claude_desktop_config.json
.
The full path on MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
, on Windows: %APPDATA%/Claude/claude_desktop_config.json
.
{
"mcpServers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}
After installing the MCP Server Plugin, and adding the JSON to the config file, restart Claude Desktop, and make sure the Jetbrains product is open before restarting Claude Desktop.
If you're running multiple IDEs with MCP server and want to connect to the specific one, add to the MCP server configuration:
"env": {
"IDE_PORT": "<port of IDE's built-in webserver>"
}
By default, we connect to IDE on 127.0.0.1 but you can specify a different address/host:
"env": {
"HOST": "<host/address of IDE's built-in webserver>"
}
To enable logging add:
"env": {
"LOG_ENABLED": "true"
}
Problem: Error message: Cannot find module 'node:path'
Solution:
MCP Proxy doesn't work on Node 16.
Upgrade your Node.js installation to version 18 or later. Make sure that command
in config points to the correct Node.js version.
Try to use the full path to the latest version of NodeJS.
Problem: On MacOS, if you have Node.js installed through nvm (Node Version Manager), the MCP Server Plugin might be unable to detect your Node.js installation.
Solution: Create a symbolic link in /usr/local/bin
pointing to your nvm npx executable:
which npx &>/dev/null && sudo ln -sf "$(which npx)" /usr/local/bin/npx
This one-liner checks if npx exists in your path and creates the necessary symbolic link with proper permissions.
Problem: When attempting to connect to the JetBrains MCP proxy from external clients, Docker containers, or third-party applications (like LibreChat), requests to endpoints such as http://host.docker.internal:6365/api/mcp/list_tools may return 404 errors or fail to connect. Solution: There are two key issues to address:
In your JetBrains IDE, enable "Can accept external connections" in the Settings | Build, Execution, Deployment | Debugger.
Use your machine's LAN IP address instead of host.docker.internal
Explicitly set the IDE_PORT and HOST in your configuration
Example configuration for LibreChat or similar external clients:
mcpServers:
intellij:
type: stdio
command: sh
args:
- "-c"
- "IDE_PORT=YOUR_IDEA_PORT HOST=YOUR_IDEA_LAN_IP npx -y @jetbrains/mcp-proxy"
Replace:
YOUR_IDEA_PORT
with your IDE's debug port (found in IDE settings)
YOUR_IDEA_LAN_IP
with your computer's local network IP (e.g., 192.168.0.12)
brew install node pnpm
pnpm build
to build the projectPlease log in to share your review and rating for this MCP.
{ "mcpServers": { "jetbrains": { "command": "npx", "args": [ "-y", "@jetbrains/mcp-proxy" ], "env": { "IDE_PORT": "<IDE_PORT>", "HOST": "<HOST>", "LOG_ENABLED": "<true|false>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.