clj-kondo MCP 서버
Clojure/ClojureScript/EDN 파일에 clj-kondo 린팅 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 린팅 기능이 내장되지 않은 Claude 코드와 데스크톱 환경에서 유용합니다. CLAUDE.md 파일을 편집한 후 린팅을 수행하도록 설정하는 것을 고려해 보세요.
특징
- MCP 도구 호출을 통한 Lint Clojure 파일
- 모든 clj-kondo 분석 기능을 지원합니다
- 선택적 명시적 구성 디렉토리 지원
설치
빠른 설치
지엑스피1
또는 IDE 구성
수동 설치
- clj-kondo 설치: clj-kondo가 설치되어 있고 시스템 PATH에 등록되어 있는지 확인하세요. 해당 플랫폼의 설치 지침을 참조하세요.
- 종속성 설치:
- 서버를 빌드하세요:
용법
서버 실행
MCP 도구 호출
서버는 하나의 도구를 제공합니다.
lint_clojure - Clojure/ClojureScript/EDN 콘텐츠 Lint
매개변수:
file
매개변수는 다음을 허용합니다.
- 단일 파일 경로(예: "/path/to/src/my_file.clj")
- 디렉토리 경로(예: "/path/to/src") - 모든 .clj, .cljs 및 .cljc 파일을 재귀적으로 조사합니다.
- 클래스 경로 문자열 - 클래스 경로에 있는 모든 Clojure 파일을 검사합니다.
- Leiningen 프로젝트의 경우:
lein classpath
의 출력을 사용하세요. - deps.edn 프로젝트의 경우:
clojure -Spath
의 출력을 사용하세요.
- Leiningen 프로젝트의 경우:
참고 : MCP 서버는 별도의 프로세스로 실행되므로 file 및 configDir 매개변수는 모두 절대 경로여야 합니다. 상대 경로는 제대로 작동하지 않습니다.
기본적으로 clj-kondo는 현재 및 상위 디렉터리의 .clj-kondo
디렉터리에서 구성을 자동으로 검색합니다. configDir
매개변수를 지정하여 특정 구성 디렉터리를 가리키도록 하면 이 설정을 재정의할 수 있습니다.
clj-kondo 구성에 대한 자세한 내용은 공식 문서를 참조하세요.
구성
MCP 설정 파일에 다음을 추가합니다(Cline의 경우 ~/Library/Application Support/Code - Insiders/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
에 위치).
수동 빌드의 경우 다음을 사용하세요.
짓다
시청 모드
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
Clojure/ClojureScript/EDN 파일에 대한 clj-kondo 린팅 기능을 제공하는 모델 컨텍스트 프로토콜 서버로, Claude 코드 및 데스크톱과 같이 기본 제공 린팅 기능이 부족한 환경에 유용합니다.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.Last updated -121PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.Last updated -61223JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables Large Language Models like Claude to manage Linode cloud resources, including listing regions, creating, viewing, deleting, and rebooting Linode instances.Last updated -1PythonMIT License
Appeared in Searches
- Information about Java programming language or Java-related topics
- Using separate agents for schema validation, code standards, and directory structure enforcement in development workflows
- API Documentation for Libraries and Frameworks
- Finding the Top 10 Most Frequently Pulled Packages from Nexus Repository
- Editing IDE Code Files in JetBrains