You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MCP `coursecode_lint` tool runs the build linter (config validation, CSS class verification, structure checks). It does NOT include runtime errors. For runtime errors, contrast warnings, and other dynamic issues, use `coursecode_state` which returns `frameworkLogs` and `errors` from the preview server.
667
+
The MCP `coursecode_lint` tool runs the build linter (config validation, CSS class verification, structure checks). It does NOT include runtime errors. For runtime errors and contrast warnings, use `coursecode_errors` (lightweight — just errors and console logs) or `coursecode_state` (full state snapshot including errors).
668
668
669
669
### Shared Rules (`lib/validation-rules.js`)
670
670
@@ -873,6 +873,7 @@ If the preview is not running, runtime tools fail fast with a clear error messag
| `coursecode_errors` | Errors + console logs only | `{errors, consoleLogs, count, clean}` — same error sources as `coursecode_state`, without the state payload |
876
877
| `coursecode_navigate` | Go to slide by ID | `{slide, interactions, engagement, accessibility}` |
Use this first to understand the course state before taking actions.
37
+
For error checking only (after file edits), prefer coursecode_errors — same error sources, smaller payload.
38
+
Requires preview server to be running.`,
39
+
inputSchema: {
40
+
type: 'object',
41
+
properties: {},
42
+
required: []
43
+
},
44
+
annotations: {
45
+
readOnlyHint: true,
46
+
idempotentHint: true
47
+
}
48
+
},
49
+
{
50
+
name: 'coursecode_errors',
51
+
description: `Get runtime errors and warnings from the live preview. Uses the same error sources as coursecode_state (preview server errors + browser console) but without the heavyweight state payload.
52
+
53
+
Returns:
54
+
- errors: [{type, message, hint?, isWarning?}] — preview server errors and warnings
0 commit comments