get_platform_overview
About CustomerDashboard
Explain what CustomerDashboard.io is, how multi-customer dashboards work, and how workspaces, dashboards, views, widgets and customers fit together. Call this first when you are unfamiliar with the product. No sign-in required.
無需輸入參數。
list_supported_data_connectors
List supported data connectors
List every data source type CustomerDashboard can connect to, the settings each one needs, whether widgets can query it, and whether its schema can be introspected. No sign-in required.
無需輸入參數。
list_widget_types
List widget types
List every visualization a widget can use, with the visualizationConfig keys each type requires and accepts. Call this before creating widgets so the configuration is correct first time. No sign-in required.
無需輸入參數。
list_plans_and_limits
List plans and limits
List CustomerDashboard's subscription plans, their monthly price and the resource limits each one allows. Useful for explaining why a create operation was blocked. No sign-in required.
無需輸入參數。
explain_customer_filtering
Explain per-customer data filtering
Explain exactly how to write widget queries so each customer only sees their own rows on a multi-customer dashboard. Call this before writing any query for a `customer` type dashboard. No sign-in required.
無需輸入參數。
get_started
How to get started
Explain how to sign up for the free trial and connect this MCP server to a CustomerDashboard account, plus the order of steps for building a first multi-customer dashboard. No sign-in required.
無需輸入參數。
Get the signed-in CustomerDashboard account: name, email, workspace, current plan, what the plan allows and how much of it is already used. Call this first in an authenticated session to learn the workspace you are working in.
無需輸入參數。
list_data_sources
List data sources
List every data source connected to your workspace. Connection credentials are never included.
無需輸入參數。
get_data_source
Get data source
Get one data source by id, including its non-secret connection settings. Credentials are never included.
輸入參數dataSourceId必填
test_data_source_connection
Test a data source connection
Check whether a set of connection settings actually works, before saving them. Pass an existing dataSourceId to retest a saved connection, or a type and config to test new settings.
輸入參數typeconfigdataSourceId
add_data_source
Add a data source
Connect a new database or spreadsheet to your workspace. Test the settings with test_data_source_connection first: this tool saves them whether or not they work. Subject to your plan's data source limit.
輸入參數name必填type必填config必填
update_data_source
Update a data source
Rename a data source or replace its connection settings. The config you pass replaces the stored one entirely, so include every setting, not just the changed ones.
輸入參數nameconfigdataSourceId必填
get_data_source_schema
Get data source schema
List the tables and columns available in a connected data source, so you can write correct widget queries. Supported for PostgreSQL, MySQL, SQL Server, Oracle, Aurora, Redshift and Google Sheets.
輸入參數tabledataSourceId必填
run_query_preview
Preview a query
Run a query against a connected data source and return the first few rows, so you can confirm it works before putting it on a widget. Results are capped at 100 rows. If the query contains :customer_id you must also say which customer to preview as, using customerId or dashboardId.
輸入參數limitquery必填customerIddashboardIddataSourceId必填
list_dashboards
List dashboards
List every dashboard in your workspace, with its type, publishing state and share URL if published.
無需輸入參數。
get_dashboard
Get dashboard
Get one dashboard in full: its settings, theme, publishing state, every view, and every widget on each view including the widget queries. This is the fastest way to understand an existing dashboard before changing it.
輸入參數dashboardId必填includeWidgets
create_dashboard
Create a dashboard
Create a dashboard. Use type 'customer' for a multi-customer dashboard where each of your customers signs in and sees only their own rows, or 'internal' for a normal dashboard you view yourself or publish as one shared view. A 'Default' view is created automatically. Subject to your plan's dashboard limit.
輸入參數name必填type
update_dashboard
Update a dashboard
Rename a dashboard, set how long each view is shown when the dashboard auto-rotates on a screen, or set the test customer used to preview a customer dashboard. Use set_dashboard_theme for colours and publish_dashboard for sharing.
輸入參數namedashboardId必填testCustomerIdviewRotationSeconds
List the views (tabs) on a dashboard, in display order, with how many widgets each one holds.
輸入參數dashboardId必填
Add a view (tab) to a dashboard. New views are appended after the existing ones. Subject to your plan's view limit.
輸入參數name必填dashboardId必填
Rename a view. Use reorder_views to change the tab order.
輸入參數name必填viewId必填dashboardId必填
reorder_views
Reorder views
Set the tab order of a dashboard's views. Pass every view id in the order you want them shown. This is also the order they rotate in on a wall display.
輸入參數viewIds必填dashboardId必填
List the widgets on a view, including each widget's query and visualization configuration.
輸入參數viewId必填
create_widget
Create a widget
Add a chart, table or KPI to a view. Call list_widget_types for the visualizationConfig each type needs, and run_query_preview first to confirm the query returns the columns you are about to reference. On a multi-customer dashboard the query must filter on :customer_id. Subject to your plan's widget limit.
輸入參數query必填title必填layoutviewId必填dataSourceId必填visualizationType必填visualizationConfigallowSharedAcrossAllCustomers
update_widget
Update a widget
Change a widget's title, query, visualization type, configuration, data source or position. Only the fields you pass are changed.
輸入參數querytitlelayoutviewId必填widgetId必填dataSourceIdvisualizationTypevisualizationConfigallowSharedAcrossAllCustomers
set_widget_layout
Arrange widgets
Reposition several widgets on a view at once, on the 12-column grid. Use this to lay out a whole view rather than moving widgets one at a time.
輸入參數viewId必填layouts必填
list_customers
List customers
List the customers on a multi-customer dashboard, each with the customerId their data is filtered by and how many logins they have.
輸入參數dashboardId必填includeUsers
add_customer
Add a customer
Add one of your customers to a multi-customer dashboard. The customerId must exactly match the value that identifies them in your own database, because it is what gets bound to :customer_id in every widget query. Adding a customer does not give anyone access; use add_customer_user for that. Subject to your plan's customer limit.
輸入參數name必填customerId必填dashboardId必填
update_customer
Update a customer
Rename a customer or correct the customerId their data is filtered by. Changing customerId immediately changes which rows they see, so confirm the new value with the user first.
輸入參數namecustomerIddashboardId必填customerRecordId必填
add_customer_user
Add a customer login
Create a login for one of your customers so they can sign in to the published dashboard and see their own data. If you do not supply a password a strong one is generated and returned once. Subject to your plan's users-per-customer limit.
輸入參數email必填passworddashboardId必填customerRecordId必填
validate_customer_filtering
Check per-customer data isolation
Audit a multi-customer dashboard and report any widget whose query would show the same rows to every customer. Run this before publishing a customer dashboard, and any time its queries change.
輸入參數dashboardId必填
set_dashboard_theme
Set dashboard colours
Set the colour theme of a dashboard: page and surface backgrounds, text colours, brand colours and the chart series palette. All colours are hex values. Pass every field, since the theme is stored as one object.
輸入參數dashboardId必填surfaceColor必填backgroundColor必填primaryTextColor必填chartSeriesColorsprimaryBrandColor必填secondaryTextColor必填secondaryBrandColor
set_dashboard_formatting
Set number and date formatting
Set the default locale and number, currency, percentage, duration, date and datetime formatting for a dashboard. Individual widgets can still override these.
輸入參數datelocalenumbercurrencydatetimedurationpercentagedashboardId必填nullDisplay
publish_dashboard
Publish a dashboard
Publish a dashboard and return its share URL. A customer dashboard is always login-gated, so its customers sign in with the logins you created. An internal dashboard can be published as 'public' (anyone with the link) or 'protected' (one shared username and password).
輸入參數accesspasswordusernamedashboardId必填
unpublish_dashboard
Unpublish a dashboard
Make a dashboard private again. The existing share link stops working immediately, and any shared username and password are cleared. Widgets and data are untouched.
輸入參數dashboardId必填
get_dashboard_share_url
Get share URL
Get the public URL of a published dashboard, and who can open it. Returns nothing to share if the dashboard is still private.
輸入參數dashboardId必填
delete_dashboard
Delete a dashboard
Permanently delete a dashboard and everything on it. Calling this without confirm returns a preview of what would be removed; deleting for real needs confirm plus the dashboard's exact name. This cannot be undone.
輸入參數confirmconfirmNamedashboardId必填
Permanently delete a view and every widget on it. Calling this without confirm returns a preview. This cannot be undone.
輸入參數viewId必填confirmconfirmNamedashboardId必填
delete_widget
Delete a widget
Permanently delete a widget. Calling this without confirm returns a preview. This cannot be undone.
輸入參數viewId必填confirmwidgetId必填confirmName
delete_data_source
Delete a data source
Permanently delete a data source connection. This is refused while any widget still uses it. Calling this without confirm returns a preview. Your actual database is untouched; only the connection is removed.
輸入參數confirmconfirmNamedataSourceId必填
delete_customer
Delete a customer
Permanently remove a customer from a multi-customer dashboard, along with all of their logins. They lose access immediately. Calling this without confirm returns a preview. This cannot be undone.
輸入參數confirmconfirmNamedashboardId必填customerRecordId必填
delete_customer_user
Delete a customer login
Permanently remove one login from a customer. They can no longer sign in. Calling this without confirm returns a preview. The customer itself and their data access rule remain.
輸入參數userId必填confirmconfirmNamedashboardId必填customerRecordId必填