MCPcopy Index your code
hub / github.com/JetBrains/mcp-jetbrains

github.com/JetBrains/mcp-jetbrains @v1.9.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.9.0 ↗ · + Follow
9 symbols 23 edges 1 files 6 documented · 67%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

official JetBrains project

JetBrains MCP Proxy Server

The server proxies requests from client to JetBrains IDE.

Install MCP Server plugin

https://plugins.jetbrains.com/plugin/26071-mcp-server

Usage with Claude Desktop

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.

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

Configuration

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>"
}

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"
}

How to build

  1. Tested on macOS
  2. brew install node pnpm
  3. Run pnpm build to build the project

Extension points exported contracts — how you extend this code

IDEResponseOk (Interface)
(no doc)
src/index.ts
IDEResponseErr (Interface)
(no doc)
src/index.ts

Core symbols most depended-on inside this repo

log
called by 39
src/index.ts
testListTools
called by 3
src/index.ts
sendToolsChanged
called by 1
src/index.ts
findWorkingIDEEndpoint
called by 1
src/index.ts
updateIDEEndpoint
called by 1
src/index.ts
handleToolCall
called by 1
src/index.ts
runServer
called by 1
src/index.ts

Shape

Function 7
Interface 2

Languages

TypeScript100%

Modules by API surface

src/index.ts9 symbols

For agents

$ claude mcp add mcp-jetbrains \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page