Modex is a Clojure MCP Library to augment your AI models with Tools, Resources & Prompts using Clojure (Model Context Protocol). Implements MCP Server & Client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add modex-model-context-protocol-server-clie -- java -jar /Users/your-username/code/modex/target/modex-mcp-0.2.2.jar~/.codex/config.toml
[mcp_servers.modex-model-context-protocol-server-clie]
command = "java"
args = ["-jar", "/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"]
# codex mcp add modex-model-context-protocol-server-clie -- java -jar /Users/your-username/code/modex/target/modex-mcp-0.2.2.jar~/.cursor/mcp.json
{
"mcpServers": {
"modex-model-context-protocol-server-clie": {
"command": "java",
"args": [
"-jar",
"/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"
]
}
}
}.vscode/mcp.json
{
"servers": {
"modex-model-context-protocol-server-clie": {
"type": "stdio",
"command": "java",
"args": [
"-jar",
"/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"modex-model-context-protocol-server-clie": {
"command": "java",
"args": [
"-jar",
"/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"modex-model-context-protocol-server-clie": {
"command": "java",
"args": [
"-jar",
"/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"modex-model-context-protocol-server-clie": {
"command": "java",
"args": [
"-jar",
"/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"
]
}
}
}