Manages environment variables to securely store API credentials and configuration settings.
Referenced for version control best practices, specifically mentioning .gitignore for keeping sensitive credential files secure.
Provides package management and script execution for installation, development, and build processes.
MCP Pedidos - Servidor de Pedidos
Este es un servidor MCP (Model Context Protocol) para gestionar pedidos a través de una API REST.
Configuración de Variables de Entorno
Para configurar las credenciales y URL de la API, crea un archivo .env
en la raíz del proyecto basándote en el archivo env.example
.
Configuración Automática
Ejecuta el script de configuración para crear automáticamente el archivo .env
:
Variables de Entorno Disponibles
API_EMAIL
: Email para autenticación en la APIAPI_PASSWORD
: Contraseña para autenticación en la APIAPI_BASE_URL
: URL base de la API (opcional, por defecto usa la URL hardcodeada)
Ejemplo de archivo .env
Instalación
Desarrollo
Compilación
Uso
El servidor MCP se ejecuta a través de stdio y proporciona herramientas para:
- Crear pedidos
- Autenticar con la API
- Buscar productos y tamaños
- Gestionar caché y autenticación
Herramientas Disponibles
crear_pedido
: Crea un nuevo pedidoautenticar
: Autentica con la APIbuscar_producto
: Busca un producto por descripciónbuscar_tamaño
: Busca un tamaño por descripciónlimpiar_cache
: Limpia el cachéinvalidar_auth
: Invalida la autenticación actual
Seguridad
⚠️ Importante:
- Nunca compartas el archivo
.env
ya que contiene credenciales sensibles - Agrega
.env
a tu.gitignore
para evitar subirlo accidentalmente al repositorio - Usa credenciales diferentes para desarrollo y producción
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that manages orders through a REST API, allowing users to create orders, authenticate, search for products and sizes, and manage cache.
Related MCP Servers
- AsecurityFlicenseAqualityA comprehensive Model Context Protocol server that enables users to interact with the ShipStation API for managing orders, shipments, carriers, warehouses, products, customers, stores, webhooks, and fulfillments through structured tools.Last updated -392JavaScript
- AsecurityAlicenseAqualityA Model Context Protocol server that connects to a Magento 2 REST API, allowing Claude and other MCP clients to query product information, customer data, and order statistics from a Magento store.Last updated -1430JavaScriptGPL 3.0
- -securityFlicense-qualityA server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.Last updated -Python
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants to interact with a complete e-commerce application, providing authentication, product browsing, and shopping cart management through standardized MCP tools.Last updated -TypeScript