Is the Metabase MCP server safe? What it can reach
What the Metabase MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Metabase ships its own MCP server inside the app, at /api/metabase-mcp on your instance, and clients sign in with OAuth. It acts with the signed-in user’s Metabase permissions and can run queries, run raw SQL and edit dashboards. Admins can turn it off or limit tools by group on Pro and Enterprise.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| Metabase MCP server (built into Metabase, official) | Official | active |
| @jerichosequitin/metabase-mcp (community) | Community | active |
It runs as a local process on your machine or as a hosted remote server. The documented endpoint is https://your-metabase.example.com/api/metabase-mcp.
How it signs in
Clients register with Metabase’s built-in OAuth server and you approve scopes on a consent page. Tokens carry your own Metabase permissions, so the agent sees what you see. The community server instead uses a Metabase API key or an email and password.
| Scope or permission | Access |
|---|---|
agent:content:read | read |
agent:query:run | read |
agent:content:write | write |
agent:sql:run | write |
agent:delivery:write | write |
What its tools can do
| Kind | Tools |
|---|---|
| Read | browse_collection, browse_data, get_content, get_parameter_values, glossary, learn, search, execute_query, run_saved_question, render_drill_through, visualize_query |
| Write | bookmark_content, collection_write, dashboard_write, document_write, question_write, metric_write, measure_write, segment_write, duplicate_content |
| Can’t be undone | execute_sql, alert_write, subscription_write |
Metabase documents 23 tools. Its docs say there is no hard delete: the *_write tools can move content to the trash, and it can be restored. The page documents Metabase 65, and says clients connected before 0.64 must sign in again after upgrading; check your version. The community server has a different tool set (list, retrieve, search, execute, export, clear_cache).
Built-in limits
| Option | What it does |
|---|---|
Admin > AI > MCP | Admins can turn the server off. It is on by default and also stays off when Disable all AI features is set. |
MCP tools access | On Pro and Enterprise, admins can limit which tools each group may use. It can only narrow access. |
Consent scopes | You approve scopes at consent. Leave out agent:sql:run and agent:delivery:write to remove raw SQL, alerts and subscriptions. |
Audit | The Authorizations tab logs client approvals and denials, and MCP analytics (Pro and Enterprise) shows tool calls. |
METABASE_READ_ONLY_MODE (community server) | Defaults to true and limits execute to SELECT queries. |
The risks
- Dashboard names, question descriptions and database contents can hold text written by others, so an injected instruction could drive execute_sql if you granted agent:sql:run.
- execute_sql can overwrite or delete data in any connected database where your Metabase connection has write rights.
- alert_write and subscription_write create scheduled sends to email or Slack, which can push query results to an outside address.
- Query results go to the client and then to your LLM provider, so row data leaves Metabase.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http metabase https://your-metabase.example.com/api/metabase-mcpClaude Code names MCP tools mcp__metabase__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__metabase__execute_sql",
"mcp__metabase__alert_write",
"mcp__metabase__subscription_write"
],
"ask": [
"mcp__metabase__bookmark_content",
"mcp__metabase__collection_write",
"mcp__metabase__dashboard_write",
"mcp__metabase__document_write",
"mcp__metabase__question_write",
"mcp__metabase__metric_write",
"mcp__metabase__measure_write",
"mcp__metabase__segment_write",
"mcp__metabase__duplicate_content"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.metabase]
url = "https://your-metabase.example.com/api/metabase-mcp"
disabled_tools = ["execute_sql", "alert_write", "subscription_write"]Checklist
- Decline agent:sql:run and agent:delivery:write at consent unless you need them.
- Connect with a user whose Metabase permissions are narrow.
- Ask your admin to limit tools by group if you are on Pro or Enterprise.
- Check the Authorizations tab for clients you do not recognize.
Checked against the vendor documentation on November 25, 2026. Metabase MCP server docs · Metabase MCP tools · metabase-mcp README (jerichosequitin)
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing