The JetBrains MCP Proxy Server enables seamless integration between AI assistants and JetBrains IDEs like IntelliJ IDEA, PyCharm, WebStorm, and Android Studio. This integration allows AI models to access your project's code context, navigate files, and understand your development environment. With this tool, AI assistants can provide more relevant and contextual coding assistance by having direct access to your IDE's capabilities. The proxy server acts as a bridge between AI clients and the JetBrains IDE, enabling a more productive coding experience with AI assistance.
The JetBrains MCP Proxy Server creates a connection between AI assistants and JetBrains IDEs, allowing AI models to access your code context and provide more relevant assistance.
You can use one-click installation or manual configuration:
One-click installation:
Manual configuration: Add the following to your VS Code User Settings (JSON):
{
"mcp": {
"servers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}
}
Alternatively, you can add it to .vscode/mcp.json
in your workspace.
Add the following to your claude_desktop_config.json
:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}
After configuration, restart Claude Desktop with your JetBrains IDE already open.
If you're running multiple IDEs with the MCP server plugin, you can connect to a specific one by adding:
"env": {
"IDE_PORT": "<port of IDE's built-in webserver>"
}
By default, the proxy connects to IDE on 127.0.0.1, but you can specify a different address:
"env": {
"HOST": "<host/address of IDE's built-in webserver>"
}
To enable logging for troubleshooting:
"env": {
"LOG_ENABLED": "true"
}
If you encounter the error Cannot find module 'node:path'
, you need to upgrade to Node.js 18 or later. The MCP Proxy doesn't work with Node 16.
If you installed Node.js via nvm on macOS and the plugin can't detect it, create a symbolic link:
which npx &>/dev/null && sudo ln -sf "$(which npx)" /usr/local/bin/npx
When connecting from external clients or Docker containers:
"env": {
"IDE_PORT": "YOUR_IDEA_PORT",
"HOST": "YOUR_IDEA_LAN_IP"
}
Once configured, your AI assistant will be able to:
Make sure your JetBrains IDE is running before starting your AI assistant client.