|
| 1 | +--- |
| 2 | +"@trigger.dev/core": patch |
| 3 | +"trigger.dev": patch |
| 4 | +--- |
| 5 | + |
| 6 | +MCP server improvements: new tools, bug fixes, and new flags. |
| 7 | + |
| 8 | +**New tools:** |
| 9 | +- `get_query_schema` — discover available TRQL tables and columns |
| 10 | +- `query` — execute TRQL queries against your data |
| 11 | +- `list_dashboards` — list built-in dashboards and their widgets |
| 12 | +- `run_dashboard_query` — execute a single dashboard widget query |
| 13 | +- `whoami` — show current profile, user, and API URL |
| 14 | +- `list_profiles` — list all configured CLI profiles |
| 15 | +- `switch_profile` — switch active profile for the MCP session |
| 16 | +- `start_dev_server` — start `trigger dev` in the background and stream output |
| 17 | +- `stop_dev_server` — stop the running dev server |
| 18 | +- `dev_server_status` — check dev server status and view recent logs |
| 19 | + |
| 20 | +**New API endpoints:** |
| 21 | +- `GET /api/v1/query/schema` — query table schema discovery |
| 22 | +- `GET /api/v1/query/dashboards` — list built-in dashboards |
| 23 | + |
| 24 | +**New features:** |
| 25 | +- `--readonly` flag hides write tools (`deploy`, `trigger_task`, `cancel_run`) so the AI cannot make changes |
| 26 | +- `read:query` JWT scope for query endpoint authorization |
| 27 | +- `get_run_details` trace output is now paginated with cursor support |
| 28 | +- MCP tool annotations (`readOnlyHint`, `destructiveHint`) for all tools |
| 29 | + |
| 30 | +**Bug fixes:** |
| 31 | +- Fixed `search_docs` tool failing due to renamed upstream Mintlify tool (`SearchTriggerDev` → `search_trigger_dev`) |
| 32 | +- Fixed `list_deploys` failing when deployments have null `runtime`/`runtimeVersion` fields (#3139) |
| 33 | +- Fixed `list_preview_branches` crashing due to incorrect response shape access |
| 34 | +- Fixed `metrics` table column documented as `value` instead of `metric_value` in query docs |
| 35 | +- Fixed dev CLI leaking build directories on rebuild — deprecated workers now clean up their build dirs when their last run completes |
| 36 | + |
| 37 | +**Context optimizations:** |
| 38 | +- `get_query_schema` now requires a table name and returns only one table's schema (was returning all tables) |
| 39 | +- `get_current_worker` no longer inlines payload schemas; use new `get_task_schema` tool instead |
| 40 | +- Query results formatted as text tables instead of JSON (~50% fewer tokens) |
| 41 | +- `cancel_run`, `list_deploys`, `list_preview_branches` formatted as text instead of raw JSON |
| 42 | +- Schema and dashboard API responses cached to avoid redundant fetches |
0 commit comments