Order MCP
Order MCP
Un pequeño ejemplo de extremo a extremo de un asistente de pedidos impulsado por Groq que utiliza el Model Context Protocol (MCP).
Arquitectura
Groq LLM -> MCP client -> MCP server -> REST order backendsrc/ai-client.tsenvía la pregunta del usuario a Groq y actúa como el cliente MCP.src/index.tses el servidor MCP y expone la herramientaget_order_statusa través de stdio.src/backend.tses un backend REST de pedidos de ejemplo enhttp://localhost:3000.
Related MCP server: woocommerce-mcp-server
Descubrimiento y llamada de herramientas
Después de conectarse al servidor MCP, el cliente llama a listTools() para descubrir las herramientas y sus esquemas JSON. Convierte esas definiciones en herramientas de función de Groq y las incluye en la solicitud de chat. Cuando Groq devuelve una llamada a herramienta, el cliente pasa su nombre y argumentos a callTool(). El servidor MCP llama al backend REST, y el cliente envía el resultado de la herramienta de vuelta a Groq para la respuesta final.
Instalación y ejecución
Requiere Node.js 20 o posterior.
npm installProporciona una clave de API de Groq a través de la variable de entorno GROQ_API_KEY. No pongas la clave en el código fuente ni la confirmes en Git.
Inicia el backend REST en una terminal:
npm run backendLuego ejecuta el cliente en otra terminal. El cliente se inicia y se conecta al servidor MCP automáticamente:
PowerShell:
$env:GROQ_API_KEY = "your-key"
npm run clientmacOS/Linux:
export GROQ_API_KEY="your-key"
npm run clientThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted storefront backend for AI agents: products, cart, Stripe + PayPal, delivery, order tracking.
Real-time order tracking for Shopify merchants: look up, list, and refresh shipments.
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Run your restaurant from an AI client: orders, menu, reports, refunds, payouts and staff.
Related MCP Servers
- FlicenseDqualityDmaintenanceEnables interaction with a restaurant FastAPI backend for menu management, order processing, customer management, and analytics through natural language.241
- AlicenseDqualityDmaintenanceProvides tools for AI assistants to interact with a WooCommerce store, enabling fetching recent orders with optional filtering and retrieving detailed information about specific orders by ID.24MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to verify orders in an ERP system through Supabase API, checking order existence and retrieving details.
- AlicenseAqualityBmaintenanceEnables investigating delayed e-commerce orders by searching orders, retrieving order context, diagnosing delay causes, and recommending resolutions through natural language.4MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shreerang4/order-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server