Overview
JetBrains MCP Server Plugin enables seamless integration between Large Language Models (LLMs) and JetBrains IDEs, providing a server-side implementation for handling Model Context Protocol (MCP) requests and allowing for the creation of custom tools.
To use the plugin, install the JetBrains MCP Proxy and a JetBrains IDE (like IntelliJ IDEA or WebStorm). You can then create and register custom tools by extending the AbstractMcpTool class and defining your tool's logic.
- Integration with Large Language Models (LLMs) in JetBrains IDEs - Extension point system for custom tool implementation - Detailed guidelines for creating and registering tools
- Developing custom tools that leverage LLMs for code suggestions.
- Enhancing IDE functionality with tailored features for specific projects.
- Facilitating the integration of AI-driven features into existing JetBrains IDEs.
Add to your AI client
Use these steps to connect JetBrains MCP Server Plugin in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-plugin-jetbrains": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-plugin-jetbrains"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-plugin-jetbrains": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-plugin-jetbrains"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-plugin-jetbrains": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-plugin-jetbrains"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-plugin-jetbrains": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-plugin-jetbrains"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-plugin-jetbrains": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-plugin-jetbrains"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-plugin-jetbrains": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-plugin-jetbrains"
]
}
}
}FAQ
What is the purpose of the MCP Server Plugin?
The MCP Server Plugin allows developers to integrate LLMs into JetBrains IDEs, enhancing the development experience with AI capabilities.
How do I create a custom tool?
You can create a custom tool by extending the `AbstractMcpTool` class and implementing the required methods.
Is there documentation available for the plugin?
Yes, the plugin includes detailed documentation on how to implement and register custom tools.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1750,"uuid":"bd51846a-3732-438e-8634-d9be3f46e1f2","name":"mcp-server-plugin","title":"JetBrains MCP Server Plugin","description":"JetBrains MCP Server Plugin","avatar_url":"https://avatars.githubusercontent.com/u/878437?v=4","created_at":"2025-03-05T05:09:20.603Z","updated_at":"2025-03-12T10:20:32.536Z","status":"created","author_name":"JetBrains","author_avatar_url":"https://avatars.githubusercontent.com/u/878437?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/JetBrains/mcp-server-plugin","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/1dea428deb943899249c265458dfad53881bf7f537a4c19aa7d4c99583084c1a/687474703a2f2f6a622e67672f6261646765732f696e63756261746f722d666c61742d7371756172652e737667","type":null,"metadata":"{\"star\":\"60\",\"license\":\"Apache-2.0 license\",\"language\":\"Kotlin\",\"is_official\":false,\"latest_commit_time\":\"2025-04-11 15:31:57\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]