@thehammer/schema-mcp-server 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ const server = new McpServer({
|
|
|
36
36
|
* orchestrator — Read-only + annotations + context + progress (no mutations)
|
|
37
37
|
* schema-builder — Schema mutations + reads (no directives/templates/annotations)
|
|
38
38
|
* behavior-builder — Directive mutations + reads (no schema/templates/annotations)
|
|
39
|
-
* template-builder — Template mutations + reads + styles (
|
|
39
|
+
* template-builder — Template mutations + reads + styles + annotation_create (for missing-field questions)
|
|
40
40
|
* full (default) — All tools (backwards compatible, used by reviewer agents)
|
|
41
41
|
*/
|
|
42
42
|
const SCHEMA_ROLE = process.env.SCHEMA_ROLE || "full";
|
|
@@ -92,6 +92,7 @@ const ROLE_TOOLS = {
|
|
|
92
92
|
"template_set_sample_data",
|
|
93
93
|
"quality_gate_submit_review",
|
|
94
94
|
"style_list",
|
|
95
|
+
"annotation_create", // Question annotations for missing fields → orchestrator decides
|
|
95
96
|
]),
|
|
96
97
|
reviewer: new Set([
|
|
97
98
|
...COMMON_TOOLS,
|