
Rebuilding the Metabase MCP server: lessons for MCP tool design
Metabase metabase.com
Listen to this summary
An MCP server gives AI agents a set of tools for working in another app. Ours lets an agent do what you’d do in Metabase: find questions and dashboards, run queries and chart the results, build dashboards and documents, and set up alerts, all with your permissions. Our API could already do all of that. The hard part was turning it into tools a model actually uses well.
It took us two tries. The first version, in Metabase 60, wrapped our REST API, and models had a hard time with it. So we rebuilt it for Metabase 64 refined it in the next release, and we’ll keep doing so. This post covers what went wrong the first time, what we changed and why, and what we’d tell anyone building an MCP server or an agent of their own. Most of it isn’t specific to Metabase.
More ways to use this
Open on another device
Scan to open this page. Your saved notes and account access are not included.