JetBrains代理服务器
服务器代理来自客户端到 JetBrains IDE 的请求。
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"jetbrains": {
"args": [
"-y",
"@jetbrains/mcp-proxy"
],
"command": "npx"
}
}
}
该服务需要配置环境变量:IDE_PORT
服务介绍
JetBrains MCP 代理服务器
该服务器将客户端请求代理到 JetBrains IDE。
安装 MCP 服务器插件
https://plugins.jetbrains.com/plugin/26071-mcp-server
与 Claude Desktop 一起使用
要与 Claude Desktop 一起使用,请在您的 claude_desktop_config.json 文件中添加以下内容。在 MacOS 上的完整路径为:~/Library/Application\ Support/Claude/claude_desktop_config.json,在 Windows 上为:%APPDATA%/Claude/claude_desktop_config.json。
{
"mcpServers": {
"jetbrains": {
"command": "npx",
"args": ["-y", "@jetbrains/mcp-proxy"]
}
}
}
配置
如果您正在运行多个带有 MCP 服务器的 IDE,并且希望连接到特定的一个,请在 MCP 服务器配置中添加:
"env": {
"IDE_PORT": "<port of IDE's built-in webserver>"
}
默认情况下,我们连接到 127.0.0.1 上的 IDE,但您可以指定不同的地址/主机:
"env": {
"HOST": "<host/address of IDE's built-in webserver>"
}
要启用日志记录,请添加:
"env": {
"LOG_ENABLED": "true"
}
如何构建
- 在 macOS 上测试
brew install node pnpm- 运行
pnpm build来构建项目