Open Commerce MCP and AI operations context
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Open Commerce enables AI-powered commerce operations through the Model Context Protocol (MCP). It allows AI agents to interact with Violet's commerce capabilities using natural language.
| Tool | Purpose |
|---|---|
search_products | Find products by natural language query |
get_product | Get detailed product information |
create_cart | Start a new shopping cart |
add_to_cart | Add products to cart |
checkout | Complete purchase |
get_order | Retrieve order details |
track_order | Get fulfillment status |
from mcp import Server
server = Server("violet-commerce")
@server.tool()
async def search_products(query: str, limit: int = 10) -> list:
"""Search for products in the Violet catalog."""
# Implementation
pass
@server.tool()
async def create_order(
customer_email: str,
items: list[dict],
shipping_address: dict
) -> dict:
"""Create a new order with the specified items."""
# Implementation
pass
Each MCP call is independent - no session state between calls.