MCP HubMCP Hub
JetBrains

mcp-jetbrains

by: JetBrains

A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio

307created 09/12/2024
Visit
IDE
JetBrains

📌Overview

Purpose: The JetBrains MCP Proxy Server facilitates communication between client applications and JetBrains Integrated Development Environments (IDEs) by proxying requests.

Overview: This framework acts as a server that proxies requests from clients to JetBrains IDEs, enabling seamless integration and interaction with IDE features.

Key Features:

  • Easy Integration with Claude Desktop: Allows for straightforward configuration with the Claude Desktop application, enhancing user experience by simplifying setup through a configuration file.

  • Customizable Configuration: Users can specify individual IDE connection settings such as port and host address, enabling tailored setups for different development environments.


JetBrains MCP Proxy Server

The JetBrains MCP Proxy Server acts as a bridge between client requests and JetBrains IDE.

Installation

To install the MCP Server plugin, visit JetBrains Plugin Marketplace.

Usage with Claude Desktop

To integrate with Claude Desktop, update your claude_desktop_config.json file:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

Add the following configuration:

{
  "mcpServers": {
    "jetbrains": {
      "command": "npx",
      "args": ["-y", "@jetbrains/mcp-proxy"]
    }
  }
}

Configuration

For multiple IDEs with the MCP server, specify the IDE's built-in web server port in the configuration:

"env": {
  "IDE_PORT": "<port of IDE's built-in webserver>"
}

To connect to a different address/host:

"env": {
  "HOST": "<host/address of IDE's built-in webserver>"
}

To enable logging, set:

"env": {
  "LOG_ENABLED": "true"
}

Building the Project

  1. Tested on macOS.
  2. Install dependencies:
    brew install node pnpm
    
  3. Build the project with:
    pnpm build