Vitor Avila
a363c81887
fix(chart API): apply dashboard filters by live scope, not stale chartsInScope ( #41214 )
...
(cherry picked from commit 334b13c3d9 )
2026-06-19 12:33:44 -07:00
Amin Ghadersohi
9e45088364
fix(mcp): add select_columns lean defaults to get_dashboard_info, get_chart_info, get_dataset_info ( #40473 )
...
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
Co-authored-by: Richard Fogaça <richardfogaca@gmail.com >
(cherry picked from commit aa4092ba68 )
2026-06-05 17:50:15 -07:00
Gabriel Torres Ruiz
610d1c5998
feat(mcp): support custom SQL metrics in generate_chart and update_chart ( #40448 )
...
(cherry picked from commit e68251fa70 )
2026-06-05 16:53:09 -07:00
Richard Fogaca Nienkotter
febab1e24d
fix(mcp): default chart previews to ascii ( #39719 )
...
(cherry picked from commit d0abb66fdf )
2026-06-05 16:34:34 -07:00
Gabriel Torres Ruiz
e357c10a44
fix(mcp): clear stale query_context in update_chart so filters and row_limit are applied ( #39413 )
...
(cherry picked from commit 919daabe54 )
2026-06-05 16:28:59 -07:00
Richard Fogaca Nienkotter
e2c746a9a5
fix(mcp): return requested update chart previews ( #40077 )
...
(cherry picked from commit fa06989ed7 )
2026-06-03 15:47:38 -07:00
Alexandru Soare
f759506366
feat(mcp): make form_data_key optional in update_chart_preview ( #39680 )
...
(cherry picked from commit 33585b0480 )
2026-06-03 09:13:54 -07:00
Alexandru Soare
9ea64571dd
chore(mcp): Simplify chart preview response ( #40020 )
...
(cherry picked from commit b64561f3a3 )
2026-06-03 09:13:54 -07:00
Alexandru Soare
894d64cdd9
fix(preview): fix chart preview bugs ( #40063 )
...
(cherry picked from commit 558ff4452b )
2026-06-03 09:13:54 -07:00
Mehmet Salih Yavuz
4b0bd34372
feat(mcp): include applied dashboard filters in get_chart_info ( #39620 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
(cherry picked from commit 53d8e5bdfa )
2026-06-03 09:13:54 -07:00
Mehmet Salih Yavuz
7ce69aecdf
fix(mcp): eager-load dataset.metrics to prevent Excel export DetachedInstanceError ( #39483 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
(cherry picked from commit 2f95d288dd )
2026-06-03 09:13:54 -07:00
Alexandru Soare
a88648a793
fix(recommandation): Fix chart recommandation ( #39886 )
...
(cherry picked from commit e3711bec39 )
2026-06-03 09:13:54 -07:00
Richard Fogaca Nienkotter
51d76fdf9e
fix(mcp): apply cached adhoc filters to chart retrieval ( #40099 )
...
(cherry picked from commit 8fa5a75c70 )
2026-05-22 15:14:47 -07:00
Amin Ghadersohi
b46ee47661
fix(mcp): database filter columns, timeseries SQL, and unsaved chart datasource name ( #39636 )
...
Completes the earlier partial backport of #39636 (commit 9039d1460c )
which only applied the database/schemas.py + test_database_tools.py
chunks and dropped the get_chart_sql.py + test_get_chart_sql.py chunks
entirely. The dropped chunks introduce the `_resolve_engine` and
`_resolve_datasource_name` helpers used by #40099 .
(cherry picked from commit 7774ec7e3c )
2026-05-22 15:14:47 -07:00
Richard Fogaca Nienkotter
7f501aab42
fix(mcp): expose table chart type labels in chart responses ( #40060 )
...
(cherry picked from commit 2a1dcb79e3 )
2026-05-22 12:08:30 -07:00
Amin Ghadersohi
cd341db6d8
fix(mcp): add default request parameter to list_charts and list_dashboards ( #39730 )
...
(cherry picked from commit 957b298ae1 )
2026-05-22 10:37:55 -07:00
Amin Ghadersohi
d7fdb8a979
fix(mcp): validate column refs in generate_explore_link, update_chart_preview, and update_chart ( #39797 )
...
(cherry picked from commit 4a21a5365f )
(cherry picked from commit 7230edcb69869a342e80ca28d76ae1aec3612b80)
2026-05-17 21:37:15 -07:00
Richard Fogaca Nienkotter
4ad3053c7f
fix(mcp): warn on invalid chart preview form data key ( #39891 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
(cherry picked from commit 9459bc7bf4 )
2026-05-17 21:37:04 -07:00
Richard Fogaca Nienkotter
8ba59e7351
fix(mcp): sanitize read path output for LLM context ( #39738 )
...
(cherry picked from commit c2b9272f4c )
2026-05-15 19:37:31 -07:00
Amin Ghadersohi
9af36ae61c
feat(mcp): add get_chart_sql tool and expose chart filters in get_chart_info ( #38700 )
...
(cherry picked from commit 6948e73ec7 )
2026-05-15 19:26:05 -07:00
Amin Ghadersohi
0b37b8211b
chore(mcp): extract shared chart helpers and ASCII rendering into separate modules ( #39438 )
...
(cherry picked from commit e6853894ab )
2026-05-15 14:31:59 -07:00
Amin Ghadersohi
2e502a4019
fix(mcp): add description and certification fields to default list tool columns ( #39017 )
...
(cherry picked from commit 7be2acb2f3 )
2026-05-14 21:02:44 -07:00
Mehmet Salih Yavuz
c23bd3e8b9
fix(mcp): surface structured errors for generate_chart validation failures ( #39484 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
(cherry picked from commit 3f28f5d012 )
2026-05-08 12:55:26 -07:00
Elizabeth Thompson
be13d5001c
feat(mcp): restore self-lookup via created_by_me flag ( #39638 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 8d17c34068 )
2026-04-30 11:02:59 -07:00
Richard Fogaca Nienkotter
8254f3b1f9
fix(mcp): protect data-model metadata from dashboard viewers ( #39599 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit d79eb5842a )
2026-04-30 10:58:56 -07:00
Richard Fogaca Nienkotter
ac86bcc518
fix(mcp): hide user directory metadata from responses ( #39576 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit 0d50fd676b )
2026-04-29 15:51:11 -07:00
Amin Ghadersohi
7599b3d92e
fix(mcp): restore typed ChartConfig in tool schemas for LLM visibility ( #39732 )
...
(cherry picked from commit 4b42f82f13 )
2026-04-29 11:59:50 -07:00
Amin Ghadersohi
ea91ae1d03
fix(mcp): sanitize chart config errors and accept field name aliases ( #39606 )
...
(cherry picked from commit ad20285dd6 )
2026-04-29 09:12:55 -07:00
Mehmet Salih Yavuz
67c6956af1
feat(mcp): add a preview flow to mcp chart updates ( #39383 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
(cherry picked from commit 69f062b804 )
2026-04-29 09:12:55 -07:00
Amin Ghadersohi
b5fd6197fa
feat(mcp): add get_chart_type_schema tool for on-demand schema discovery ( #39142 )
...
(cherry picked from commit 5f9fc31ae2 )
2026-04-13 16:39:24 -07:00
Amin Ghadersohi
98aecb6248
fix(mcp): compress chart config schemas to reduce search_tools token usage ( #39018 )
...
(cherry picked from commit bf9aff19b5 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
a93b0842bf
fix(mcp): fix form_data null, dataset URL, ASCII preview, and chart rename ( #39109 )
...
(cherry picked from commit 7380a59ab8 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
1a819812f8
fix(mcp): enforce MAX_PAGE_SIZE limit on list tools to prevent oversized responses ( #38959 )
...
(cherry picked from commit 2c9cf0bd55 )
2026-04-01 10:50:34 -07:00
Amin Ghadersohi
86d52d1d97
fix(mcp): add try/except around DAO re-fetch to handle session errors in multi-tenant ( #38859 )
...
(cherry picked from commit 6dc3d7ad9f )
2026-03-27 14:53:36 -07:00
Amin Ghadersohi
45ec9f2cb5
fix(mcp): add permission checks to generate_dashboard and update_chart tools ( #38845 )
...
(cherry picked from commit 23a5e95884 )
2026-03-25 19:24:50 -07:00
Kamil Gabryjelski
29285560cc
fix(mcp): fix detached Slice instance error in chart/dashboard serialization ( #38767 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 1d72480c17 )
2026-03-25 19:24:50 -07:00
Amin Ghadersohi
cc76855755
fix(mcp): replace uuid with url and changed_on_humanized in default list columns ( #38566 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit fc156d0014 )
2026-03-20 09:34:35 -07:00
Amin Ghadersohi
6be0727015
fix(mcp): add missing command.validate() to MCP chart data tools ( #38521 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 2a876e8b86 )
2026-03-11 17:42:08 -07:00
Amin Ghadersohi
d1a4352a82
feat(mcp): add compile check to validate chart queries before returning ( #38408 )
...
(cherry picked from commit 3609cd9544 )
2026-03-10 16:45:43 -07:00
Amin Ghadersohi
1b876feaff
fix(mcp): Remove unsupported thumbnail/preview URLs and internal fields from MCP schemas ( #38109 )
...
(cherry picked from commit 2a3567d2f1 )
2026-02-23 09:08:27 -05:00
Amin Ghadersohi
77b32b3f82
fix(mcp): handle more chart types in get_chart_data fallback query construction ( #37969 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 5cd829f13c )
2026-02-18 09:16:30 -08:00
Amin Ghadersohi
93d371a94c
fix(mcp): include x_axis column in query context for series charts with group_by ( #37639 )
...
(cherry picked from commit 47db185e3b )
2026-02-05 14:03:19 -05:00
Amin Ghadersohi
c6c5d43073
fix(mcp): Handle big_number charts and make semantic warnings non-blocking ( #37142 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
(cherry picked from commit d0783da3e5 )
2026-01-26 12:40:51 -08:00
Amin Ghadersohi
be3097c206
feat(mcp): change save_chart default to False for preview-first workflow ( #36935 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
(cherry picked from commit 047360641a )
2026-01-26 12:40:51 -08:00
Amin Ghadersohi
fe7be94604
fix(mcp): use chart.query_context for get_chart_data like the API does ( #36937 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
(cherry picked from commit 64ee48f147 )
2026-01-26 12:40:51 -08:00
Amin Ghadersohi
519deb99e1
feat(mcp): add unified get_schema tool for schema discovery ( #36458 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
(cherry picked from commit 84279acd2f )
2026-01-26 12:40:51 -08:00
Amin Ghadersohi
beff839b5b
feat(mcp): MCP service implementation (PRs 3-9 consolidated) ( #35877 )
...
(cherry picked from commit fee4e7d8e2 )
2026-01-26 12:40:46 -08:00
Amin Ghadersohi
68e8ba7732
feat(mcp): PR2 - Add chart listing and info tools with core infrastructure ( #35835 )
...
(cherry picked from commit e1455057e7 )
2026-01-26 12:40:45 -08:00