
simm-is/repl-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
simm-is/repl-mcp - кандидат на сервер MCP, импортированный из https://github.com/simm-is/repl-mcp.
Обзор
simm-is/repl-mcp - кандидат на сервер MCP, импортированный из https://github.com/simm-is/repl-mcp.
Обзор (машинный перевод)
** Это альфа-программное обеспечение и обратная связь приветствуется! Он намеренно не хорошо упакован и абстрагирован, поэтому вы можете легко взаимодействовать с его частями. Проект похож по духу на Clojure-Mcp, но либерально лицензирован и направлен на минимальное трение с REPL, предоставляя мощные инструменты ввода-вывода и разработки с точки зрения автономных вспомогательных инструментов агентного кодирования, таких как код Клода.
Сервер Model Context Protocol (MCP) для разработки Clojure, который предоставляет встроенные инструменты для интерактивной помощи в кодировании и структурного редактирования с помощью интеграции nREPL. Вы можете использовать его во время разработки, например, в коде Claude, просто добавив его в свой проект. Вы также можете использовать ту же функциональность для экспорта своих собственных функций через интерфейс MCP, а также запускать собственный выделенный сервер MCP с сетевым транспортом (SSE) для производства. Общая философия заключается в минимизации трения и ускорении цикла обратной связи с Clojure REPL во время разработки.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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 Новичок в MCP? Начните с руководства на mcpskill.org →