clj-kondo MCP Server
clj-kondo MCP サーバー
Clojure/ClojureScript/EDNファイル用のclj-kondoリンティング機能を提供するモデルコンテキストプロトコル(MCP)サーバーです。Claudeコードやデスクトップ版で、組み込みのリンティング機能がない環境で便利です。CLAUDE.mdを編集後、リンティングを実行するように設定することを検討してください。
特徴
MCPツール呼び出しによるClojureファイルのLint
すべてのclj-kondo分析機能をサポート
オプションの明示的な構成ディレクトリのサポート
Related MCP server: shadow-cljs-mcp
インストール
クイックインストール
npx clj-kondo-mcpまたはIDE設定
{
"mcpServers": {
"clj-kondo": {
"command": "npx",
"args": ["clj-kondo-mcp"],
"disabled": false,
"autoApprove": []
}
}
}手動インストール
clj-kondo をインストールしてください。clj -kondoがインストールされ、システム PATH 上で利用可能になっていることを確認してください。お使いのプラットフォームのインストール手順をご覧ください。
依存関係をインストールします:
npm installサーバーを構築します。
npm run build使用法
サーバーの実行
node build/index.jsMCPツール呼び出し
サーバーは次のツールを 1 つ提供します。
lint_clojure - Clojure/ClojureScript/EDN コンテンツをリントする
パラメータ:
{
"file": "/absolute/path/to/file.clj", // Must be absolute path - can be a file, directory, or classpath
"configDir": "/absolute/path/to/config/dir", // Optional, must be absolute path if provided
"level": "warning" // Optional, defaults to error level
}fileパラメータは以下を受け入れます:
単一のファイルパス(例: "/path/to/src/my_file.clj")
ディレクトリパス(例:"/path/to/src") - すべての.clj、.cljs、.cljcファイルを再帰的にlintします。
クラスパス文字列 - クラスパス内のすべての Clojure ファイルを lint します
Leiningenプロジェクトの場合:
lein classpathの出力を使用するdeps.ednプロジェクトの場合:
clojure -Spathの出力を使用します
注意:MCPサーバーは別プロセスとして実行されるため、fileパラメータとconfigDirパラメータはどちらも絶対パスで指定する必要があります。相対パスは正しく動作しません。
デフォルトでは、clj-kondo は現在のディレクトリと親ディレクトリの.clj-kondoディレクトリから設定を自動的に検索します。configDir configDirで特定の設定ディレクトリを指定することで、この動作をオーバーライドできます。
clj-kondo の設定の詳細については、公式ドキュメントを参照してください。
構成
MCP 設定ファイル (Cline の場合は~/Library/Application Support/Code - Insiders/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonにあります) に追加します。
{
"mcpServers": {
"clj-kondo": {
"command": "npx",
"args": ["clj-kondo-mcp"],
"disabled": false,
"autoApprove": []
}
}
}手動ビルドの場合は以下を使用します。
{
"mcpServers": {
"clj-kondo": {
"command": "node",
"args": ["build/index.js"],
"disabled": false,
"autoApprove": []
}
}
}建てる
npm run buildウォッチモード
npm run devMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.23Apache 2.0
- AlicenseAqualityDmaintenanceA Model Context Protocol server that monitors shadow-cljs builds and provides real-time build status updates for ClojureScript projects, allowing LLMs to verify build status after making code changes.1153MIT
- AlicenseNot gradedqualityDmaintenanceA production-ready Model Context Protocol server that provides comprehensive file system management capabilities for seamless integration with Claude Desktop.1MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that analyzes application codebases with real-time file watching, providing AI assistants like Claude with deep insights into project structure, code patterns, and architecture.MIT
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MEOK AGENTS.md Linter MCP — validates the cross-vendor coding-agent spec (Cursor / Claude Code /
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bigsy/clj-kondo-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server