Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .changeset/mcp-dashboard-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
'@hyperdx/api': patch
---

feat(mcp): add patch_dashboard, get_dashboard_tile, search_dashboards tools

Add three new MCP dashboard tools for granular operations:

- `hyperdx_get_dashboard_tile` — retrieve a single tile by tileId
- `hyperdx_patch_dashboard` — update name/tags and/or replace one tile
without resubmitting the full dashboard
- `hyperdx_search_dashboards` — search by name and/or tags

Fix empty parameter schema on patch/search tools caused by Zod
`.refine()` wrapping. Document Lucene substring matching limitations
prominently in tool descriptions and query guide prompt.

**Breaking (minor):** Tile `name` on `hyperdx_save_dashboard` now requires
at least 1 character (`.min(1)`). Previously empty string `""` was accepted
and silently persisted as a blank title. Callers sending `name: ""` will
now receive a validation error.
2 changes: 1 addition & 1 deletion packages/api/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
testEnvironment: 'node',
verbose: true,
rootDir: './src',
testMatch: ['**/__tests__/*.test.ts?(x)'],
testMatch: ['**/__tests__/**/*.test.ts?(x)'],
testTimeout: 30000,
moduleNameMapper: {
'@/(.*)$': '<rootDir>/$1',
Expand Down
Loading
Loading