list_dashboards
Discover and browse all available dashboards in your Metabase instance to identify relevant analytics views for data exploration and reporting.
Instructions
📊 [SAFE] List all dashboards in Metabase. Use this to discover available dashboards or find dashboards by name. Risk: None - read-only operation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function for the 'list_dashboards' tool. Fetches all dashboards from Metabase API and formats a response listing up to 50 dashboards with IDs and names.async listDashboards() { this.logger.debug('Listing dashboards'); const dashboards = await this.apiClient.makeRequest('/api/dashboard'); return { content: [ { type: 'text', text: `Found ${dashboards.length} dashboards: ${dashboards.slice(0, 50).map(d => `- ID: ${d.id} | Name: ${d.name}` ).join('\n')}${dashboards.length > 50 ? `\n... and ${dashboards.length - 50} more dashboards` : ''}`, }, ], }; }
- Tool schema definition for 'list_dashboards', including name, description, and empty input schema (no parameters required). Used for MCP tool listing.{ name: 'list_dashboards', description: '📊 [SAFE] List all dashboards in Metabase. Use this to discover available dashboards or find dashboards by name. Risk: None - read-only operation.', inputSchema: { type: 'object', properties: {}, }, },
- src/server/MetabaseMCPServer.js:182-183 (registration)Dispatch/registration of the 'list_dashboards' tool in the MCP server's executeTool switch statement, calling the dashboardHandlers.listDashboards() method.case 'list_dashboards': return await this.dashboardHandlers.listDashboards();