mcp.rest.xml 1.31 KB
<?xml version="1.0" encoding="UTF-8"?>
<!-- This software is in the public domain under CC0 1.0 Universal plus a 
     Grant of Patent License.

     To the extent possible under law, author(s) have dedicated all
     copyright and related and neighboring rights to this software to the
     public domain worldwide. This software is distributed without any warranty.

     You should have received a copy of the CC0 Public Domain Dedication
     along with this software (see the LICENSE.md file). If not, see
     <https://creativecommons.org/publicdomain/zero/1.0/>. -->

<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/rest-api-3.xsd"
        name="mcp" displayName="MCP API" version="2.0.0"
        description="MCP API services for Moqui integration - NOTE: Main functionality moved to screen/webapp.xml">

    <!-- NOTE: Main MCP functionality moved to screen/webapp.xml for unified JSON-RPC and SSE handling -->
    <!-- Keeping only basic GET endpoints for health checks and debugging -->
    
    <resource name="rpc">
        <method type="get">
            <service name="McpServices.mcp#Ping"/>
        </method>
        <method type="get" path="debug">
            <service name="McpServices.debug#ComponentStatus"/>
        </method>
    </resource>

</resource>