jetbrains-proxy-mcp-server
Provides a proxy to the JetBrains MCP server, enabling tools for file operations, refactoring, searching, and project management within JetBrains IDEs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jetbrains-proxy-mcp-serverOpen src/main.py"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
JetBrains Proxy MCP Server
Project Overview:
A Python-based proxy server for the JetBrains MCP (Model Context Protocol) server that acts as an intermediary between an MCP client and a JetBrains MCP server.
The core logic resides in
src/jetbrains_proxy_mcp_server/server.py, which handles the proxy server setup and transport layer. Thesrc/jetbrains_proxy_mcp_server/service/JetbrainsMCPServerProxy.pyclass manages the connection to the downstream JetBrains MCP server and proxies the tool calls. It also includes logic to handle path conversions between different path formats (WSL, Git Bash, Windows).
Configuration is managed through the src/jetbrains_proxy_mcp_server/properties/MCPServerProperties.py class,
which loads settings from a config.yaml file.
Features:
Proxy Functionality: Forwards requests from MCP clients to the JetBrains MCP server
Dual Transport Support: Works with both Server-Sent Events (SSE) and standard I/O (stdio)
Path Conversion: Handles file path conversions between different path formats (WSL, Git Bash, Windows)
Resilience: Built-in retry, timeout, and restart mechanisms for robust operation
Tool Filtering: Supports a curated list of JetBrains tools for controlled access
Installation
See pytools.sh
Usage: pytools.sh <command> [args...]
Commands:
test [pytest-args...] Always run pytest in project .venv (auto-create). If pytest missing, auto-install.
purge Remove temp/build files (.venv, build, dist, caches, *.egg-info, _version.py)
reinstall-system [pip-args...] Reinstall into SYSTEM Python. Pass extra args to 'pip install'. No purge.
Examples:
pytools.sh reinstall-system --break-system-packages
pytools.sh reinstall-system --no-build-isolation ".[dev]"
reinstall-venv [pip-args...] Reinstall into project .venv (auto-create). Pass extra args to 'pip install'. No purge.
Examples:
pytools.sh reinstall-venv
pytools.sh reinstall-venv --no-build-isolation ".[dev]"
upload <repository> [extra-pip-args...] Build (sdist+wheel) and upload via twine to the named repository (e.g. pypi, testpypi).
Pass extra args to 'pip install' after the default list.
Examples:
pytools.sh upload pypi
pytools.sh upload testpypi 'build==1.2.2' 'twine==5.0.0'
Env vars:
PYTHON_BIN Python command to use (default: python3)
VENV_DIR Virtualenv path (default: $script_dir/.venv)# Install the package using the provided script:
./pytools.sh reinstall-venv
./pytools.sh reinstall-system --break-system-packages
# Or install the package using pip:
pip install .Related MCP server: MCP Proxy Sidecar
Configuration
See also:
Create a config.yaml file to configure the proxy server. The server will look for this file in the following order:
Path specified by the
--configcommand line argumentconfig.yamlin the current directory~/.config/jetbrains-proxy-mcp-server/config.yaml
Example Configuration
# Server configuration
server-name: "JetBrains Proxy MCP Server"
transport: "sse" # or "stdio"
timeout: 60.0
sse-port: 41110
sse-debug-enabled: true
# JetBrains MCP server configuration
jetbrains-mcp-server:
name: "jetbrains-mcp-server"
url: "http://127.0.0.1:64342/sse"
timeout: 35.0
sse-read-timeout: 300.0
start-timeout: 120.0
stop-timeout: 30.0
max-attempts: 5
initial-backoff: 1.0
max-backoff: 60.0
backoff-multiplier: 3.0
debug-enabled: true
client-path-type: "wsl" # or ""windows_git_bash" or "windows"
server-path-type: "windows" # or "wsl" or "windows_git_bash"Proxy Server Properties
Property | Default | Description |
| JetBrains Proxy MCP Server | Name of the proxy server |
| sse | Transport type: "sse" or "stdio" |
| 41110 | Port for SSE server |
| true | Enable SSE debug mode |
| 60.0 | Timeout for tool calls in seconds |
JetBrains MCP Server Properties
Property | Default | Description |
| jetbrains-mcp-server | Name of the JetBrains MCP server |
| URL of the JetBrains MCP server | |
| {} | Additional headers for requests |
| 35.0 | Timeout for requests to JetBrains server |
| 300.0 | SSE read timeout |
| 120.0 | Timeout for server startup |
| 30.0 | Timeout for server shutdown |
| 5 | Maximum retry attempts |
| 1.0 | Initial backoff time in seconds |
| 60.0 | Maximum backoff time in seconds |
| 3.0 | Backoff multiplier for retries |
| wsl | Path type for the client |
| windows | Path type for the JetBrains server |
| true | Enable debug logging |
Environment Variables
See also:
Configuration can also be set using environment variables:
JETBRAINS_PROXY_MCP_SERVER_CONFIG- Path to config fileJETBRAINS_PROXY_MCP_SERVER_NAME- Server nameJETBRAINS_PROXY_MCP_SERVER_TRANSPORT- Transport typeJETBRAINS_PROXY_MCP_SERVER_TIMEOUT- Tool timeout
For stdio transport, you must set:
export SIMP_LOGGER_LOG_CONSOLE_ENABLED=FalseMCP Configuration
JSON
sse, wsl:
{
"mcpServers": {
"jetbrains": {
"url": "http://127.0.0.1:41110/sse"
}
}
}sse, windows:
{
"mcpServers": {
"jetbrains": {
"url": "http://127.0.0.1:41111/sse"
}
}
}stdio, windows:
pip install jetbrains-proxy-mcp-server --upgrade --force-reinstall --extra-index-url http://127.0.0.1:8081/repository/pypi-group/simple --trusted-host 127.0.0.1{
"mcpServers": {
"jetbrains": {
"command": "jetbrains-proxy-mcp-server",
"args": [
"--config",
"c:/Users/<USER>/.config/jetbrains-proxy-mcp-server/config.yaml"
],
"env": {
"SIMP_LOGGER_LOG_CONSOLE_ENABLED": "False",
"SIMP_LOGGER_LOG_LEVEL": "DEBUG"
}
}
}
}Running the Server
Start the server with:
jetbrains-proxy-mcp-server
# Or:
jetbrains-proxy-mcp-server --config /path/to/your/config.yamlIf no config path is provided, the server will search for a config.yaml file in the default locations.
Supported Tools
The proxy supports a curated list of JetBrains tools:
MCP Server v252.xxx
get_all_open_file_paths- Get paths of all open filesget_file_problems- Analyze file for errors and warningsget_file_text_by_path- Retrieve text content of a fileget_project_dependencies- Get project dependenciesget_project_modules- Get project modulesget_project_problems- Get project-wide problemslist_directory_tree- List directory contents in tree formatreformat_file- Reformat a filerename_refactoring- Rename a symbol across the projectreplace_text_in_file- Replace text in a filesearch_in_files_by_regex- Search files using regexsearch_in_files_by_text- Search files for text
Path Conversion
The proxy handles path conversions between different operating systems:
WSL:
/mnt/c/path/to/fileGit Bash:
/c/path/to/fileWindows:
C:\path\to\file
Configure client-path-type and server-path-type in your config to match your environments.
Development
Development Conventions
The project uses
setuptoolsfor packaging.Dependencies are managed in
pyproject.toml.The code follows standard Python conventions.
Logging is implemented using the
loggingmodule.The project uses
anyiofor asynchronous operations.The server uses
uvicornwhen running with the SSE transport.
Installing dependencies
To install the necessary dependencies, run:
uv sync --no-install-project --extra testTesting
Run tests with pytest:
./pytools test tests/test_xxx.py
# Or use the command directly:
pytest tests/test_xxx.py
# Or test all:
pytestDependencies
Python >= 3.10
mcp >= 1.4.0
pydantic >= 2.0
typing >= 3.7.4.3
pyyaml >= 6.0.2
anyio >= 4.3.0
License
This project is licensed under the MIT License. See the LICENSE file for details.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lumerix7/jetbrains-proxy-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server