mcp-clj
@hugoduncan
关于 mcp-clj
An MCP server written in clojure
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mcp-clj?
mcp-clj is a Clojure implementation of the Model Context Protocol (MCP) with minimal dependencies and self-contained Clojure REPL integration. It provides both MCP server and client implementations, supporting multiple transports (SSE, stdio, in-memory) and built-in tools like clj-eval and ls — ideal for Clojure developers who want to expose REPL functionality to MCP clients like Claude Desktop or build Clojure applications that consume MCP services.
How to use mcp-clj?
Add the git dependency to your deps.edn and start the server via clj -M:stdio-server (stdio) or clj -M:sse-server (HTTP). Programmatically, call mcp-clj.mcp-server.core/create-server with a transport configuration (e.g., {:transport {:type :stdio}}). For Claude Desktop or Claude Code, configure the stdio transport in the respective config file or CLI. The client API connects to other MCP servers from Clojure using create-client, list-tools, and call-tool.
Key features of mcp-clj?
- Self-contained Clojure REPL evaluation (no nREPL required)
- Low dependencies: only
org.clojure/data.json - Multiple transports: SSE (HTTP), stdio, and in-memory
- Built-in tools:
clj-evalandlswith gitignore support - MCP client for connecting to other MCP servers
- Dynamic tool addition via
add-tool!
Use cases of mcp-clj?
- Expose Clojure REPL to Claude Desktop for interactive code evaluation
- Build Clojure applications that consume MCP services from other servers
- Run Clojure code through LLM tools in Claude Code or similar clients
- Integrate Clojure projects with the MCP ecosystem for tool and resource sharing
- Test MCP interactions locally using the in-memory transport
FAQ from mcp-clj?
What is the difference between mcp-clj and clojure-mcp?
mcp-clj offers simpler setup and self-contained evaluation
其他 分类下的更多 MCP 服务器
Awesome Mlops
visengerA curated list of references for MLOps
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
评论