A Model Context Protocol (MCP) server for managing Apache Superset datasets, metrics, and SQL queries.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add superset --env SUPERSET_BASE_URL='<SUPERSET_BASE_URL>' -- npx -y superset-mcp~/.codex/config.toml
[mcp_servers.superset]
command = "npx"
args = ["-y", "superset-mcp"]
env = { SUPERSET_BASE_URL = "<SUPERSET_BASE_URL>" }
# codex mcp add superset --env SUPERSET_BASE_URL='<SUPERSET_BASE_URL>' -- npx -y superset-mcp~/.cursor/mcp.json
{
"mcpServers": {
"superset": {
"command": "npx",
"args": [
"-y",
"superset-mcp"
],
"env": {
"SUPERSET_BASE_URL": "<SUPERSET_BASE_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"superset": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"superset-mcp"
],
"env": {
"SUPERSET_BASE_URL": "<SUPERSET_BASE_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"superset": {
"command": "npx",
"args": [
"-y",
"superset-mcp"
],
"env": {
"SUPERSET_BASE_URL": "<SUPERSET_BASE_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"superset": {
"command": "npx",
"args": [
"-y",
"superset-mcp"
],
"env": {
"SUPERSET_BASE_URL": "<SUPERSET_BASE_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"superset": {
"command": "npx",
"args": [
"-y",
"superset-mcp"
],
"env": {
"SUPERSET_BASE_URL": "<SUPERSET_BASE_URL>"
}
}
}
}需要的环境变量
SUPERSET_BASE_URL
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。