tech.unravel/example-cool-mcp-server
LocalAbout tech.unravel/example-cool-mcp-server
tech.unravel/example-cool-mcp-server is a GitHub template for Clojure programmers starting an MCP server project. It provides a server stub and build instructions to adapt into a custom server.
Key features
- 01Clojure MCP server project template
- 02Stub source file for server logic
- 03Uberjar build instructions
- 04Examples for Claude Desktop and Inspector
Use cases
- 01Scaffold a new Clojure MCP server
- 02Build and test a server with Inspector
MCP support
The template is for creating an MCP server that can be run with MCP clients such as Claude Desktop or MCP Inspector.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEtech.unravel/example-cool-mcp-server
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.unravelwith your group-id throughout the project, and in the directory structure as well - Replace
example-cool-mcp-serverwith the actual name of your server throughout the project - Replace
/Users/vedang/repo-namewith 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.cljfile (Remember that you will have changed the name of this file). This file contains a full stub already, to help you get started.
Usage
Building the Uberjar
make clean && make build
Running the MCP server
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
Before running the MCP server
Remember:
- Replace the full-path to the
tech.unravel/example-cool-mcp-serverJAR with the correct path on your system (i.e. replace/Users/vedang/repo-namebelow with the correct path) - Other notes specific to your server should go here.
In Claude Desktop
"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"
]
}
In MCP Inspector
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
License
Copyright © 2025 Unravel.tech Engineering
Distributed under the MIT License
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.