nREPL MCP Server
nREPL MCP サーバー
Claude DesktopやVSCodeのCLineなどのMCPクライアント向けに設計されたモデルコンテキストプロトコル(MCP)サーバーです。このサーバーは、CLineと併用することで、任意のLLMで使用できます。このサーバーは、実行中のClojure nREPLインスタンスとのインタラクションを可能にし、MCP経由でClojureコードの評価、名前空間の検査、その他のユーティリティを実行できます。
特徴
ホストとポートを指定して、実行中の nREPL サーバーに接続します。
指定された名前空間または現在の名前空間内のClojure コードを評価します。
tools.namespaceを使用してプロジェクトの名前空間を一覧表示します。ホスト、ポート、セッションの詳細を含むnREPL 接続ステータスを取得します。
任意の Clojure 名前空間内のパブリック変数を検査し、docstring や値などのメタデータを表示します。
Related MCP server: Emacs MCP Tools
インストールとセットアップ
CLine (VSCode) または Claude Desktop へのインストール
このサーバーをCLineまたはClaude Desktopで使用するには、次の手順に従います。
VSCode またはClaude DesktopでCLineを開きます。
MCP 設定に移動します。
次の構成で新しい MCP サーバーを追加します。
{ "mcpServers": { "nrepl-mcp-server": { "command": "npx", "args": [ "nrepl-mcp-server" ], "disabled": false, "autoApprove": [] } } }変更を適用するには、保存してクライアントを再起動します。
これにより、クライアントは標準入出力を介して nREPL MCP サーバーと通信できるようになります。
npx経由でインストール
リポジトリを複製せずにサーバーをすばやく実行するには:
npx nrepl-mcp-server手動インストール
リポジトリをクローンする
依存関係をインストールする
npm installプロジェクトをビルドする(TypeScriptをJavaScriptに変換する)
npm run buildサーバーを実行する
プロダクション モード: コンパイルされた出力から実行します。
npm start開発モード: ライブ変更に ts-node を使用します。
npm run dev
これによりサーバーが起動し、 STDIOでMCPリクエストをリッスンします。Mcpクライアントが自動的にサーバーを起動します。
アクション
nREPLへの接続
ホストとポートを指定して nREPL サーバーへの接続を確立できるようにします。
Clojureコードの評価
デフォルトの名前空間または指定された名前空間のいずれかで任意の Clojure 式を実行します。
名前空間情報の取得
tools.namespaceを使用して、現在のプロジェクト ディレクトリ内のすべての名前空間を一覧表示します。
パブリック変数の検査
指定された名前空間内のすべてのパブリック変数のメタデータと現在の値を取得します。
nREPL接続ステータスの取得
ホスト、ポート、セッション ID、最後のエラー (ある場合) など、現在の nREPL 接続の詳細を提供します。
リソース
nrepl://status
現在の nREPL 接続に関する次のような情報を提供します:
ホストとポート
接続ステータス
アクティブセッションID
nrepl://namespaces
プロジェクト ディレクトリで検出されたすべての名前空間を一覧表示します。
貢献
貢献を歓迎します!機能の提案やバグ報告がある場合は、問題を開くか、プルリクエストを送信してください。
ライセンス
このプロジェクトはMITライセンスに基づいてライセンスされています。その条件に従って自由に改変および配布してください。
Maintenance
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 gradedqualityDmaintenanceEnables Claude Code and Claude Desktop to interact with Obsidian vaults through MCP protocol. Supports file operations, workspace context access, and dual transport (WebSocket and HTTP/SSE) for AI-powered assistance with your notes.339BSD Zero Clause
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to control a running Emacs instance via MCP, supporting file opening, Magit integration, and server status checks.4MIT
- AlicenseNot gradedqualityDmaintenanceConnects to nREPL servers to evaluate Clojure code interactively, enabling AI assistants like Claude to run Clojure code in real-time.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceExposes Claude Code's file editing, command execution, and test running capabilities as composable MCP tools for any MCP-compatible host, enabling code operations via a stateless bridge.
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
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/JohanCodinha/nrepl-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server