MCP.so
登录

Clj Kondo MCP Server

@Bigsy

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

Bigsy

提交者

Bill Hedworth

关于 Clj Kondo MCP Server

暂无概览

Clj Kondo MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "clj-kondo": {
      "command": "npx",
      "args": [
        "clj-kondo-mcp"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Clj Kondo MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Clj Kondo?

An MCP server that provides clj-kondo linting for Clojure/ClojureScript/EDN files, designed for Claude Code and desktop environments without built-in linting.

How to use Clj Kondo?

Install with npx clj-kondo-mcp or configure via MCP settings (e.g., for Cline). The server provides the lint_clojure tool, which accepts an absolute file path, directory path, or classpath string, plus optional configDir and level parameters. Run the server manually with node build/index.js after building.

Key features of Clj Kondo

  • Lint Clojure files via MCP tool calls
  • Supports all clj-kondo analysis capabilities
  • Optional explicit configuration directory support

Use cases of Clj Kondo

  • Lint Clojure code in Claude Code or desktop without built-in linting
  • Check for errors and warnings in Clojure/ClojureScript/EDN files
  • Automatically lint after editing by instructing your Claude.md
  • Integrate linting into IDEs via standard MCP settings

常见问题

1

What file types does lint_clojure support?

It lints `.clj`, `.cljs`, and `.cljc` files. It can also process a directory or a classpath string to lint all matching files recursively.

2

Do the file and configDir parameters need to be absolute paths?

Yes, both must be absolute paths because the MCP server runs as a separate process. Relative paths will not work correctly.

3

What is the default lint level if not specified?

The default level is `error`. You can override it with a parameter value like `warning`.

4

What dependencies are required to run this server?

You need clj-kondo installed and available on your system PATH, plus Node.js and npm (the server is installed via npm).

5

How do I configure this server for my IDE?

Add an entry to your MCP settings file (e.g., for Cline at `~/Library/Application Support/Code - Insiders/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`) with the command `npx` and args `["clj-kondo-mcp"]`.

评论

其他 分类下的更多 MCP 服务器