Feedback

Modex: Model Context Protocol Server & Client Library in Clojure MCP Server

@theronic Claim

Basic information

Runtime
clojure
Category
License
Not specified
Transports
stdio
Author
theronic
Submitted by
Community
Quality
55
Stars
116

About Modex: Model Context Protocol Server & Client Library in Clojure MCP Server

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

Modex: Model Context Protocol Server & Client Library in Clojure is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by theronic. Supported transport: stdio. Runtime: clojure. The repository has 116 GitHub stars. Source code is hosted on github.com. Related topics: clojure, json-rpc, mcp, mcp-client, mcp-server.

Setup

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

Modex: Model Context Protocol Server & Client Library in Clojure MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Modex: Model Context Protocol Server & Client Library in Clojure MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Frequently asked questions

1 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.

2 What license does Modex use?

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

3 What transport does Modex implement?

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

4 Does Modex support resources and prompts?

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

5 What are the runtime requirements?

Java and Clojure; no external proxies or SDKs needed.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬