
一款可与JetBrains IDE如IntelliJ、PyCharm、WebStorm等合作的模型上下文协议服务器。同时,也支持Android Studio。
概览
自2025.2版本起,核心功能已集成到所有基于IntelliJ的IDE中。内置功能支持SSE和基于JVM的代理(针对STDIO),因此此NPM包不再需要。 有关如何使用内置功能的详细信息,请参阅官方文档。 对于与内置MCP功能相关的错误或功能请求,请使用JetBrains YouTrack%7D%20。 服务器将客户端向 JetBrains IDE 的请求进行代理。 https://plugins.jetbrains.com/plugin/26071-mcp-server 点击以下安装按钮之一即可一键安装: 在VS Code中将以下JSON块添加到用户设置(JSON)文件中。你可以按Ctrl + Shift + P,并输入“偏好设置:打开用户设置(JSON)”来实现。 你可以选择地将其添加到工作区中的一个名为 .vscode/mcp.json 的文件中:
概述(AI 翻译)
该仓库已不再维护。 自2025.2版本起,核心功能已集成到所有基于IntelliJ的IDE中。 内置功能支持基于 SSE 和基于 JVM 的代理(针对 STDIO),因此该 NPM 包不再必要。
迁移: 有关使用内置功能的详细信息,请参阅官方文档。
问题与支持: 对于与内置MCP功能相关的错误或功能请求,请使用JetBrains YouTrack%7D%20。
JetBrains MCP 代理服务器
服务器将客户端向 JetBrains IDE 的请求进行代理。
安装MCP服务器插件
https://plugins.jetbrains.com/plugin/26071-mcp-server
VS 代码安装
点击以下安装按钮之一即可一键安装:
手动安装
在VS Code中将以下JSON块添加到用户设置(JSON)文件中。你可以按Ctrl + Shift + P并输入Preferences: Open User Settings (JSON)。
你可以选择地将其添加到工作区中的一个名为.vscode/mcp.json的文件中:
使用 Claude Desktop
要在 Claude Desktop 中使用,请在你的 claude_desktop_config.json 中添加以下内容。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
⚠️ 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
安装
npx -y @jetbrains/mcp-proxy配置
{
"mcpServers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}