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
            F
            license
            -
            quality
            Server that enhances the capabilities of the Cline coding agent. It provides intelligent code suggestions, reduces hallucinations, and documents the knowledge base by leveraging your project's documentation and detecting the technologies used in your codebase.
            Last updated -
            12
            JavaScript
          • A
            security
            F
            license
            A
            quality
            The server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.
            Last updated -
            4
            16
            Python
            • Apple
          • A
            security
            F
            license
            A
            quality
            A server that provides tools and utilities to support the implementation of Jij Modeling, featuring easy configuration and an extensible architecture for custom modeling workflows.
            Last updated -
            2
            3
            Python
          • -
            security
            F
            license
            -
            quality
            A server that enables AI assistants to control a browser through tools, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.
            Last updated -
            TypeScript

          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