tradercjz/dolphindb-mcp-server
dolphindb-mcp-server
Platform-specific configuration:
{
"mcpServers": {
"dolphindb-mcp-server": {
"command": "npx",
"args": [
"-y",
"dolphindb-mcp-server"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://archestra.ai/mcp-catalog/tradercjz__dolphindb-mcp-server)
uvx(推荐)通过 uvx 安装并运行:
uvx install dolphindb-mcp-server安装完成后,直接运行:
uvx dolphindb-mcp-server> 📌 注意:uvx 安装方式需要通过 uv.pack 构建并上传到 Universe。如果你尚未上传,请参考 uv 文档进行打包与发布。
pip install dolphindb-mcp-server安装后运行:
dolphindb-mcp-servergit 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 的连接信息:
DDB_HOST=127.0.0.1
DDB_PORT=8848
DDB_USER=admin
DDB_PASSWD=123456也可以不设置,系统将使用默认值。
dolphindb-mcp-server该命令会启动 MCP 插件服务,供外部调用。
启动后,你的工具将通过 FastMCP 对外暴露以下函数接口:
list_dbs()list_tbs(dbName: str)query_table_diskusage(database: str, tableName: str)query_dolphindb(script: str)可通过 MCP 前端界面或对接 LLM 工具链来进行访问。
Loading reviews...