
theronic/modex
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
theronic/modex — это кандидат на MCP-сервер, импортированный из https://github.com/theronic/modex.
Обзор
theronic/modex — это кандидат на MCP-сервер, импортированный из https://github.com/theronic/modex.
Обзор (машинный перевод)
Modex (MOdel + ContEXt) — это библиотека Clojure, которая позволяет дополнять ваш ИИ новыми инструментами, ресурсами и подсказками.
Modex реализует (большую часть) протокола Model Context Protocol для создания серверов и клиентов MCP на «нативном» Clojure.
Поскольку это нативный Clojure, вам не нужно иметь дело с MCP Java SDK от Anthropic.
Modex реализует транспорт stdio в спецификации MCP 2024-11-05, так что нет необходимости в прокси, подобном
mcp-proxy для перевода между SSE stdio или наоборот.
Скриншот Modex в действии
Claude Desktop может взаимодействовать с сервером Modex MCP через свой MCP-клиент:
Содержание
- Быстрый старт
- Что такое MCP?
- Что может сделать Modex?
- Подробные пошаговые инструкции
- Реализация
- Статус проекта
- Обоснование
- FAQ
- Лицензия
Примеры инструментов
- Datomic MCP использует Modex для раскрытия инструментов Datomic, чтобы ваши модели могли запрашивать схему и данные базы данных в разработке или продакшене.
Быстрый старт
-
git clone [email protected]:theronic/modex.git -
cd modex -
./build.shстроит убербанку вtarget/modex-mcp-0.2.2.jar. -
Откройте конфигурацию рабочего стола Claude по адресу
~/Library/Application\ Support/Claude/claude_desktop_config.json -
Настройте новый MCP-сервер, который будет запускать uberjar на его full path:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Modex: Model Context Protocol Server & Client Library in Clojure
Modex (MOdel + ContEXt) is a Clojure library that lets you augment your AI with new tools, resources and prompts.
Modex implements (most of) the Model Context Protocol to build MCP Servers & Clients in ‘native’ Clojure.
Because it’s native Clojure, you don’t need to deal with Anthropic’s MCP Java SDK.
Modex implements the stdio transport in the 2024-11-05 MCP spec, so no need for a proxy like
mcp-proxy to translate between SSE stdio or vice versa.
Screenshot of Modex in Action
Claude Desktop can talk to a Modex MCP Server via its MCP client:
Table of Contents
- Quickstart
- What is MCP?
- What can Modex do?
- Detailed Step-by-Step Instructions
- Implementation
- Project Status
- Rationale
- FAQ
- Licence
Example Tools
- Datomic MCP uses Modex to expose Datomic tools so your models can query DB schema and data in dev or prod.
Quickstart
git clone [email protected]:theronic/modex.gitcd modex./build.shbuilds an uberjar attarget/modex-mcp-0.2.2.jar.- Open your Claude Desktop Config at
~/Library/Application\ Support/Claude/claude_desktop_config.json - Configure a new MCP Server that will run the uberjar at its full path:
{
"mcpServers": {
"modex-mcp-hello-world": {
"command": "java",
"args": ["-jar", "/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"]
}
},
"globalShortcut": ""
}
- Restart Claude Desktop to activate your new MCP Server + tools :) (Cmd+R refresh does not reload config, only restarts tools)
- Tell Claude to “run the inc tool with 123”, authorize the tool and you should see an output of 124.
What is MCP?
MCP lets you augment your AI models with Tools, Resources & Prompts:
- Tools are things it can do, like query a database (e.g. Datomic).
- Resources are files and data it can read, like PDF bank statements.
- Prompts are templated messages and workflows.
Use Cases
Modex is used by datomic-mcp, which exposes our production Datomic databases to an MCP client like Claude Desktop. The AI model intelligently diagnoses support queries in production by reading our database schema and running queries that checks server state & IPs, so it can try to reach it and compare the desired state of VMs against the actual state in our clusters.
Over time, I hope to automate the bulk of our recurring support queries using Modex + other MCP tools.
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"modex-mcp-hello-world": {
"command": "java",
"args": ["-jar", "/Users/your-username/code/modex/target/modex-mcp-0.2.2.jar"]
}
},
"globalShortcut": ""
}