Skip to main content
Glama

nREPL MCP Server

by JohanCodinha

get_ns_vars

Retrieve all public vars in a specified Clojure namespace, including metadata like doc strings, line numbers, file paths, and their current values, using the nREPL MCP Server.

Instructions

Get all public vars (functions, values) in a namespace with their metadata and current values. Example:

  • List main namespace vars: (get_ns_vars { "main"}) Returns a map where keys are var names and values contain:
  • - Metadata including string, number, path
  • - Current value of the var

Input Schema

NameRequiredDescriptionDefault
nsYesNamespace to inspect

Input Schema (JSON Schema)

{ "properties": { "ns": { "description": "Namespace to inspect", "type": "string" } }, "required": [ "ns" ], "type": "object" }
Install Server

Other Tools from nREPL MCP Server

Related Tools

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