MCP.so
登录

Basilisp nREPL MCP Bridge

@cat-state

关于 Basilisp nREPL MCP Bridge

simple MCP server for nREPL

基本信息

分类

开发工具

运行时

python

传输方式

stdio

发布者

cat-state

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Basilisp nREPL MCP Bridge?

Basilisp nREPL MCP Bridge connects Anthropic’s Model Context Protocol (MCP) to a Basilisp nREPL server, enabling Claude Code to evaluate code, inspect namespaces, and get documentation directly from a Basilisp REPL. It is built for developers using Basilisp (or any nREPL) who want to interact with their Lisp environment through Claude.

How to use Basilisp nREPL MCP Bridge?

First, start a Basilisp nREPL server with basilisp nrepl-server --port 36915. Then add the bridge to Claude Code with claude mcp add /path/to/basilisp_mcp_bridge.py. After that, use the provided MCP tools (eval_code, get_docs, find_namespace_vars, list_namespaces, check_connection) inside Claude to interact with the REPL.

Key features of Basilisp nREPL MCP Bridge

  • Execute Basilisp code with pretty-printed, syntax-highlighted results
  • Get documentation for any symbol in the REPL
  • List all available namespaces and their variables
  • Check nREPL server connectivity
  • Basilisp Python interop with proper attribute/method syntax
  • Enhanced error reporting and formatting

Use cases of Basilisp nREPL MCP Bridge

  • Evaluate Basilisp code snippets directly from Claude Code
  • Look up documentation for functions or macros without leaving the editor
  • Discover available symbols and namespaces in a running Basilisp project
  • Verify that an nREPL server is reachable and responsive
  • Execute Python interop code (imports, attribute access, method calls) within Basilisp

FAQ from Basilisp nREPL MCP Bridge

What are the requirements to run Basilisp nREPL MCP Bridge?

You need uv and basilisp installed.

How do I start the nREPL server?

Run basilisp nrepl-server --port 36915 (or any port of your choice).

How do I add the MCP bridge to Claude Code?

Use the command claude mcp add /path/to/basilisp_mcp_bridge.py.

What tools does the bridge expose?

It provides eval_code, get_docs, find_namespace_vars, list_namespaces, and check_connection.

Does it work with nREPL servers other than Basilisp?

Yes, it should work with any nREPL, but the current prompts are Basilisp focused.

评论

开发工具 分类下的更多 MCP 服务器