Integrates the Metabase API so agents can access Metabase dashboards, questions and data.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add metabase --env METABASE_URL='<METABASE_URL>' -- node build/index.js~/.codex/config.toml
[mcp_servers.metabase]
command = "node"
args = ["build/index.js"]
env = { METABASE_URL = "<METABASE_URL>" }
# codex mcp add metabase --env METABASE_URL='<METABASE_URL>' -- node build/index.js~/.cursor/mcp.json
{
"mcpServers": {
"metabase": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"METABASE_URL": "<METABASE_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"metabase": {
"type": "stdio",
"command": "node",
"args": [
"build/index.js"
],
"env": {
"METABASE_URL": "<METABASE_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"metabase": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"METABASE_URL": "<METABASE_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"metabase": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"METABASE_URL": "<METABASE_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"metabase": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"METABASE_URL": "<METABASE_URL>"
}
}
}
}需要的环境变量
METABASE_URL
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。