{
    "protocol": {
        "name": "ucp",
        "version": "1.0"
    },
    "services": [
        {
            "name": "product-search",
            "description": "Search WooCommerce products by keyword, category or price.",
            "endpoint": "https://www.ernestwright.co.uk/wp-json/webmcp-bridge/v1/execute",
            "tool": "woo_search_products"
        },
        {
            "name": "product-detail",
            "description": "Get full details for a single product.",
            "endpoint": "https://www.ernestwright.co.uk/wp-json/webmcp-bridge/v1/execute",
            "tool": "woo_get_product"
        },
        {
            "name": "cart",
            "description": "Add, remove and view cart items.",
            "endpoint": "https://www.ernestwright.co.uk/wp-json/webmcp-bridge/v1/execute",
            "tools": [
                "woo_add_to_cart",
                "woo_get_cart",
                "woo_remove_from_cart"
            ]
        },
        {
            "name": "checkout",
            "description": "Apply coupons and retrieve checkout fields.",
            "endpoint": "https://www.ernestwright.co.uk/wp-json/webmcp-bridge/v1/execute",
            "tools": [
                "woo_apply_coupon",
                "woo_get_checkout_fields"
            ]
        }
    ],
    "capabilities": {
        "search": true,
        "cart": true,
        "checkout": true,
        "payments": false
    },
    "auth": {
        "type": "wordpress-cookie-nonce",
        "header": "X-WP-Nonce",
        "description": "Cart and checkout tools require a same-session WP REST nonce from the storefront page. There is no public token endpoint."
    },
    "manifest": "https://www.ernestwright.co.uk/wp-json/webmcp-bridge/v1/manifest"
}