Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tiendanube MCP Serverlist all products with stock lower than 10 units"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tiendanube MCP Server - Docker Setup
A complete Model Context Protocol (MCP) server for Tiendanube/Nuvemshop API with Docker support and SSE transport.
π Features
Resources
Products: Full CRUD with advanced filtering (stock, price, categories, SKU)
Orders: Complete order management with history tracking
Customers: Customer management with addresses and billing
Categories: Category hierarchy management
Coupons: Discount coupon management
Store: Store information and settings
Transport Modes
β SSE (Server-Sent Events) - For web-based clients
β Streamable HTTP - Modern HTTP transport
β STDIO - For CLI/terminal usage
π Prerequisites
Docker and Docker Compose
Tiendanube API credentials:
Access Token
Store ID
π§ Setup
1. Clone or Create Project Structure
Create the following files:
tiendanube_server.py(main server code)Dockerfiledocker-compose.ymlrequirements.txt.env(from.env.example)
2. Configure Environment Variables
Create .env file:
3. Build and Run
π Accessing the Server
SSE Transport (Default)
Streamable HTTP Transport
Change .env:
π Health Check
π API Endpoints
Products
list_products- List/search products with filtersget_product- Get product by IDget_product_by_sku- Get product by SKUcreate_product- Create new product with variantsupdate_product- Update product informationdelete_product- Delete productupdate_product_stock_price- Bulk update stock/prices
Orders
list_orders- List orders with filtersget_order- Get order detailsget_order_history_values- Get value change historyget_order_history_editions- Get edition changelogcreate_order- Create new orderupdate_order- Update orderclose_order- Close orderopen_order- Reopen ordercancel_order- Cancel order
Customers
list_customers- List/search customersget_customer- Get customer detailscreate_customer- Create new customerupdate_customer- Update customerdelete_customer- Delete customer
Categories
list_categories- List all categoriesget_category- Get category detailscreate_category- Create categoryupdate_category- Update categorydelete_category- Delete category
Coupons
list_coupons- List all couponsget_coupon- Get coupon detailscreate_coupon- Create discount coupon
Store
get_store- Get store information
π― Usage Examples
Connect from Python Client
Connect from cURL
Advanced Examples
π³ Docker Commands
π Security Notes
Never commit - Add to
.gitignoreUse environment-specific tokens - Separate dev/prod credentials
Enable HTTPS - Use reverse proxy (nginx/traefik) for production
Rate limiting - Consider adding rate limits for production
CORS configuration - Configure allowed origins if exposing publicly
π Updating
π Logging
Logs are configured with rotation:
Max size: 10MB per file
Max files: 3
Location: Docker logs (use
docker-compose logs)
View logs:
π Troubleshooting
Server won't start
Connection refused
Verify port 8080 is not in use:
netstat -tuln | grep 8080Check firewall settings
Ensure container is running:
docker ps
Permission errors
π Production Deployment
With Nginx Reverse Proxy
With Docker Swarm
Environment Variables for Production
π Resources
π License
MIT License - See LICENSE file for details
π€ Contributing
Contributions are welcome! Please open an issue or submit a pull request.
π§ Support
For issues related to:
This MCP Server: Open a GitHub issue
Tiendanube API: Contact Tiendanube support
MCP Protocol: Check MCP documentation