这是一个基于 Apache Superset RESTAPI 的应用程序,它在 MCP 上实现了借助大模型进行基本查询的能力,能够帮助用户更便捷地对数据库进行操作。
npx -y https://github.com/LiusCraft/superset-mcp-server
SUPERSET_URL
SUPERSET_USERNAME
SUPERSET_PASSWORD
鉴权方式:LDAP
# 安装 Node.js 依赖
npm install
# API client 测试
npm run src/examples/superset-example.ts
# 调试环境
npm run inspector
# 生产环境
npm run build
npm start
本项目的环境要求为 Node.js >= 14.0.0。
项目配置文件位于 config
目录下,包括:
参考 Superset 官方 Swagger 文档。
.
├── src/ # 源代码目录
├── src/examples # 封装的 API 客户端测试代码
├── src/services # 封装的 API 函数
├── src/utils # 封装的 Superset baseHttpClient
├── src/index.ts # 定义 MCP 接口
node currentFolder/build/index.js
Apache License 2.0
如有问题,请提交 Issue 或联系项目维护者。