Apache Superset 集成
STDIO基于Superset的MCP查询服务
基于Superset的MCP查询服务
基于 Apache Superset REST API 构建的 Model Context Protocol (MCP) 服务器端应用。
这是一个基于 Apache Superset RESTAPI 在MCP上实现了通过大模型来让它进行基本的查询能力。
npx -y https://github.com/LiusCraft/superset-mcp-server SUPERSET_URL SUPERSET_USERNAME SUPERSET_PASSWORD 鉴权方式:ladp
# 安装 Node.js 依赖 npm install
# api client 测试 npm run src/examples/superset-example.ts # 调试环境 npm run inspector # 生产环境 npm run build npm start
项目配置文件位于 config
目录下,包括:
参考superset官方 swagger文档
.
├── src/ # 源代码目录
├── src/examples # 封装的api客户端测试代码
├── src/services # 封装的api函数
├── src/utils # 封装的superset baseHttpClient
├── src/index.ts # 定义mcp接口
build the project
set mcp config:
node currentFolder/build/index.js
如有问题,请提交 Issue 或联系项目维护者。