mcp-jetbrains
OfficialJetBrains MCP プロキシサーバー
サーバーはクライアントからのリクエストを JetBrains IDE にプロキシします。
MCPサーバープラグインをインストールする
https://plugins.jetbrains.com/plugin/26071-mcp-server
Related MCP server: JetBrains MCP Proxy 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 を実行していて、特定の 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"
}トラブルシューティング
Node.jsのバージョン要件
**問題:**エラー メッセージ: Cannot find module 'node:path'
解決策: MCP ProxyはNode 16では動作しません。Node.jsをバージョン18以降にアップグレードしてください。config commandが正しいNode.jsバージョンを指していることを確認してください。最新バージョンのNode.jsへのフルパスを使用してみてください。
MacOS: プラグインが nvm 経由でインストールされた Node.js を検出できない
問題: MacOS で、nvm (Node Version Manager) を介して Node.js がインストールされている場合、MCP サーバー プラグインは Node.js のインストールを検出できない可能性があります。
解決策: nvm npx 実行可能ファイルを指すシンボリック リンクを/usr/local/binに作成します。
which npx &>/dev/null && sudo ln -sf "$(which npx)" /usr/local/bin/npxこのワンライナーは、パスに npx が存在するかどうかを確認し、適切な権限で必要なシンボリック リンクを作成します。
外部クライアントまたは Docker コンテナ (LibreChat、Cline など) で MCP を使用する
**問題:**外部クライアント、Dockerコンテナ、またはサードパーティ製アプリケーション(LibreChatなど)からJetBrains MCPプロキシに接続しようとすると、 http://host.docker.internal:6365/api/mcp/list\_toolsなどのエンドポイントへのリクエストで404エラーが返されたり、接続に失敗したりすることがあります。**解決策:**対処すべき重要な問題が2つあります。
外部接続を有効にする:
JetBrains IDE で、 *[設定] | [ビルド、実行、デプロイメント] | [デバッガー]*の [外部接続を受け入れる] を有効にします。
LAN IP とポートを設定します。
host.docker.internalの代わりにマシンの LAN IP アドレスを使用します。構成で IDE_PORT と HOST を明示的に設定します。LibreChat または同様の外部クライアントの構成例:
mcpServers:
intellij:
type: stdio
command: sh
args:
- "-c"
- "IDE_PORT=YOUR_IDEA_PORT HOST=YOUR_IDEA_LAN_IP npx -y @jetbrains/mcp-proxy"交換する:
YOUR_IDEA_PORTは IDE のデバッグ ポート (IDE 設定で確認できます)、 YOUR_IDEA_LAN_IPはコンピュータのローカル ネットワーク IP (例: 192.168.0.12) です。
構築方法
macOSでテスト済み
brew install node pnpmpnpm build実行してプロジェクトをビルドします
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server to assist with JxBrowser development.
Repository knowledge graph MCP server for codebase understanding and debugging.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Collaborative whiteboard MCP server — create objects, connectors, C4 diagrams, and manage boards
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA server implementation that provides a unified interface for OpenAI services, Git repository analysis, and local filesystem operations through REST API endpoints.GPL 3.0
- -licenseNot gradedqualityNot gradedmaintenanceA proxy server that enables communication between clients (like Claude AI or VS Code) and JetBrains IDEs, allowing AI assistants to access IDE functionality.0-
- FlicenseNot gradedqualityDmaintenanceA bridge that enables MCP clients like Cascade and Windsurf to interact with tools and features within JetBrains IDEs. It facilitates communication between the client and the IDE via an SSE connection on a dedicated local port.-
- AlicenseNot gradedqualityDmaintenanceProxies MCP requests from Cursor IDE to a custom HTTP server, enabling custom tool integrations.8 npm1ISC
Appeared in Searches
- MCP servers for IntelliJ GitHub Copilot integration with Hibernate HQL support
- A system for task management and integration with AI editors using multiple LLMs
- Tool to analyze backend code, connect with Jira, and automate coding tasks
- Software or solutions for managing a fleet of computers
- Coding tools to understand and manage a large codebase like MCP, CLINE, or ROOCODE