MCP ExplorerExplorer

Example Mcp Server

@madosukion a year ago
1 NOASSERTION
FreeCommunity
AI Systems
Example codes. Using Clojure with MCP Sdk for Java.

Overview

What is Example Mcp Server

example-mcp-server is a standard input/output server implemented using Clojure and the MCP SDK for Java. It serves as a basic example of how to utilize the MCP framework.

Use cases

Use cases include developing and testing applications that communicate via the MCP protocol, creating prototypes for MCP-based systems, and educational purposes for learning about MCP integration.

How to use

To use example-mcp-server, compile the project using ‘lein uberjar’ and configure it in the Claude desktop settings by specifying the command and arguments to run the generated JAR file.

Key features

Key features include a simple stdio server implementation, integration with the MCP SDK for Java, and the ability to run as a standalone JAR file.

Where to use

example-mcp-server can be used in software development environments where integration with the MCP protocol is required, particularly in applications that utilize Clojure.

Content

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers