MCP ExplorerExplorer

Clj Mcp Starter

@theronicon a year ago
1 MIT
FreeCommunity
AI Systems
#clojure#mcp#model-context-protocol
Starter template to build MCP tools in Clojure (using Modex) (Model Context Protocol)

Overview

What is Clj Mcp Starter

clj-mcp-starter is a starter template designed for building MCP tools in Clojure using the Modex framework, which adheres to the Model Context Protocol.

Use cases

Use cases for clj-mcp-starter include building custom data processing tools, creating integrations with existing software systems, and developing applications that require a structured approach to model context management.

How to use

To use clj-mcp-starter, clone the repository using ‘git clone [email protected]:theronic/clj-mcp-starter.git my-mcp-tools’. Then, edit the ‘clj_mcp_starter/core.clj’ file to add tools. Build the Uberjar by running ‘./build.sh’, which outputs the jar file to ‘target/my-mcp-server-0.0.1.jar’. Finally, configure the ‘claude_desktop_config’ to include the path to the generated jar and restart Claude Desktop.

Key features

Key features of clj-mcp-starter include a straightforward setup process, the ability to easily add tools, and the generation of an Uberjar for deployment. It leverages the Modex framework to facilitate the development of MCP tools.

Where to use

clj-mcp-starter can be used in various fields that require the development of tools adhering to the Model Context Protocol, particularly in data science, machine learning, and software development environments.

Content

MCP Server Starter Template (using Modex)

Starter template to build MCP tools in Clojure (using Modex) (Model Context Protocol)

git clone [email protected]:theronic/clj-mcp-starter.git my-mcp-tools

Add Tools

Edit clj_mcp_starter/core.clj.

Build Uberjar

./build.sh

Outputs uberjar to target/my-mcp-server-0.0.1.jar.

Edit claude_desktop_config

{
  "mcpServers": {
    "scicloj": {
      "command": "java",
      "args": [
        "-jar",
        "/absolute/path/to/target/my-mcp-server-0.0.1.jar"
      ]
    }
  },
  "globalShortcut": ""
}

Restart Claude Desktop.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers