{"type":"mcp_server","name":"modex","description":"Modex is a Clojure library implementing the Model Context Protocol, enabling developers to augment AI models with tools, resources, and prompts without relying on Java SDKs or proxies.","category":"AI","language":"Clojure","stars":116,"forks":1,"owner":"theronic","github_url":"https://github.com/theronic/modex","homepage":"http://petrustheron.com/","setup":"## Setup\n\n1.  `git clone git@github.com:theronic/modex.git`\n2.  `cd modex`\n3.  `./build.sh` builds an uberjar at `target/modex-mcp-0.1.0.jar`.\n4.  Open your Claude Desktop Config at `~/Library/Application\\ Support/Claude/claude_desktop_config.json`\n5.  Configure a new MCP Server that will run the uberjar at its _full path_:\n\n```json\n{\n  \"mcpServers\": {\n    \"modex-mcp-hello-world\": {\n      \"command\": \"java\",\n      \"args\": [\"-jar\", \"/Users/your-username/code/modex/target/modex-mcp-0.1.0.jar\"]\n    }\n  },\n  \"globalShortcut\": \"\"\n}\n```\n\n6.  Restart Claude Desktop to activate your new MCP Server + tools :)\n7.  Tell Claude to \"run the inc tool with 123\", authorize the tool and you should see an output of 124.","tools":"## Available Tools\n\n1.  Tools (augment AI models with actions like querying a database). \n2.  Resources (augment AI models with files and data it can read). \n3.  Prompts (augment AI models with templated messages and workflows). \n4.  `tool` macro (describe a tool). \n5.  `invoke-tool` (invoke a tool with a map of arguments). \n6.  `tools` macro (define a toolset). \n7.  AServer protocol (define MCP servers that expose tools, resources & prompts).\n","faq":null,"created_at":"2025-03-05T09:16:40+00:00","updated_at":"2025-03-28T23:48:40+00:00","source_url":"https://model-context-protocol.com/servers/clojure-ai-model-context-protocol-library","related_articles":[]}