analytics
Metabase MCP Gateway for AI Agents
Expose Metabase tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.
8 functions 8 read 0 write Username and password auth
Metabase MCP Gateway
Expose Metabase to MCP clients with `kosmokrator mcp:serve --integration=metabase`.
If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash kosmokrator mcp:gateway:install --integration=metabase --write=deny --json {
"mcpServers": {
"kosmokrator-metabase": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=metabase",
"--write=deny"
]
}
}
} Serve Manually
kosmokrator mcp:serve --integration=metabase --write=deny MCP Tool Names
KosmoKrator exposes integration tools through the gateway with stable names:
| MCP tool | Source function | Type |
|---|---|---|
integration__metabase__metabase_list_dashboards | metabase.metabase_list_dashboards | Read read |
integration__metabase__metabase_get_dashboard | metabase.metabase_get_dashboard | Read read |
integration__metabase__metabase_list_cards | metabase.metabase_list_cards | Read read |
integration__metabase__metabase_get_card | metabase.metabase_get_card | Read read |
integration__metabase__metabase_query_card | metabase.metabase_query_card | Read read |
integration__metabase__metabase_list_databases | metabase.metabase_list_databases | Read read |
integration__metabase__metabase_get_database | metabase.metabase_get_database | Read read |
integration__metabase__metabase_get_current_user | metabase.metabase_get_current_user | Read read |
Write Access
Start with --write=deny for read-only MCP clients. Use --write=ask or
--write=allow only when the client and workspace are trusted.