drio
Open app

io.modelcontext/clojure-sdk

Source

A Clojure SDK to create MCP servers (and eventually clients)

Catalog onlyCatalog onlySTDIO

Overview

The io.modelcontext/clojure-sdk is a Clojure SDK designed for creating Model Context Protocol (MCP) servers, with future plans to support client creation as well.

To use the SDK, refer to the example files such as calculator_server.clj and vegalite_server.clj, which provide complete working code for defining an MCP server. You can compile and run these examples by following the instructions in the examples/README.md file.

  • Provides a framework for building MCP servers in Clojure. - Includes example implementations for quick start. - Supports standard deps-new project commands for easy development.
  1. Creating custom servers that adhere to the Model Context Protocol.
  2. Developing applications that require a structured context for data handling.
  3. Facilitating communication between different components in a software architecture.

Add to your AI client

Use these steps to connect io.modelcontext/clojure-sdk in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-clojure-sdk-unravel-team": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-clojure-sdk-unravel-team"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-clojure-sdk-unravel-team": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-clojure-sdk-unravel-team"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-clojure-sdk-unravel-team": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-clojure-sdk-unravel-team"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-clojure-sdk-unravel-team": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-clojure-sdk-unravel-team"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-clojure-sdk-unravel-team": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-clojure-sdk-unravel-team"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-clojure-sdk-unravel-team": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-clojure-sdk-unravel-team"
      ]
    }
  }
}

FAQ

Is this SDK suitable for beginners?

Yes, the SDK comes with examples and clear instructions to help beginners get started.

What programming language is this SDK built with?

The SDK is built using Clojure.

How can I contribute to the project?

You can check the todo.org file for a list of pending changes and contribute to the development.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3213,"uuid":"0a8d6b32-754d-4963-8967-e5d9b93990f2","name":"mcp-clojure-sdk","title":"io.modelcontext/clojure-sdk","description":"A Clojure SDK to create MCP servers (and eventually clients)","avatar_url":"https://avatars.githubusercontent.com/u/167408961?v=4","created_at":"2025-03-18T06:21:54.048Z","updated_at":"2025-03-18T13:57:48.640Z","status":"created","author_name":"unravel-team","author_avatar_url":"https://avatars.githubusercontent.com/u/167408961?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/unravel-team/mcp-clojure-sdk","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"21\",\"license\":\"MIT license\",\"language\":\"Clojure\",\"is_official\":false,\"latest_commit_time\":\"2025-05-03 16:41:03\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]