BC

bhauman/clojure-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

784 stars 83 forks 品質 70 トレンド 36EPL-2.0

クロジュールMCP

概要

ClojureMCPはClojureのMCPサーバーです! ClojureMCPは、LLMクライアント(Claude CodeやClaude Desktopのような)をClojureプロジェクトに接続するMCPサーバーです。CROPLツールやClojure対応の編集ツールを提供し、Clojureの括弧やフォーマットを安定して扱うよう設計されています。 LLMクライアントによっては、ClojureMCPは以下のいずれかが可能です:- Claude Desktopのようなデスクトップチャットアプリ向けの対応、またはすでに優れたファイル編集やシェルツール(REPL統合+Clojure対応編集など)を備えたClojure特有の空白を埋めること。 1. ClojureMCP(clojure -Ttools install-latest ...)をインストールする。2. LLMクライアントでMCPサーバーとして登録する。 CLIアシスタントを使っている場合、通常はCLIのネイティブファイル編集ツールを使い、主にREPL統合(および編集の代替)にClojureMCPを使うことを好みます。 デスクトップチャットアプリを使う場合は、通常ClojureMCPのツールチェーン全体を使います。

概要(AI 翻訳)

ClojureMCPは、Claude CodeやCodexのようなコーディングエージェントに永続的な存在を提供します Clojure REPLとの接続。

目次

  • ClojureMCPとは何ですか?
  • プロジェクトの進む方向
  • ヘルプとコミュニティリソース
  • 📋 設置
  • CLIエージェント(推奨)
  • フル・ツールキット(レガシー)
  • 🔧 カスタマイズ
  • CLIオプション
  • ⚙️ 構成
  • 📝 ライセンス

ClojureMCPとは何ですか?

ClojureMCPは、コーディングエージェントを実行中の機器に接続するMCPサーバーです あなたのプロジェクトにnREPLを導入します。それがあれば、エージェントはClojureのように行動できます プログラマーは以下を行います:REPLで探索し、その前提条件を照合して検証します 実行中のプログラムと、その変更が起きた際にテストする。

  • clojure_eval - 永続的なnREPL上でコードを評価します 接続は評価前に不均衡な区切り符を修復します。 Clojure、ClojureScript(shadow-cljs、Figwheel)での作業、 ババシュカ、バジリスプ、そしてスキトル。
  • list_nrepl_ports - 上で稼働中のnREPLサーバーを検出します エージェントがREPL(再入力・交換)を見つけて切り替えられるようにしてください。
  • paren_repair - 希少な区切り文字タングルの安全弁 これは文字列編集で直すのが難しいです。

これが推奨されるセットアップの全てです::replプロファイル。あなたのエージェント

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Clojure MCP: A Live REPL for Your Coding Agent

ClojureMCP gives coding agents like Claude Code and Codex a persistent connection to your Clojure REPL.

Table of Contents

What is ClojureMCP?

ClojureMCP is an MCP server that connects a coding agent to a running nREPL in your project. With it, the agent can do what Clojure programmers do: explore in the REPL, check its assumptions against the running program, and test changes as it makes them.

  • clojure_eval - evaluates code over a persistent nREPL connection, repairing unbalanced delimiters before evaluating. Works with Clojure, ClojureScript (shadow-cljs, Figwheel), Babashka, Basilisp, and Scittle.
  • list_nrepl_ports - discovers the nREPL servers running on your machine, so the agent can find and switch between REPLs.
  • paren_repair - a safety valve for the rare delimiter tangle that’s hard to fix by string editing.

That’s the whole recommended setup: the :repl profile. Your agent keeps its own file reading, editing, search and shell tools.

Where the project is headed

ClojureMCP began in 2025 as a complete coding toolkit for Claude Desktop, at a time when LLMs regularly mangled Clojure’s parentheses. So it shipped its own structure-aware editors (clojure_edit, clojure_edit_replace_sexp), a collapsed read_file, file and shell tools, sub-agents, prompts and resources.

That has changed. Current frontier models (recent Claude models in particular) edit Clojure reliably with the built-in editors of Claude Code and Codex, and they rarely get into delimiter trouble they can’t get out of. The part of ClojureMCP that still matters is the REPL.

So:

  • The :repl profile is the recommended way to use ClojureMCP.
  • The editing tools and the rest of the full toolkit still work and remain available. They’re useful if you’re building your own harness, or if you’re driving a model that does struggle with Clojure edits. But they’re in maintenance mode and on a long path to deprecation, unless new, effective LLM editing approaches are discovered that are best delivered through ClojureMCP.

Help and Community Resources

📋 Installation

Prerequisites

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →