Skip to main content
No longer maintained. This Runlayer-built connector is deprecated and will not receive further updates. Use Metabase’s official hosted MCP server instead. See the Metabase MCP docs.
Connect your AI assistant to Metabase for dashboards, queries, and analytics. Uses API Key authentication.

Available Tools

ToolDescription
list_allList all available Metabase content in one call: dashboards, cards/questions, databases, collections, and users
search_contentSearch across all content types
list_cardsList all questions/cards
get_cardGet a specific card by ID
create_cardCreate a new question with full MBQL/native query and visualization settings payloads
update_cardModify an existing card with full MBQL/native query and visualization settings payloads
delete_cardDelete a card (archives by default, or permanently deletes if hard_delete is true)
execute_cardRun a question and get results
list_collectionsList all collections
get_collectionGet collection details
create_collectionCreate a new collection
update_collectionModify a collection
delete_collectionRemove a collection
list_dashboardsList all dashboards
get_dashboardGet dashboard with cards
create_dashboardCreate a new dashboard
update_dashboardModify dashboard settings
delete_dashboardDelete a dashboard (archives by default, or permanently deletes if hard_delete is true)
get_dashboard_cardsList cards in a dashboard
add_card_to_dashboardAdd a card to a dashboard with positioning
remove_card_from_dashboardRemove a card from a dashboard
list_databasesList connected databases
get_databaseGet database details
get_database_schemaList schemas in a database
get_database_tablesGet all tables with metadata
get_tableGet table details with columns
create_database_connectionAdd a new database connection
sync_database_schemaRefresh database metadata
execute_queryRun raw SQL queries
list_usersList all users
get_userGet user details
create_userAdd a new user
update_userModify user information
delete_userRemove a user
list_permission_groupsList permission groups
create_permission_groupCreate a permission group
update_permission_groupModify a group
delete_permission_groupRemove a group

Setup

1

Get API Key

  1. Log in to Metabase as an admin
  2. Go to Settings > Admin settings > Authentication
  3. Under API Keys, click Create API Key
  4. Copy the key (shown only once)
2

Add Server in Runlayer

  1. In Runlayer, go to My connectors, find Metabase, and click Add connector
  2. Enter:
    • METABASE_URL: Your Metabase URL (e.g., https://metabase.company.com)
    • METABASE_API_KEY: Your API key
  3. Click Deploy Server

Troubleshooting

Verify your Metabase URL is correct and accessible. Check firewall rules for self-hosted instances.
Verify your API key is correct and hasn’t expired. Try generating a new key.
Ensure the API key is associated with a user that has the necessary permissions.