TI

tandemai-inc/rdkit-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

48 stars 10 forks 质量 58 趋势 0MIT

tandemai-inc/rdkit-mcp-server 是从 https://github.com/tandemai-inc/rdkit-mcp-server. 导入的 MCP 服务器候选

概览

tandemai-inc/rdkit-mcp-server 是从 https://github.com/tandemai-inc/rdkit-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

RDKit MCP 服务器是一个开源的 MCP 服务器,使语言模型能够通过自然语言与 RDKit 交互。其目标是在无需编写任何代码的情况下,提供对 RDKit 2025.3.1 中每个函数的代理级访问权限。

特色

  • 无缝集成:通过模型上下文协议(MCP)公开RDKit功能。
  • 语言模型支持:连接任何支持 MCP 协议的大型语言模型。
  • CLI 客户端:包含由 OpenAI 驱动的命令行客户端,便于快速实验。

目录

  • 安装

  • 用途

  • 启动服务器

  • CLI 客户端

  • 可用工具

  • 评价

  • 贡献

安装

安装该软件包:

用途

启动服务器

参见 settings.example.yaml 以获取设置选项

服务器运行后,任何符合MCP标准的LLM都可以连接。例如,参见Claude桌面快速启动。

CLI 客户端

内置一个 CLI 客户端,用于使用 OpenAI 快速原型制作:

可用工具

列出服务器公开的所有可用RDKit工具:

评价

evals 目录包含一个测试套件,用于利用 pydantic eval 评估 RDKit MCP 工具的输出和代理响应。

安装依赖

本页由 AI 翻译,技术细节请以原文为准。

README

RDKit MCP Server: Agentic Access to RDKit for LLMs

RDKit MCP Server is an open-source MCP server that enables language models to interact with RDKit through natural language. The goal is to provide agent-level access to every function in RDKit 2025.3.1 without writing any code.

Features

  • Seamless Integration: Exposes RDKit functions via the Model Context Protocol (MCP).
  • Language Model Support: Connect any LLM that supports the MCP protocol.
  • CLI Client: Includes a command-line client powered by OpenAI for quick experimentation.

Table of Contents

Installation

Install the package:

pip install .

Usage

Start the Server

python run_server.py [--settings settings.yaml]

See settings.example.yaml for setting options

Once the server is running, any MCP-compliant LLM can connect. For example, see the Claude Desktop quickstart.

CLI Client

A CLI client is included for rapid prototyping with OpenAI:

export OPENAI_API_KEY="sk-proj-xxx"
python run_client.py

Available Tools

List all available RDKit tools exposed by the server:

python list_tools.py [--settings settings.yaml]

Evaluations

The evals directory contains a test suite for evaluating RDKit MCP tool outputs and agent responses using pydantic-evals.

Install Dependencies

pip install ".[evals]"

Start the MCP Server

In one terminal, start the server:

python run_server.py

Run Evaluations

In another terminal, run the evaluation suite:

python evals/run_evals.py

Options:

  • --verbose - Show detailed output including inputs and outputs
  • --filter - Run only cases matching the name
  • --output-json results.json - Export results to JSON

Each test uses LLM-based evaluation (LLMJudge) to assess whether the agent correctly used the RDKit tools and produced accurate results.

Contributing

We welcome contributions, feature requests, and bug reports:

See CONTRIB.md for guidelines on how to get started.

Together, we can make RDKit accessible to a wider range of applications through natural language interfaces.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →