2f74974d by Ean Schuessler

Fix DbResourceFile CDATA structure - wrap CDATA in <fileData> element

1 parent b844cc47
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
30 <moqui.resource.DbResourceFile 30 <moqui.resource.DbResourceFile
31 resourceId="WIKI_MCP_SCREEN_DOCS" 31 resourceId="WIKI_MCP_SCREEN_DOCS"
32 mimeType="text/markdown" 32 mimeType="text/markdown"
33 versionName="v1"><![CDATA[# Moqui MCP Server 33 versionName="v1">
34 <fileData><![CDATA[# Moqui MCP Server
34 35
35 This server provides access to Moqui ERP through MCP. 36 This server provides access to Moqui ERP through MCP.
36 37
...@@ -59,10 +60,11 @@ Use the following discovery tools to explore available functionality: ...@@ -59,10 +60,11 @@ Use the following discovery tools to explore available functionality:
59 ## Tips for LLM Clients 60 ## Tips for LLM Clients
60 61
61 - All screens support parameterized queries for filtering results 62 - All screens support parameterized queries for filtering results
62 - Use `moqui_render_screen` with the screen path to execute screens 63 - Use `moqui_render_screen` with screen path to execute screens
63 - Screen paths use dot notation (e.g., `PopCommerce.Catalog.Product`) 64 - Screen paths use dot notation (e.g., `PopCommerce.Catalog.Product`)
64 - Check `moqui_get_screen_details` for required parameters before rendering 65 - Check `moqui_get_screen_details` for required parameters before rendering
65 - Use `renderMode: "mcp"` for structured JSON output or `"text"` for human-readable format]]></moqui.resource.DbResourceFile> 66 - Use `renderMode: "mcp"` for structured JSON output or `"text"` for human-readable format]]></fileData>
67 </moqui.resource.DbResourceFile>
66 68
67 <!-- Root Wiki Page --> 69 <!-- Root Wiki Page -->
68 <moqui.resource.wiki.WikiPage 70 <moqui.resource.wiki.WikiPage
...@@ -89,7 +91,8 @@ Use the following discovery tools to explore available functionality: ...@@ -89,7 +91,8 @@ Use the following discovery tools to explore available functionality:
89 <moqui.resource.DbResourceFile 91 <moqui.resource.DbResourceFile
90 resourceId="WIKI_MCP_DOCS_ROOT" 92 resourceId="WIKI_MCP_DOCS_ROOT"
91 mimeType="text/markdown" 93 mimeType="text/markdown"
92 versionName="v1"><![CDATA[# Moqui MCP Server 94 versionName="v1">
95 <fileData><![CDATA[# Moqui MCP Server
93 96
94 This server provides access to Moqui ERP through MCP. 97 This server provides access to Moqui ERP through MCP.
95 98
...@@ -118,10 +121,11 @@ Use the following discovery tools to explore available functionality: ...@@ -118,10 +121,11 @@ Use the following discovery tools to explore available functionality:
118 ## Tips for LLM Clients 121 ## Tips for LLM Clients
119 122
120 - All screens support parameterized queries for filtering results 123 - All screens support parameterized queries for filtering results
121 - Use `moqui_render_screen` with the screen path to execute screens 124 - Use `moqui_render_screen` with screen path to execute screens
122 - Screen paths use dot notation (e.g., `PopCommerce.Catalog.Product`) 125 - Screen paths use dot notation (e.g., `PopCommerce.Catalog.Product`)
123 - Check `moqui_get_screen_details` for required parameters before rendering 126 - Check `moqui_get_screen_details` for required parameters before rendering
124 - Use `renderMode: "mcp"` for structured JSON output or `"text"` for human-readable format]]></moqui.resource.DbResourceFile> 127 - Use `renderMode: "mcp"` for structured JSON output or `"text"` for human-readable format]]></fileData>
128 </moqui.resource.DbResourceFile>
125 129
126 <!-- PopCommerce Root Screen Documentation --> 130 <!-- PopCommerce Root Screen Documentation -->
127 <moqui.resource.DbResource 131 <moqui.resource.DbResource
...@@ -132,7 +136,8 @@ Use the following discovery tools to explore available functionality: ...@@ -132,7 +136,8 @@ Use the following discovery tools to explore available functionality:
132 <moqui.resource.DbResourceFile 136 <moqui.resource.DbResourceFile
133 resourceId="WIKI_MCP_DOCS_POPCOMM_ROOT" 137 resourceId="WIKI_MCP_DOCS_POPCOMM_ROOT"
134 mimeType="text/markdown" 138 mimeType="text/markdown"
135 versionName="v1"><![CDATA[# PopCommerce Root 139 versionName="v1">
140 <fileData><![CDATA[# PopCommerce Root
136 141
137 Main storefront and customer-facing screens for PopCommerce e-commerce component. 142 Main storefront and customer-facing screens for PopCommerce e-commerce component.
138 143
...@@ -145,7 +150,8 @@ Main storefront and customer-facing screens for PopCommerce e-commerce component ...@@ -145,7 +150,8 @@ Main storefront and customer-facing screens for PopCommerce e-commerce component
145 150
146 ## Navigation 151 ## Navigation
147 152
148 Use browse tools to explore the full catalog of PopCommerce screens starting from this root screen.]]></moqui.resource.DbResourceFile> 153 Use browse tools to explore the full catalog of PopCommerce screens starting from this root screen.]]></fileData>
154 </moqui.resource.DbResourceFile>
149 155
150 <!-- PopCommerce Root Wiki Page --> 156 <!-- PopCommerce Root Wiki Page -->
151 <moqui.resource.wiki.WikiPage 157 <moqui.resource.wiki.WikiPage
...@@ -172,7 +178,8 @@ Use browse tools to explore the full catalog of PopCommerce screens starting fro ...@@ -172,7 +178,8 @@ Use browse tools to explore the full catalog of PopCommerce screens starting fro
172 <moqui.resource.DbResourceFile 178 <moqui.resource.DbResourceFile
173 resourceId="WIKI_MCP_DOCS_SIMPLE_ROOT" 179 resourceId="WIKI_MCP_DOCS_SIMPLE_ROOT"
174 mimeType="text/markdown" 180 mimeType="text/markdown"
175 versionName="v1"><![CDATA[# Simple Screens Root 181 versionName="v1">
182 <fileData><![CDATA[# Simple Screens Root
176 183
177 Basic Moqui framework demonstration screens showing common patterns and examples. 184 Basic Moqui framework demonstration screens showing common patterns and examples.
178 185
...@@ -185,7 +192,8 @@ Basic Moqui framework demonstration screens showing common patterns and examples ...@@ -185,7 +192,8 @@ Basic Moqui framework demonstration screens showing common patterns and examples
185 192
186 ## Usage 193 ## Usage
187 194
188 These screens are primarily for learning Moqui screen development patterns.]]></moqui.resource.DbResourceFile> 195 These screens are primarily for learning Moqui screen development patterns.]]></fileData>
196 </moqui.resource.DbResourceFile>
189 197
190 <!-- SimpleScreens Root Wiki Page --> 198 <!-- SimpleScreens Root Wiki Page -->
191 <moqui.resource.wiki.WikiPage 199 <moqui.resource.wiki.WikiPage
......