I'm an MCP server generator template for Clojure programmers. Use me on Github for creating your cool new MCP servers.
Here is how you should use this template:
- Click the 'Use this template' button to create your server project
- Replace
tech.unravel
with your group-id throughout the project, and in the directory structure as well - Replace
example-cool-mcp-server
with the actual name of your server throughout the project - Replace
/Users/vedang/repo-name
with the full-path on your local disk, when testing your server - Add the logic of your server in
src/tech/unravel/example_cool_mcp_server.clj
file (Remember that you will have changed the name of this file). This file contains a full stub already, to help you get started.
make clean && make build
Some example commands you can try in Claude Desktop or Inspector:
- Visualize this data for me using ...
- Add the prompts you would use to test your server in this section
Remember:
- Replace the full-path to the
tech.unravel/example-cool-mcp-server
JAR with the correct path on your system (i.e. replace/Users/vedang/repo-name
below with the correct path) - Other notes specific to your server should go here.
"example_cool_mcp_server": {
"command": "java",
"args": [
"-Dclojure.tools.logging.factory=clojure.tools.logging.impl/log4j2-factory",
"-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog",
"-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector",
"-Dlog4j2.configurationFile=log4j2-mcp.xml",
"-Dbabashka.json.provider=metosin/jsonista",
"-Dlogging.level=INFO",
"-cp",
"/Users/vedang/repo-name/target/tech.unravel/example-cool-mcp-server-1.0.0.jar",
"tech.unravel.example-cool-mcp-server"
]
}
Remember to use the full-path to the tech.unravel/example-cool-mcp-server
JAR on your system.
npx @modelcontextprotocol/inspector java -Dclojure.tools.logging.factory=clojure.tools.logging.impl/log4j2-factory -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.Slf4jLog -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dlog4j2.configurationFile=log4j2-mcp.xml -Dbabashka.json.provider=metosin/jsonista -Dlogging.level=INFO -cp /Users/vedang/repo-name/target/tech.unravel/example-cool-mcp-server-1.0.0.jar tech.unravel.example-cool-mcp-server
Copyright © 2025 Unravel.tech Engineering
Distributed under the MIT License