Remove invalid moqui.rest.xml with conflicting POST methods
Showing
1 changed file
with
0 additions
and
67 deletions
service/moqui.rest.xml
deleted
100644 → 0
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <!-- | ||
| 3 | This software is in the public domain under CC0 1.0 Universal plus a | ||
| 4 | Grant of Patent License. | ||
| 5 | |||
| 6 | To the extent possible under law, the author(s) have dedicated all | ||
| 7 | copyright and related and neighboring rights to this software to the | ||
| 8 | public domain worldwide. This software is distributed without any warranty. | ||
| 9 | |||
| 10 | You should have received a copy of the CC0 Public Domain Dedication | ||
| 11 | along with this software (see the LICENSE.md file). If not, see | ||
| 12 | <https://creativecommons.org/publicdomain/zero/1.0/>. | ||
| 13 | --> | ||
| 14 | |||
| 15 | <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/rest-api-3.xsd" | ||
| 16 | name="mo-mcp" displayName="Moqui MCP Server API" version="${moqui_version}" | ||
| 17 | description="Model Context Protocol (MCP) server for Moqui ERP services and entities"> | ||
| 18 | |||
| 19 | <!-- MCP JSON-RPC Handler --> | ||
| 20 | <resource name="mcp" description="MCP JSON-RPC 2.0 endpoint (MCP 2025-06-18 compliant)"> | ||
| 21 | <method type="post"> | ||
| 22 | <service name="McpJsonRpcServices.handleJsonRpcRequest"/> | ||
| 23 | </method> | ||
| 24 | <method type="get"> | ||
| 25 | <service name="McpJsonRpcServices.handleHttpGetRequest"/> | ||
| 26 | </method> | ||
| 27 | </resource> | ||
| 28 | |||
| 29 | <!-- Direct MCP Service Access --> | ||
| 30 | <resource name="McpServices" description="MCP Services"> | ||
| 31 | <resource name="mcp" description="MCP Protocol Operations"> | ||
| 32 | <method type="post"> | ||
| 33 | <service name="McpServices.mcp#Ping"/> | ||
| 34 | </method> | ||
| 35 | <method type="post"> | ||
| 36 | <service name="McpServices.mcp#Initialize"/> | ||
| 37 | </method> | ||
| 38 | <method type="post"> | ||
| 39 | <service name="McpServices.mcp#ToolsList"/> | ||
| 40 | </method> | ||
| 41 | <method type="post"> | ||
| 42 | <service name="McpServices.mcp#ToolsCall"/> | ||
| 43 | </method> | ||
| 44 | <method type="post"> | ||
| 45 | <service name="McpServices.mcp#ResourcesList"/> | ||
| 46 | </method> | ||
| 47 | <method type="post"> | ||
| 48 | <service name="McpServices.mcp#ResourcesRead"/> | ||
| 49 | </method> | ||
| 50 | </resource> | ||
| 51 | |||
| 52 | <resource name="discover" description="MCP Discovery Services"> | ||
| 53 | <method type="post"> | ||
| 54 | <service name="McpServices.discoverMcpTools"/> | ||
| 55 | </method> | ||
| 56 | <method type="post"> | ||
| 57 | <service name="McpServices.discoverMcpResources"/> | ||
| 58 | </method> | ||
| 59 | </resource> | ||
| 60 | |||
| 61 | <resource name="execute" description="MCP Tool Execution"> | ||
| 62 | <method type="post"> | ||
| 63 | <service name="McpServices.executeMcpTool"/> | ||
| 64 | </method> | ||
| 65 | </resource> | ||
| 66 | </resource> | ||
| 67 | </resource> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment