JohanCodinha_nrepl-mcp-server

JohanCodinha_nrepl-mcp-server

0

The nREPL MCP Server is a Model Context Protocol server that facilitates interaction with a Clojure nREPL environment through MCP clients like Claude Desktop and CLine. It supports evaluating Clojure code, namespace inspection, and retrieving connection status.

nREPL MCP Server

A Model Context Protocol (MCP) server for MCP clients like Claude Desktop and CLine in VSCode. It enables interaction with a running Clojure nREPL instance to evaluate code, inspect namespaces, and other utilities via MCP.

Features

  • Connect to a running nREPL server by specifying host and port.
  • Evaluate Clojure code in a specified or current namespace.
  • List project namespaces.
  • Retrieve nREPL connection status.
  • Inspect public vars and display metadata.

Installation & Setup

To set up with CLine or Claude Desktop, configure in MCP Settings with provided configuration and restart the client. Installable via npx without cloning.

Actions

  • Connect to nREPL by specifying host and port.
  • Execute arbitrary Clojure expressions.
  • List namespaces.
  • Inspect metadata of public vars.
  • Fetch connection status including session ID.