MCP.so
登录

Modex: Model Context Protocol Server & Client Library in Clojure

@theronic

关于 Modex: Model Context Protocol Server & Client Library in Clojure

Modex is a Clojure MCP Library to augment your AI models with Tools, Resources & Prompts using Clojure (Model Context Protocol). Implements MCP Server & Client.

基本信息

分类

开发工具

运行时

clojure

传输方式

stdio

发布者

theronic

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "modex-mcp-hello-world": {
      "command": "java",
      "args": [
        "-jar",
        "/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Modex: Model Context Protocol Server & Client Library in Clojure?

Modex is a Clojure library that augments AI models with tools, resources, and prompts by implementing the Model Context Protocol (MCP). It allows building MCP servers and clients entirely in native Clojure, using the stdio transport and requiring no Java SDK or proxy.

How to use Modex: Model Context Protocol Server & Client Library in Clojure?

Clone the repository, run ./build.sh to create an uberjar, then configure your Claude Desktop config to execute java -jar /path/to/uber.jar. Define tools with the tool macro and start the server with (server/start-server! my-mcp-server).

Key features of Modex: Model Context Protocol Server & Client Library in Clojure

  • Implements MCP stdio transport (2024-11-05 spec).
  • Native Clojure – no Java SDK or proxy needed.
  • AServer protocol with DSL for tools, resources, and prompts.
  • JSON-RPC 2.0 wire format for messages.
  • Planned nREPL support for live changes.

Use cases of Modex: Model Context Protocol Server & Client Library in Clojure

  • Expose production databases (e.g., Datomic) to AI models via MCP clients.
  • Automate support queries by letting models read schema and run queries.
  • Build custom AI tools that interact with Clojure systems and data.

FAQ from Modex: Model Context Protocol Server & Client Library in Clojure

Can I modify the server while an MCP client is connected?

Not yet, but nREPL support is planned to enable live changes without rebuilding the uberjar.

What license does Modex use?

GPLv3 for non-commercial use; a $20 perpetual commercial license is available for proprietary projects.

What transport does Modex implement?

Stdio/stdout transport is supported; SSE and streaming HTTP are in progress.

Does Modex support resources and prompts?

Resources and prompts are work in progress; currently only tools are fully supported.

What are the runtime requirements?

Java and Clojure; no external proxies or SDKs needed.

评论

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