example-mcp-server
About
Example codes. Using Clojure with MCP Sdk for Java.
Details
- Author
- madosuki
- Downloads
- 276
- Categories
- Other
Jump to
- Implements stdio transport only.
- Built with the official MCP Java SDK.
- Packaged as a standalone executable JAR.
Build the server with lein uberjar to produce a standalone JAR. Then configure it in the Claude Desktop configuration file under mcpServers, specifying java -jar <absolute path to jar> as the command and arguments.
example-mcp-server
Implemented only stdio server.
Using https://github.com/modelcontextprotocol/java-sdk
Usage
lein uberjar
then setting to Claude desktop config.
like
{
"mcpServers": {
"sampleClojureMcp": {
"command": "java",
"args": [
"-jar",
"your absolute path of jar"
]
}
}
}
License
Copyright © 2025 FIXME
This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License, v. 2.0 are satisfied: GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at your
option) any later version, with the GNU Classpath Exception which is available
at https://www.gnu.org/software/classpath/license.html.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



