Skip to main content
Glama

mcp-jetbrains

Official
by JetBrains

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 を実行していて、特定の 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つあります。

  1. 外部接続を有効にする:

JetBrains IDE で、 *[設定] | [ビルド、実行、デプロイメント] | [デバッガー]*[外部接続を受け入れる] を有効にします。

  1. 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) です。

構築方法

  1. macOSでテスト済み
  2. brew install node pnpm
  3. pnpm build実行してプロジェクトをビルドします
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

サーバーはクライアントからのリクエストを JetBrains IDE にプロキシします。

  1. MCPサーバープラグインをインストールする
    1. Claude Desktopでの使用
      1. 構成
        1. トラブルシューティング
          1. Node.jsのバージョン要件
          2. MacOS: プラグインが nvm 経由でインストールされた Node.js を検出できない
          3. 外部クライアントまたは Docker コンテナ (LibreChat、Cline など) で MCP を使用する
        2. 構築方法

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A proxy server that enables AI assistants to run and interact with command-line applications like Expo through the Model Context Protocol (MCP), capturing logs and allowing keypress forwarding.
            Last updated -
            12
            6
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            A modified JetBrains MCP Server that adds WebSocket monitoring capabilities, allowing users to monitor MCP tool calls in real-time while maintaining compatibility with the original implementation.
            Last updated -
            JavaScript
            Apache 2.0
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables IDEs like Cursor and Windsurf to analyze large codebases using Gemini's extensive context window.
            Last updated -
            17
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            A server that exposes the Jadx decompiler API over HTTP, enabling Claude to interact with decompiled Java/Android code to list classes, fetch source code, inspect methods/fields, and extract code live.
            Last updated -
            42
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/JetBrains/mcp-jetbrains'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server