SIMM-IS/REPL-MCP 是从 https://github.com/simm-is/repl-mcp. 导入的 MCP 服务器候选
概览
SIMM-IS/REPL-MCP 是从 https://github.com/simm-is/repl-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
这是alpha软件,非常欢迎反馈!它故意还没有被很好地打包和抽象化,所以你可以很容易地与其各个部分互动。该项目在精神上类似于clojure-mcp,但自由许可,并旨在通过提供强大的IO和开发工具,从像Claude代码这样的自主代理编码助手工具的角度,尽量减少与REPL的摩擦。
一款用于 Clojure 开发的模型上下文协议(MCP)服务器,提供内置工具,支持交互式编码辅助和通过 nREPL 集成进行结构编辑。你可以在开发过程中使用它,例如在 Claude 代码中,只需将其添加到项目中即可。你也可以选择使用相同功能通过 MCP 接口导出自己的函数,并运行带有网络传输(SSE)的专用 MCP 服务器用于生产。总体理念是在开发过程中尽量减少摩擦并加快与 Clojure REPL 的反馈循环。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
repl-mcp
This is alpha software and feedback is very welcome! It is deliberately not well packaged and abstracted over yet, so you can easily interact with its pieces. The project is similar in spirit to clojure-mcp, but liberally licensed and aiming for minimal friction with the REPL by providing powerful IO and development tools from the perspective of autonomous agentic coding assistant tools like Claude code.
A Model Context Protocol (MCP) server for Clojure development that provides built-in tools for interactive coding assistance and structural editing via nREPL integration. You can use it during development, e.g. in Claude code, by just adding it to your project. Optionally you can also use the same functionality to export your own functions through the MCP interface and also run your own dedicated MCP server with a network transport (SSE) for production. The overall philosophy is to minimize friction and speed up the feedback loop with the Clojure REPL during development. MCP supports dynamic exports of tools and prompts, so you can even create your own tools/workflows and use them in your coding assistant without restarts (this does not work with Claude code as a MCP client yet.)
Key Features
- 51 Development Tools: Comprehensive toolset for evaluation, refactoring, structural editing, testing, profiling, and more
- Pure Clojure Implementation: Built on mcp-toolkit for simplicity and reliability
- Dual Transport Support: STDIO (for local development) and HTTP+SSE (for production)
- nREPL Integration: Full cider-nrepl and refactor-nrepl middleware support
- Hot Reloading: Add dependencies at runtime without REPL restart (Clojure 1.12+)
- Performance Profiling: CPU and memory profiling with clj-async-profiler integration
Quick Start
Add to Your Project
Add the :repl-mcp alias to your deps.edn:
{:aliases
{:repl-mcp {:main-opts ["-m" "is.simm.repl-mcp"]
:extra-paths ["test"] ;; If you want it to be able to run the tests
;; Option for clj-async-profiler
:jvm-opts ["-Djdk.attach.allowAttachSelf"
"-XX:+UnlockDiagnosticVMOptions"
"-XX:+DebugNonSafepoints"
"-XX:+EnableDynamicAgentLoading"
"--enable-native-access=ALL-UNNAMED"]
:extra-deps {is.simm/repl-mcp {:git/url "https://github.com/simm-is/repl-mcp" :git/sha "latest-sha"}
org.slf4j/slf4j-api {:mvn/version "2.0.17"}
org.slf4j/slf4j-simple {:mvn/version "2.0.17"}}}}}
Start the MCP Server
# STDIO transport (default, for development)
clojure -M:repl-mcp
# HTTP+SSE transport (for production)
clojure -M:repl-mcp --transport sse --http-port 8080
# Custom nREPL port
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →