The server proxies requests from client to JetBrains IDE.
https://plugins.jetbrains.com/plugin/26071-mcp-server
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, on Linux ~/.config/Claude/claude_desktop_config.json.
{
"mcpServers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@rosite/mcp-proxy"]
}
}
}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>",
"TOOL_PREFIX": "<prefix>_"
}The IDE_PORT can be changed in Settings > Build, Execution, Deployment > Debugger.
"phpstorm": {
"command": "npx",
"args": ["-y", "@rosite/mcp-proxy"],
"env": {
"IDE_PORT": "63342",
"TOOL_PREFIX": "phpstorm_"
}
},
"webstorm": {
"command": "npx",
"args": ["-y", "@rosite/mcp-proxy"],
"env": {
"IDE_PORT": "63343",
"TOOL_PREFIX": "webstorm_"
}
}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"
}- Tested on macOS
brew install node pnpm- Run
pnpm buildto build the project