mcp.rest.xml 1.09 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, the 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 JSON-RPC API" version="2.0.0"
        description="MCP JSON-RPC 2.0 services for Moqui integration">

    <resource name="rpc">
        <method type="post">
            <service name="McpServices.handle#McpRequest"/>
        </method>
        <method type="get">
            <service name="McpServices.mcp#Ping"/>
        </method>
    </resource>
    


</resource>