Skip to content
blog.chrisyuan.me
Go back

在 Claude Desktop 上使用 JetBrains MCP Server

Edit page

Table of contents

Open Table of contents

%[https://github.com/JetBrains/mcp-jetbrains]

JetBrains 有提供 MCP Server plugin 可以讓 MCP client 使用,照 JetBrains/mcp-jetbrains 的說明文件在 Claude Desktop 設定會出現以下錯誤:

env: node: No such file or directory

原來是因為我的 Node.js 是特別安裝 v22(LTS),Claude Desktop 的 PATH 環境變數抓不到 node 的路徑,把設定檔加上 env attribute 後就可以用了

{
  "mcpServers": {
    "jetbrains": {
      "command": "npx",
      "args": [
        "-y",
        "@jetbrains/mcp-proxy"
      ],
      "env": {
        "PATH": "/opt/homebrew/opt/node@22/bin:/usr/local/bin:/usr/bin:/bin",
        "NODE_PATH": "/opt/homebrew/opt/node@22/lib/node_modules"
      }
    }
  }
}


Edit page
Share this post on:

Previous Post
國家權力的循環動力學:經濟、政治與軍事的相互依存關係 Economic, Political ,Military Cycle
Next Post
台灣 2022 年 18 歲公民權修憲案 Taiwan's 2022 Constitutional Amendment on Voting Age