Purpose
JetBrains MCP Proxy Server is a Model Context Protocol (MCP) server used to let clients work with JetBrains IDEs (such as IntelliJ, PyCharm, WebStorm, etc.) as well as Android Studio. This server proxies requests from clients to the JetBrains IDE.
Main capabilities
- Acts as an MCP proxy server, forwarding requests between clients and JetBrains IDEs.
- Supports use with a variety of JetBrains IDEs, including IntelliJ, PyCharm, WebStorm, etc., and is also suitable for Android Studio.
Usage
Install the MCP Server plugin
The MCP Server plugin must be installed. The plugin address is:https://plugins.jetbrains.com/plugin/26071-mcp-server
VS Code installation
One-click installation is supported (click the install button), and manual installation is also possible: add the JSON block to the VS Code user settings (JSON) file (which can be opened by pressing Ctrl + Shift + P and entering Preferences: Open User Settings (JSON)), or choose to add it to the .vscode/mcp.json file in the workspace.
Use with Claude Desktop
Add the corresponding configuration in claude_desktop_config.json. Full path on MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json; Windows: %APPDATA%/Claude/claude_desktop_config.json. After installing the MCP Server plugin and adding the JSON to the configuration file, restart Claude Desktop, and make sure the JetBrains product is open before restarting Claude Desktop.
If you run multiple IDEs with MCP servers and want to connect to a specific IDE, you can add the corresponding setting in the MCP server configuration. By default it connects to the IDE on 127.0.0.1, but a different address/host can be specified. To enable logging, you can add the corresponding configuration.
Applicable scenarios
Suitable for development scenarios that need to interact with clients (such as Claude Desktop, VS Code, etc.) through the MCP protocol in JetBrains IDEs or Android Studio.
Limitations and notes
- 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 supports SSE and a JVM-based proxy (for STDIO), so this NPM package is no longer needed.
- Migration: please refer to the official documentation for details on using the built-in functionality.
- Issues and support: for bugs or feature requests related to the built-in MCP functionality, please use JetBrains YouTrack.
Troubleshooting
- Node.js version requirement: Problem: error message Cannot find module 'node:path'. Solution: MCP Proxy cannot run on Node 16. Upgrade Node.js to 18 or later. Make sure the command in the configuration points to the correct Node.js version. Try using the full path to the latest NodeJS version.
- MacOS: the plugin cannot detect Node.js installed via nvm. Problem: on MacOS, if Node.js is installed via nvm (Node Version Manager), the MCP Server plugin may not be able to detect the Node.js installation. Solution: create a symbolic link in /usr/local/bin pointing to the nvm npx executable. This one-line command checks whether npx exists in the path and creates the necessary symbolic link with appropriate permissions.
- Using MCP with external clients or Docker containers (LibreChat, Cline, etc.). Problem: when trying to connect to the JetBrains MCP proxy from an external client, Docker container, or third-party application (such as LibreChat), for http://host.docker.internal:6365/api/mcp/list_tools Requests to endpoints such as these may return a 404 error or a connection failure. Solution: two key issues need to be resolved: enable external connections: in JetBrains IDE, enable Can accept external connections in Settings | Build, Execution, Deployment | Debugger. Configure using the LAN IP and port: use the machine's LAN IP address instead of host.docker.internal, and explicitly set IDE_PORT and HOST in the configuration. Example configuration for LibreChat or similar external clients: replace YOUR_IDEA_PORT with the IDE's debug port (which can be found in the IDE settings), and replace YOUR_IDEA_LAN_IP with the computer's local network IP (for example, 192.168.0.12).
Build (tested on macOS)
brew install node pnpm Run pnpm build to build the project.