본문 바로가기

Programming!

IntelliJ MCPServer + Claude

1. IntelliJ의 플러그인 마켓에서 MCP Server 설치

 

2. Claude 실행 후 설정으로 이동.

 

3. 설정 편집을 클릭하면 파인더가 열리고 json config 파일이 선택되어 있다.

 

4. claude_desktop_config.json 파일을 텍스트 편집기로 열어 아래 내용을 추가한다. 기본은 {} 만 되어 있다.

{
  "mcpServers": {
    "jetbrains": {
      "command": "npx",
      "args": ["-y", "@jetbrains/mcp-proxy"]
    }
  }
}

 

여기까지 하고 claude 와 intellij 완전 종료후 실행하면 연동이 되는데.. 

Backend 개발자의 경우 노드가 로컬에 없을 수 있어서, claude 실행시 오류가 날 수 있다. config 파일을 보면 알 수 있겠지만 npx 가 필요하다. 

 

Install

#> brew install node pnpm

 

이제 내 로컬의 프로젝트를 읽어서 build.gradle.kts 를 분석하고 중복확인을 요청해보자.

 

잘 읽고 또 분석도 잘하고..

 

 

참고

https://modelcontextprotocol.io/quickstart/server

 

For Server Developers - Model Context Protocol

Since this is the US National Weather service, the queries will only work for US locations.

modelcontextprotocol.io