dolphindb-mcp-server
A FastMCP-compatible server plugin for DolphinDB database operations.
Key Features
Use Cases
README
🧱 安装方式
✅ 方法一:使用 uvx(推荐)
通过 uvx 安装并运行:
uvx install dolphindb-mcp-server
安装完成后,直接运行:
uvx dolphindb-mcp-server
📌 注意:
uvx安装方式需要通过uv.pack构建并上传到 Universe。如果你尚未上传,请参考uv文档进行打包与发布。
✅ 方法二:从 PyPI 安装
pip install dolphindb-mcp-server
安装后运行:
dolphindb-mcp-server
✅ 方法三:本地构建 & 安装
git clone https://github.com/your-org/dolphindb-mcp-server.git
cd dolphindb-mcp-server
# 创建并激活虚拟环境
python -m venv .venv
source .venv/bin/activate
# 构建并安装
pip install build
python -m build
pip install dist/*.whl
安装后运行:
dolphindb-mcp-server
🧪 测试运行
运行后你可以直接使用工具,例如:
dolphindb-mcp-server
或(如果是 uvx 安装):
uvx dolphindb-mcp-server
好的,这是转换后的 Markdown 版本:
好的,这是转换后的 Markdown 版本:
🚀 使用方法
-
配置环境变量(可选)
你可以通过
.env文件或系统环境变量配置 DolphinDB 的连接信息:envDDB_HOST=127.0.0.1 DDB_PORT=8848 DDB_USER=admin DDB_PASSWD=123456也可以不设置,系统将使用默认值。
-
启动服务
bashdolphindb-mcp-server该命令会启动 MCP 插件服务,供外部调用。
-
FastMCP Agent 使用示例
启动后,你的工具将通过 FastMCP 对外暴露以下函数接口:
list_dbs()list_tbs(dbName: str)query_table_diskusage(database: str, tableName: str)query_dolphindb(script: str)
可通过 MCP 前端界面或对接 LLM 工具链来进行访问。
Star History
Repository Owner
User
Repository Details
Programming Languages
Tags
Join Our Newsletter
Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.
Related MCPs
Discover similar Model Context Protocol servers
YDB MCP
MCP server for AI-powered natural language database operations on YDB.
YDB MCP acts as a Model Context Protocol server enabling YDB databases to be accessed via any LLM supporting MCP. It allows AI-driven and natural language interaction with YDB instances by bridging database operations with language model interfaces. Flexible deployment through uvx, pipx, or pip is supported, along with multiple authentication methods. The integration empowers users to manage YDB databases conversationally through standardized protocols.
- ⭐ 24
- MCP
- ydb-platform/ydb-mcp
dbt MCP Server
Bridge dbt projects and AI agents with rich project context.
dbt MCP Server provides an implementation of the Model Context Protocol for dbt projects, enabling seamless integration between dbt and AI agents. It allows agents to access and understand the context of dbt Core, dbt Fusion, and dbt Platform projects. The tool supports connection to external AI products and offers resources for building custom agents. Documentation and examples are provided to facilitate adoption and integration.
- ⭐ 420
- MCP
- dbt-labs/dbt-mcp
Databricks MCP Server
Expose Databricks data and jobs securely with Model Context Protocol for LLMs.
Databricks MCP Server implements the Model Context Protocol (MCP) to provide a bridge between Databricks APIs and large language models. It enables LLMs to run SQL queries, list Databricks jobs, retrieve job statuses, and fetch detailed job information via a standardized MCP interface. The server handles authentication, secure environment configuration, and provides accessible endpoints for interaction with Databricks workspaces.
- ⭐ 42
- MCP
- JordiNeil/mcp-databricks-server
MCP Server for Milvus
Bridge Milvus vector database with AI apps using Model Context Protocol (MCP).
MCP Server for Milvus enables seamless integration between the Milvus vector database and large language model (LLM) applications via the Model Context Protocol. It exposes Milvus functionality to external LLM-powered tools through both stdio and Server-Sent Events communication modes. The solution is compatible with MCP-enabled clients such as Claude Desktop and Cursor, supporting easy access to relevant vector data for enhanced AI workflows. Configuration is flexible through environment variables or command-line arguments.
- ⭐ 196
- MCP
- zilliztech/mcp-server-milvus
mcp-difyworkflow-server
MCP server for managing and executing multiple Dify workflows on demand.
mcp-difyworkflow-server is an MCP-compliant server tool that facilitates the querying and invocation of custom Dify workflows. It supports dynamic execution of multiple workflows by interfacing with the Dify platform, enabling users to manage workflow credentials and operations efficiently. Configuration allows mapping of workflows to API keys, and commands to list or execute available workflows are provided.
- ⭐ 58
- MCP
- gotoolkits/mcp-difyworkflow-server
XiYan MCP Server
A server enabling natural language queries to SQL databases via the Model Context Protocol.
XiYan MCP Server is a Model Context Protocol (MCP) compliant server that allows users to query SQL databases such as MySQL and PostgreSQL using natural language. It leverages the XiYanSQL model, providing state-of-the-art text-to-SQL translation and supports both general LLMs and local deployment for enhanced security. The server lists available database tables as resources and can read table contents, making it simple to integrate with different applications.
- ⭐ 218
- MCP
- XGenerationLab/xiyan_mcp_server
Didn't find tool you were looking for?