Implement clean Moqui-centric MCP v2.0 using built-in JSON-RPC
- Replace custom REST API with Moqui's native /rpc/json endpoint - Implement MCP methods as standard Moqui services with allow-remote='true' - Remove unnecessary custom layers (webapp, screens, custom JSON-RPC handler) - Direct service-to-tool mapping for maximum simplicity - Leverage Moqui's built-in authentication, permissions, and audit logging - Comprehensive client examples for Python, JavaScript, and cURL - Complete documentation with architecture overview and usage patterns Key Changes: - service/McpServices.xml: MCP methods as standard Moqui services - component.xml: Minimal configuration, no custom webapp - AGENTS.md: Updated for Moqui-centric approach - entity/, data/: Minimal extensions, leverage built-in entities - Removed: mcp.rest.xml, screen/ directory (unnecessary complexity) This demonstrates the power of Moqui's built-in JSON-RPC support for clean, maintainable MCP integration.
Showing
6 changed files
with
1412 additions
and
0 deletions
AGENTS.md
0 → 100644
component.xml
0 → 100644
data/McpSecuritySeedData.xml
0 → 100644
entity/McpCoreEntities.xml
0 → 100644
service/McpJsonRpcServices.xml
0 → 100644
service/McpServices.xml
0 → 100644
-
Please register or sign in to post a comment