Order MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Controlled Agentic Operations Assistant
A minimal end-to-end operations agent using Groq, MCP, live business APIs, and deterministic refund guardrails.
Architecture
Browser
↓
Chat/session layer
↓
Groq agent
↓
MCP client/server
↓
Deterministic integration guardrail
↓
Order / CRM / Policy systemsMCP lets the agent dynamically discover standardized tools instead of directly knowing each external system's API. The MCP server exposes live order details, customer profiles, and the guarded refund operation.
Related MCP server: E-Commerce Support Agent MCP Server
Services
Order API:
src/backend.tson port3000CRM API:
src/crm-backend.tson port3001Authoritative Policy API:
src/policy-service.tson port3002Chat server and browser UI:
src/chat-server.tson port8080
Safety model
The current refund policy is supplied to the LLM context so the model can plan sensible actions.
The deterministic integration and policy layer prevents
MANUAL_REVIEWandBLOCKdecisions from issuing refund writes.The external Order API independently validates every refund as the final business-system safeguard.
The Policy API is authoritative. The application caches its refund policy for 60 seconds and refreshes it when stale.
Session memory
The LLM is stateless. The chat server stores only user messages and final assistant replies in an in-process session array, then resends that history for each model call. System prompts, MCP calls, and tool results are not persisted.
Live order and customer state is never trusted from conversation memory; MCP tools fetch it from the external systems each time.
Run
Requires Node.js 20 or later and a Groq API key.
npm installStart each process in a separate terminal:
npm run order
npm run crm
npm run policyThen set the key and start the chat server.
PowerShell:
$env:GROQ_API_KEY = "your-key"
npm run chatmacOS/Linux:
export GROQ_API_KEY="your-key"
npm run chatOpen http://localhost:8080.
Demo prompts
Handle the refund for order 101.→ALLOW, refund executedHandle the refund for order 102.→MANUAL_REVIEW, no refund writeRefund order 103.→BLOCK, no refund write
Multi-turn example:
Check order 102.Can you refund it?
Sessions and seeded business data are in memory and reset when their respective processes restart.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Manage Shipday orders, drivers, driver earnings, reports from your AI assistants.
Connect ChatGPT or Claude to your CRM, store or shipping API. Keys stay out of the chat.
Read-only access to your Order41 wholesale data. Look up orders, carts, products, drops and contacts, with their custom tags, straight from Claude, ChatGPT or Cursor. Order41 is a B2B ordering platform for fashion and action-sports brands, their sales agencies and retail buyers. Sign in with your Order41 account; you only see what your role allows.
Search 16,000+ API operations and 95 built tools by need, then call any of them by name
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables investigating delayed e-commerce orders by searching orders, retrieving order context, diagnosing delay causes, and recommending resolutions through natural language.4MIT
- FlicenseAqualityDmaintenanceProvides e-commerce customer support tools for order status, delivery, account, and policy questions, with RAG-grounded retrieval and strict authorization checks over mock data.6-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to find stale unshipped orders, retrieve order details, and mark orders as shipped by wrapping the orders REST API as MCP tools.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables conversational agents to query and create orders via MCP tools, including retrieving full order details, checking current status, and creating new customer orders.ISC