MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

MCP component for Moqui

Created 10/24/2025
Updated about 2 months ago
Repository documentation and setup instructions

Moqui MCP: AI in the Corporate Cockpit

⚠️ WARNING: THIS DOG MAY EAT YOUR HOMEWORK! ⚠️

This system can give AI agents god-mode access to an entire ERP system - that's not a feature, it's a loaded weapon requiring serious security consideration.

🎥 SEE IT WORK

Moqui MCP Demo

AI agents running real business operations.


🚀 THE POSSIBILITIES

Autonomous Business Operations

  • AI Purchasing Agents: Negotiate with suppliers using real inventory data
  • Dynamic Pricing: Adjust prices based on live demand and supply constraints
  • Workforce Intelligence: Optimize scheduling with real financial modeling
  • Supply Chain Orchestration: Coordinate global logistics automatically

Real-World Intelligence

  • Market Analysis: AI sees actual sales data, not just trends
  • Financial Forecasting: Ground predictions in real business metrics
  • Risk Management: Monitor operations for anomalies and opportunities
  • Compliance Automation: Enforce business rules across all processes

The Agentic Economy

  • Multi-Agent Systems: Sales, purchasing, operations AI working together
  • ECA/SECA Integration: Event-driven autonomous decision making
  • Cross-Company Coordination: AI agents negotiating with other AI agents
  • Economic Simulation: Test strategies in real business environment

ERP systems naturally create the perfect agentic theater - casting distinct roles around HR, Sales, Production, Accounting, and more. This organizational structure provides a powerful grounding framework where AI agents can inhabit authentic business personas with clear responsibilities, workflows, and relationships. The departmental boundaries and process flows that govern human collaboration become the stage directions for autonomous agents, turning corporate hierarchy into a narrative engine for AI coordination.

Every product you touch passed through an inventory system. Now AI touches back.


💬 From the Maintainer

"About 50% of this is slop. Ideas for JobSandbox integration?"

Your input shapes the roadmap.


Overview

This implementation provides the foundational bridge between AI assistants and real-world business operations through Moqui ERP. It exposes the complete corporate operating system - screens, services, entities, workflows, and business rules - as MCP tools with recursive discovery to arbitrary depth.

Think of this as giving AI agents actual jobs in real companies, with real responsibilities, real consequences, and real accountability.

Architecture

The implementation consists of:

  • EnhancedMcpServlet - Main MCP servlet handling JSON-RPC 2.0 protocol
  • McpServices - Core services for initialization, tool discovery, and execution
  • Screen Discovery - Recursive screen traversal with XML parsing
  • Security Integration - Moqui artifact authorization system
  • Test Suite - Java/Groovy tests (help please!)

License

This project is in the public domain under CC0 1.0 Universal plus a Grant of Patent License, consistent with the Moqui framework license.

Related Projects

  • Moqui Framework - https://github.com/moqui/moqui-framework
  • PopCommerce - https://github.com/moqui/PopCommerce
  • MCP Specification - https://modelcontextprotocol.io/

Support

For issues and questions:

  1. Moqui Forum Discussion
  2. Review test examples in test/
  3. Consult Moqui documentation
  4. Check server logs for detailed error information
Quick Setup
Installation guide for this server

Installation Command (package not published)

git clone https://github.com/schue/moqui-mcp
Manual Installation: Please check the README for detailed setup instructions and any additional dependencies required.

Cursor configuration (mcp.json)

{ "mcpServers": { "schue-moqui-mcp": { "command": "git", "args": [ "clone", "https://github.com/schue/moqui-mcp" ] } } }