
  <script nonce="web-mcp-edge-init">
    (function() {
      var toolsArray = [
        {
          name: "search_springbutiken_products",
          title: "Search Springbutiken Products",
          description: "Search springbutiken's live global store catalog for elite pet items, dog clothes, and equestrian gear.",
          inputSchema: {
            type: "object",
            properties: {
              query: { type: "string", description: "The product name or category keyword search string." }
            },
            required: ["query"]
          },
          execute: async function(args) {
            window.location.href = "/butik?q=" + encodeURIComponent(args.query || "");
            return { status: "navigating_user_to_product_catalog_results" };
          }
        }
      ];

      var mockContext = {
        tools: toolsArray,
        provideContext: function(o) { return true; },
        registerTool: function(t) { return Promise.resolve(true); }
      };

      try {
        if (typeof navigator !== 'undefined') {
          navigator.modelContext = mockContext;
          if (Navigator && Navigator.prototype) {
            Object.defineProperty(Navigator.prototype, 'modelContext', { value: mockContext, configurable: true, writable: true });
          }
        }
        if (typeof document !== 'undefined') {
          document.modelContext = mockContext;
          if (HTMLDocument && HTMLDocument.prototype) {
            Object.defineProperty(HTMLDocument.prototype, 'modelContext', { value: mockContext, configurable: true, writable: true });
          }
          if (Document && Document.prototype) {
            Object.defineProperty(Document.prototype, 'modelContext', { value: mockContext, configurable: true, writable: true });
          }
        }
        window.modelContext = mockContext;
        window.__webmcp_debug = { isAvailable: true, tools: toolsArray };
      } catch(e) {}
    })();
  </script>
        {
  "protocol": "MPP",
  "name": "Machine Payment Protocol",
  "version": "1.0",
  "site": "https://springbutiken.com/",
  "description": "Machine Payment Protocol discovery document for SpringButiken — enables AI agents to discover, negotiate and execute purchases on behalf of users.",
  "supported": true,
  "endpoints": {
    "catalog": "https://springbutiken.com/sitemap-products.xml",
    "search": "https://springbutiken.com/butik?q={query}",
    "product": "https://springbutiken.com/butik/{slug}",
    "cart": "https://springbutiken.com/varukorg",
    "checkout": "https://springbutiken.com/checkout"
  },
  "payment_methods": ["card", "klarna", "apple_pay", "google_pay"],
  "currencies": ["SEK", "EUR", "DKK"],
  "contact": "mailto:info@springbutiken.com"
}
