Shopping cart platform for developers.
## Snipcart MCP Server: Drop-in Shopping Cart The **Snipcart MCP Server** integrates Snipcart's embeddable shopping cart into Google Antigravity, enabling developers to add e-commerce to any website through AI-assisted cart management. ### Why Snipcart MCP? - **Drop-in Cart**: Add e-commerce to any existing website - **Developer Friendly**: Simple HTML attributes or JavaScript API - **Hosted Checkout**: Secure, PCI-compliant checkout - **Multi-Currency**: Support for 20+ currencies - **Digital Products**: Built-in digital delivery ### Key Features #### 1. Product and Cart Management ```javascript // Get products from store const products = await snipcart.getProducts({ limit: 50, offset: 0 }); // Get cart const cart = await snipcart.getCart({ token: cartToken }); // Add item to cart await snipcart.addItem({ token: cartToken, id: "PROD-001", name: "Product Name", price: 99.99, quantity: 1, url: "https://yoursite.com/product" }); // Update cart item await snipcart.updateItem({ token: cartToken, uniqueId: itemId, quantity: 2 }); ``` #### 2. Order Management ```javascript // Get orders const orders = await snipcart.getOrders({ status: "Processed", from: "2024-12-01", to: "2024-12-31" }); // Get order details const order = await snipcart.getOrder({ token: orderToken }); // Update order status await snipcart.updateOrder({ token: orderToken, status: "Shipped", trackingNumber: "TRACK123" }); // Issue refund await snipcart.refundOrder({ token: orderToken, amount: 49.99 }); ``` ### Configuration ```json { "mcpServers": { "snipcart": { "command": "npx", "args": ["-y", "@anthropic/mcp-snipcart"], "env": { "SNIPCART_API_KEY": "your-secret-api-key" } } } } ``` ### Use Cases **JAMstack Commerce**: Add shopping to static sites. **Digital Products**: Sell digital downloads with automatic delivery. **Quick Commerce**: Add e-commerce without rebuilding your site. The Snipcart MCP Server brings drop-in commerce to any website.
{
"mcpServers": {
"snipcart": {}
}
}