MCP server that exposes all 111 endpoints of the Tienda Nube API as tools for Cursor (or other MCP clients) to code directly with the API.
SaferSkills independently audited MCP Tienda Nube (MCP Server) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Servidor Model Context Protocol (MCP) para la API de Tienda Nube
Servidor MCP que expone TODOS los 111 endpoints de la API de Tienda Nube como herramientas que Cursor (u otros clientes MCP) pueden usar para codear directamente con la API.
git clone https://github.com/ropu/MCP-tienda_nube.git
cd MCP-tienda_nubepip3 install -r requirements.txtpython3 app_complete.pyEl servidor estará disponible en: http://localhost:8000
curl http://localhost:8000/healthgit clone https://github.com/ropu/MCP-tienda_nube.git
cd MCP-tienda_nube
docker-compose up -ddocker build -t tiendanube-mcp .
docker run -d -p 8000:8000 tiendanube-mcp| Métrica | Valor |
|---|---|
| Recursos | 26 |
| Endpoints | 111 |
| GET | 52 (46.8%) |
| POST | 22 (19.8%) |
| PUT | 19 (17.1%) |
| DELETE | 17 (15.3%) |
| PATCH | 1 (0.9%) |
| Cobertura | 100% |
Productos & Catálogo:
Órdenes & Ventas:
Clientes:
Promociones:
Carrito & Pago:
Transacciones:
Envíos:
Tienda:
Integraciones:
Contenido:
Edita el archivo de configuración de Cursor:
macOS/Linux:
~/.cursor/mcp.jsonWindows:
%APPDATA%\Cursor\mcp.json{
"mcpServers": {
"tiendanube-api": {
"url": "http://localhost:8000",
"name": "Tienda Nube API",
"description": "API completa de Tienda Nube"
}
}
}@tiendanube-api
¿Cómo creo un producto con la API de Tienda Nube?Todos los endpoints de la API de Tienda Nube requieren autenticación OAuth 2.0:
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"User-Agent": "MyApp ([email protected])"
}curl -X POST "http://localhost:8000/tools/search_endpoint" \
-H "Content-Type: application/json" \
-d '{"query": "product"}'curl -X POST "http://localhost:8000/tools/get_endpoint_details" \
-H "Content-Type: application/json" \
-d '{"path": "/products", "method": "GET"}'curl -X POST "http://localhost:8000/tools/get_code_example" \
-H "Content-Type: application/json" \
-d '{"path": "/products", "method": "GET", "language": "python"}'# Validación básica
python3 test_complete_mcp.py
# Pruebas con bash
./test_mcp_tools.sh
# Pruebas de rate limiting
python3 test_rate_limiting.py✓ Test 1: Base de datos cargada correctamente
✓ Test 2: Cantidad de recursos (26)
✓ Test 3: Cantidad de endpoints (111)
✓ Test 4: Todos los recursos tienen endpoints
✓ Test 5: Todos los endpoints tienen campos requeridos
✓ Test 6: Métodos HTTP válidos
✓ Test 7: Paths válidos
✓ Test 8: No hay endpoints duplicados
✓ Test 9: Recursos específicos presentes
✓ Test 10: Estadísticas por método
✓ Test 11: Estadísticas por recurso
Pruebas pasadas: 11/11 ✅git clone https://github.com/ropu/MCP-tienda_nube.git
cd MCP-tienda_nube
chmod +x deploy.sh
./deploy.sh startgit clone https://github.com/ropu/MCP-tienda_nube.git
cd MCP-tienda_nube
docker-compose up -dVer DEPLOYMENT.md para más detalles.
MCP-tienda_nube/
├── api_database_complete.json # Base de datos con 111 endpoints
├── app_complete.py # Servidor FastAPI completo
├── Dockerfile # Imagen Docker
├── docker-compose.yml # Orquestación Docker
├── nginx.conf # Configuración Nginx
├── deploy.sh # Script de deployment
├── requirements.txt # Dependencias Python
├── README.md # Este archivo
├── README_COMPLETE.md # Guía completa
├── COMPLETE_API_DOCUMENTATION.md # Documentación de API
├── DEPLOYMENT.md # Guía de deployment
├── QUICK_START.md # Inicio rápido
├── TESTING_GUIDE.md # Guía de pruebas
├── test_complete_mcp.py # Suite de pruebas
└── ...otros archivos¿Encontraste un error? ¿Quieres agregar más funcionalidades?
git checkout -b feature/nueva-funcionalidadgit commit -m 'Agregar nueva funcionalidad'git push origin feature/nueva-funcionalidadEste proyecto es de código abierto y está disponible para uso libre.
@tiendanube-api
¿Cómo creo un producto con variantes?@tiendanube-api
¿Cómo obtengo todos los clientes de mi tienda?@tiendanube-api
¿Cómo actualizo el stock de un producto?Versión: 2.0.0 Última actualización: 2025-01-04 Estado: ✅ Completo (100% de cobertura) Endpoints: 111 Recursos: 26 Cobertura: 100%
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.