Back to MCP directory
publicPublicdnsLocal runtime

datomic-mcp

基于Modex的Datomic MCP服务实现

article

README

🚀 Datomic MCP 服务器

Datomic MCP 服务器使用 Modex 构建,可帮助用户在 MCP 配置中便捷使用 Datomic 数据库。用户只需设置环境变量 DATOMIC_URI 即可快速部署。

🚀 快速开始

在您的 MCP 配置中设置环境变量 DATOMIC_URI,以下是具体示例:

构建Uberjar并配置Claude桌面

{
  "mcpServers": {
    "modex-datomic-mcp": {
      "command": "java",
      "args": ["-jar", "/Users/petrus/code/datomic-mcp/target/theronic-datomic-mcp-0.3.0.jar"],
      "env": {"DATOMIC_URI": "<此处输入您的 Datomic URI>"}
    }
  },
  "globalShortcut": ""
}

✨ 主要特性

Datomic API 支持

  • [x] 并发查询(自 Modex 0.3.0 开始支持异步消息处理)
  • [x] datomic.api/q
  • [x] datomic.api/datoms
  • [x] datomic.api/with(通过 q-with 工具实现)
  • [x] datomic.api/pull
  • [x] datomic.api/pull-many
  • [x] datomic.api/entity
  • [x] datomic.api/touch
  • [x] datomic.api/entid
  • [ ] datomic.api/transact – 不确定是否是个好主意 :)
  • [ ] 发送连接进度消息
  • [ ] 更好的基于游标的分页
  • [ ] 稳定的 db 基础(目前每个查询都会运行 (d/db conn))– 容易修复。
  • [ ] d/as-of 支持。与上述基础相关。

📄 许可证

本项目采用 MIT 许可证,可免费用于商业和非商业用途。

我所要求的是,如果您发现 datomic-mcp 或 Modex 中有任何问题,请报告给您 :)

注意:Modex 本身具有不同的许可证。

👨‍💻 作者

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client