Jetbrains

Developer tools

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

Your AI app calls the Jetbrains MCP server, which does the developer tools work and sends the result back to the chat.

About Jetbrains

Jetbrains is the official MCP server from JetBrains, filed in our directory under developer tools. A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio.

Jetbrains runs on your own machine: your AI app starts it with the command npx -y mcpServers and talks to it over standard input and output.

At a glance

Publisher
JetBrains, the company behind the product
Runs
Locally on your machine
Install from
Node.js package on npm: mcpServers
Written in
JavaScript
License
Apache-2.0
GitHub stars
962

How to set up Jetbrains

  1. Install Node.js on the machine that runs your AI app, because Jetbrains starts with npx and downloads its package on first run.
  2. Check the Jetbrains README for keys or settings; the registry lists none that Jetbrains requires.
  3. Add Jetbrains to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Jetbrains tools to confirm the connection.
  5. Run one read-only task with Jetbrains first, and keep your app asking before each tool call until the results look right.

Jetbrains compared with similar servers

  • Memorix by AVIDS2 has fewer GitHub stars than Jetbrains (960 against 962); Jetbrains is official while Memorix is a community server, and both run locally.
  • WebMCP (jasonjmcghee) by jasonjmcghee has more GitHub stars than Jetbrains (965 against 962); Jetbrains is official while WebMCP (jasonjmcghee) is a community server, and both run locally.
  • Android by CursorTouch has fewer GitHub stars than Jetbrains (941 against 962); Jetbrains is official while Android is a community server, and both run locally.

Before you connect Jetbrains

  • Give Jetbrains its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Jetbrains tool call until you trust what it does with them.
  • Treat text that Jetbrains fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Jetbrains on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Jetbrains

How marketing and sales teams put Jetbrains to work, by company size. Pick the size closest to yours and start Jetbrains on one use case.

Small business

  • A small business with a developer can use Jetbrains to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Jetbrains to explain and fix a marketing site issue without context switching between tools.
  • Jetbrains runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Jetbrains to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Jetbrains to keep scripts and automations documented and versioned as they change.
  • Start Jetbrains on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Jetbrains with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Jetbrains so web and marketing engineering share one reviewed way of working with AI.
  • Because Jetbrains comes from JetBrains, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Jetbrains README

From JetBrains/mcp-jetbrains on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

⚠️ Deprecated

This repository is no longer maintained. The core functionality has been integrated into all IntelliJ-based IDEs since version 2025.2. The built-in functionality works with SSE and JVM-based proxy (for STDIO) so this NPM package is no longer required.

Migration: Please refer to the official documentation for details on using the built-in functionality.

Issues & Support: For bugs or feature requests related to the built-in MCP functionality, please use the JetBrains YouTrack.

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

VS Code Installation

For one-click installation, click one of the install buttons below:

Manual Installation

Add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).

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

Optionally, you can add it to a file called .vscode/mcp.json in your workspace:

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

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

After installing the MCP Server Plugin, and adding the JSON to the config file, restart Claude Desktop, and make sure the Jetbrains product is open before restarting Claude Desktop.

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

Troubleshooting

Node.js Version Requirements

Problem: Error message: Cannot find module 'node:path'

Solution: MCP Proxy doesn't work on Node 16. Upgrade your Node.js installation to version 18 or later. Make sure that command in config points to the correct Node.js version. Try to use the full path to the latest version of NodeJS.

MacOS: Plugin Unable to Detect Node.js Installed via nvm

Problem: On MacOS, if you have Node.js installed through nvm (Node Version Manager), the MCP Server Plugin might be unable to detect your Node.js installation.

Solution: Create a symbolic link in /usr/local/bin pointing to your nvm npx executable:

which npx &>/dev/null && sudo ln -sf "$(which npx)" /usr/local/bin/npx

This one-liner checks if npx exists in your path and creates the necessary symbolic link with proper permissions.

Using MCP with External Clients or Docker Containers (LibreChat, Cline, etc.)

Problem: When attempting to connect to the JetBrains MCP proxy from external clients, Docker containers, or third-party applications (like LibreChat), requests to endpoints such as http://host.docker.internal:6365/api/mcp/list_tools may return 404 errors or fail to connect. Solution: There are two key issues to address:

  1. Enable External Connections:

In your JetBrains IDE, enable "Can accept external connections" in the Settings | Build, Execution, Deployment | Debugger.

  1. Configure with LAN IP and Port:

Use your machine's LAN IP address instead of host.docker.internal Explicitly set the IDE_PORT and HOST in your configuration Example configuration for LibreChat or similar external clients:

mcpServers:
  intellij:
    type: stdio
    command: sh
    args:
      - "-c"
      - "IDE_PORT=YOUR_IDEA_PORT HOST=YOUR_IDEA_LAN_IP npx -y @jetbrains/mcp-proxy"

Replace:

YOUR_IDEA_PORT with your IDE's debug port (found in IDE settings) YOUR_IDEA_LAN_IP with your computer's local network IP (e.g., 192.168.0.12)

How to build

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

Questions about Jetbrains

What is the Jetbrains MCP server?

A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio. Jetbrains is published by JetBrains, the company behind the product, on GitHub at JetBrains/mcp-jetbrains, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Jetbrains MCP server?

Add Jetbrains to your AI app's MCP config with the command npx -y mcpServers. In Claude Code, run claude mcp add --transport stdio jetbrains -- npx -y mcpServers. To run Jetbrains this way you need Node.js installed.

Does Jetbrains need an API key?

The registry lists no required keys for Jetbrains. Check the Jetbrains README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Jetbrains an official MCP server?

Yes. Jetbrains is published by JetBrains, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is Jetbrains under?

Jetbrains is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Jetbrains; the service it connects to has its own terms.