The JetBrains MCP Proxy Server enables seamless integration between AI assistants and JetBrains IDEs like IntelliJ IDEA, PyCharm, WebStorm, and Android Studio. It acts as a bridge that allows AI models to access and interact with your development environment, providing context-aware assistance directly within your coding workflow. This integration enhances productivity by allowing AI tools to understand your project structure, code, and development context.
The JetBrains MCP Proxy Server enables AI assistants to interact with JetBrains IDEs by proxying requests between them. This allows AI models to access your code, project structure, and other IDE context to provide more relevant assistance.
You can use the proxy with npm/npx:
# Install globally
npm install -g @jetbrains/mcp-proxy
# Or use directly with npx
npx -y @jetbrains/mcp-proxy
To use with Claude Desktop, 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"]
}
}
}
If you're running multiple IDEs with the MCP server and want to connect to a specific one, add to your MCP server configuration:
"env": {
"IDE_PORT": "<port of IDE's built-in webserver>"
}
To specify a different address/host (default is 127.0.0.1):
"env": {
"HOST": "<host/address of IDE's built-in webserver>"
}
To enable logging:
"env": {
"LOG_ENABLED": "true"
}
If you prefer to build the proxy from source:
git clone https://github.com/JetBrains/mcp-jetbrains.git
pnpm install
pnpm build
Once configured, AI assistants that support the Model Context Protocol can:
The MCP server runs in the background, facilitating communication between your AI assistant and the JetBrains IDE.