clj-kondo-MCP
1
The clj-kondo MCP Server is a Model Context Protocol server that extends clj-kondo's linting capabilities to Clojure-related files through MCP tool calls. It supports extensive analysis features and allows for direct configuration of the linting environment.
clj-kondo MCP Server
A Model Context Protocol (MCP) server that provides clj-kondo linting capabilities for Clojure/ClojureScript/EDN files. Handy for environments where there are no built-in linting capabilities.
Features
- Lint Clojure files via MCP tool calls
- Supports all clj-kondo analysis capabilities
- Optional explicit configuration directory support
Installation
Quick Install
Install via npx or IDE configuration.
Manual Installation
- Install clj-kondo and ensure it is on PATH.
- Install npm dependencies.
- Build the server.
Usage
Running the Server
Run the server via the built index.js file.
MCP Tool Calls
Supports linting for Clojure/ClojureScript/EDN content with configurable parameters.
For more configuration details, refer to the official documentation.