mcpField
E
example-mcp-server

example-mcp-server

Local
github.com/madosukiDeveloper Tools1Updated 72w ago

About example-mcp-server

example-mcp-server is a minimal Clojure example of an MCP server built with the Java MCP SDK. It is for developers exploring a stdio server and configuring it for Claude Desktop.

Key features

  1. 01Clojure implementation
  2. 02Java MCP SDK usage
  3. 03stdio server
  4. 04Leiningen uberjar build

Use cases

  1. 01Explore a Clojure MCP server example
  2. 02Build a JAR for local use
  3. 03Configure a stdio server in Claude Desktop

MCP support

Implements an MCP server using the Java MCP SDK and stdio transport. The README shows how to configure it in Claude Desktop.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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.

Comments

Markdown supported

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.