Slide 1

Slide 1 text

STRIPE AGENTIC DEV DAY · DUBLIN 2026 Less clicking, more calling Building with WebMCP Paul Conroy, CTO, Square1

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

What clicking costs Read the page Work out the control Click or type The page changes

Slide 8

Slide 8 text

What clicking costs Read the page Work out the control Click or type The page changes It costs us! ● Tools ● Time ● Tokens

Slide 9

Slide 9 text

What clicking costs Read the page Work out the control Click or type The page changes It costs us! ● Tools ● Time ● Tokens

Slide 10

Slide 10 text

It compounds! 48000 42541 36000 24000 14237 12000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Model call number, in one clicking run 18 19 20 21 22

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

How it fits together

Slide 13

Slide 13 text

How it fits together Your page its Javascript registers tools

Slide 14

Slide 14 text

How it fits together Your page Browser its Javascript registers tools holds the page's tool

Slide 15

Slide 15 text

How it fits together Your page Browser An agent its Javascript registers tools holds the page's tool lists and calls the tools

Slide 16

Slide 16 text

How it fits together Your page Browser An agent The model its Javascript registers tools holds the page's tool lists and calls the tools decides which tool to call

Slide 17

Slide 17 text

How it fits together Your page Browser An agent The model its Javascript registers tools holds the page's tool lists and calls the tools decides which tool to call 🧑💻

Slide 18

Slide 18 text

How it fits together Your page Browser An agent The model its Javascript registers tools holds the page's tool lists and calls the tools decides which tool to call 🧑💻 🤖

Slide 19

Slide 19 text

How it fits together Your page Browser An agent The model its Javascript registers tools holds the page's tool lists and calls the tools decides which tool to call 🧑💻 🤖 Claude + Chrome DevTools MCP

Slide 20

Slide 20 text

A tool is four main things document.modelContext.registerTool({ name: 'search_articles', description: 'Find coffee articles by keywords', inputSchema: { query, limit }, execute: args => searchArticles(args) }) 1 2 name What the agent calls description What the agent reads to decide 3 4 inputSchema What the agent may send execute Your existing code

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

{ id: 2, product: 'Sunday Roast Blend', description: 'A roast suitable for lazy Sunday afternoons', price: 15.99, product_url: 'https://example.com/sunday-roast', related_products: {} }

Slide 23

Slide 23 text

Don't we already have MCP?

Slide 24

Slide 24 text

Don't we already have MCP? MCP “Research this at 2am, no browser open” Runs on a server. Any agent. You handle auth.

Slide 25

Slide 25 text

Don't we already have MCP? MCP WebMCP “Research this at 2am, no browser open” “Help me while I'm on the site” Runs on a server. Any agent. You handle auth. Runs in the page. The visitor's session.

Slide 26

Slide 26 text

Don't we already have MCP? MCP WebMCP “Research this at 2am, no browser open” “Help me while I'm on the site” Runs on a server. Any agent. You handle auth. Runs in the page. The visitor's session. Your search, basket and checkout code

Slide 27

Slide 27 text

Our example storefront

Slide 28

Slide 28 text

Our example storefront

Slide 29

Slide 29 text

Our example storefront

Slide 30

Slide 30 text

Our example storefront

Slide 31

Slide 31 text

Our example storefront

Slide 32

Slide 32 text

Our example storefront

Slide 33

Slide 33 text

Our example storefront THE TASK “Find a coffee recommended for a cafetière, explain why it's suitable, and add one 250g bag under €20 to my basket.”

Slide 34

Slide 34 text

The test: Find it and bag it “Find a coffee recommended for a cafetière, explain why it's suitable, and add one 250g bag under €20 to my basket.” Ask the site Search and read Choose a coffee Add to basket

Slide 35

Slide 35 text

The test: Find it and bag it “Find a coffee recommended for a cafetière, explain why it's suitable, and add one 250g bag under €20 to my basket.” Ask the site Search and read Clicking No WebMCP. Operates the page: snapshots, clicks, form fills. Choose a coffee Add to basket

Slide 36

Slide 36 text

The test: Find it and bag it “Find a coffee recommended for a cafetière, explain why it's suitable, and add one 250g bag under €20 to my basket.” Ask the site Search and read Choose a coffee Add to basket Clicking Calling No WebMCP. Operates the page: snapshots, clicks, form fills. WebMCP tools loaded. Told to use them for as many actions as it can.

Slide 37

Slide 37 text

The race

Slide 38

Slide 38 text

The race

Slide 39

Slide 39 text

What the agent has to read 2300 1,878 1725 ● 3-5x less to read per step 1,531 ● Small site - modest savings 1150 575 ● More data, larger savings 501 398 0 Search results Shop listing What the page shows the agent What the tool returns ● Even larger on sites with complex navigation

Slide 40

Slide 40 text

Stripe Checkout WebMCP Rollout 42% fewer tokens 39% faster checkout 38% fewer tool calls https://stripe.dev/blog/how-stripe-is-designing-checkout-for-ai-agents

Slide 41

Slide 41 text

Putting it into practice

Slide 42

Slide 42 text

Design tools around tasks A tool per button: four calls open_product add_to_cart start_checkout continue_to_checkout

Slide 43

Slide 43 text

Design tools around tasks A tool per button: four calls A tool per task: two calls open_product add_to_cart({ id, qty }) add_to_cart checkout() start_checkout continue_to_checkout

Slide 44

Slide 44 text

Clear info for the agent document.modelContext.registerTool({ name: 'add_to_cart', description: 'Add coffee to the basket. Does not pay.', inputSchema: { quantity: { type: 'integer', minimum: 1, maximum: available // Defined in app logic } }, execute: args => addToCart(product.id, args.quantity) })

Slide 45

Slide 45 text

Clear info for the agent document.modelContext.registerTool({ name: 'add_to_cart', description: 'Add coffee to the basket. Does not pay.', inputSchema: { quantity: { type: 'integer', minimum: 1, maximum: available // Defined in app logic } }, execute: args => addToCart(product.id, args.quantity) })

Slide 46

Slide 46 text

Clear info for the agent document.modelContext.registerTool({ name: 'add_to_cart', description: 'Add coffee to the basket. Does not pay.', inputSchema: { quantity: { type: 'integer', minimum: 1, maximum: available // Defined in app logic } }, execute: args => addToCart(product.id, args.quantity) })

Slide 47

Slide 47 text

Clear info for the agent search_articles({ query: 'cafetiere', limit: 3 }); { results: [{ id: 'cafetiere-without-fuss', excerpt: 'A great cafetière coffee..', product_ids: ['harbour-blend', ‘gold-roast'], ... ]} }

Slide 48

Slide 48 text

Progressive disclosure // Only offer add_to_cart when it can succeed if (available_stock > 0) { document.modelContext.registerTool({ name: 'add_to_cart', description: 'Add coffee to the basket. Does not pay.’, ... }); } ● Only give the agent what it needs to do the current job ● Trade-offs - if you only have a few tools, full disclosure is simpler

Slide 49

Slide 49 text

Progressive disclosure { name: 'Sunday Roast', description: 'Add coffee to the basket. Does not pay.', newly_available_tools: [{ name: 'add_to_cart', ... }] } ● When new tools become available, give hints to the agent ● These are only hints! Agent may not follow them

Slide 50

Slide 50 text

Keeping Tools In Sync const controller = new AbortController(); document.modelContext.registerTool({ name: 'apply_discount', description: 'Apply a discount to the cart', inputSchema: { amount }, execute: args => applyDiscount(args) }, { signal: controller.signal } ) // Later, when the cart is empty, discount makes no sense controller.abort();

Slide 51

Slide 51 text

Keeping Tools In Sync const controller = new AbortController(); document.modelContext.registerTool({ name: 'apply_discount', description: 'Apply a discount to the cart', inputSchema: { amount }, execute: args => applyDiscount(args) }, { signal: controller.signal } ) // Later, when the cart is empty, discount makes no sense controller.abort();

Slide 52

Slide 52 text

Keeping Tools In Sync const controller = new AbortController(); document.modelContext.registerTool({ name: 'apply_discount', description: 'Apply a discount to the cart', inputSchema: { amount }, execute: args => applyDiscount(args) }, { signal: controller.signal } ) // Later, when the cart is empty, discount makes no sense controller.abort();

Slide 53

Slide 53 text

What could go wrong? WATCH FOR WHAT HELPS TODAY

Slide 54

Slide 54 text

What could go wrong? WATCH FOR 1 Untrusted content WHAT HELPS TODAY Flags, as hints 1 annotations: { consequentialHint: true, untrustedContent: true }

Slide 55

Slide 55 text

What could go wrong? WATCH FOR WHAT HELPS TODAY Flags, as hints 1 Untrusted content 1 annotations: { consequentialHint: true, untrustedContent: true } 2 Anyone can register tools 2 Server-side enforcement

Slide 56

Slide 56 text

What could go wrong? WATCH FOR WHAT HELPS TODAY Flags, as hints 1 Untrusted content 1 annotations: { consequentialHint: true, untrustedContent: true } 2 Anyone can register tools 2 Server-side enforcement 3 Ambient session 3 Isolation and permissions

Slide 57

Slide 57 text

Watch it in DevTools

Slide 58

Slide 58 text

Does it work today?

Slide 59

Slide 59 text

Does it work today?

Slide 60

Slide 60 text

Does it work today? ● Chrome-only ● Origin trial required ● Spec is still moving! ● Agents often need a helping hand

Slide 61

Slide 61 text

Does it work today?

Slide 62

Slide 62 text

Does it work today? 🤷

Slide 63

Slide 63 text

Does it work today? 🤷

Slide 64

Slide 64 text

Does it work today? 🤷

Slide 65

Slide 65 text

Does it work today? 🤷 ✅

Slide 66

Slide 66 text

Does it work today?

Slide 67

Slide 67 text

Does it work today?

Slide 68

Slide 68 text

Does it work today?

Slide 69

Slide 69 text

Does it work today?

Slide 70

Slide 70 text

Does it work today?

Slide 71

Slide 71 text

Stripe Checkout WebMCP Rollout 42% fewer tokens 39% faster checkout 38% fewer tool calls https://stripe.dev/blog/how-stripe-is-designing-checkout-for-ai-agents

Slide 72

Slide 72 text

Try it out! 1 Pick one read-only action your app has, ideally where there's a lot to read 2 Wrap it in registerTool: about 12 lines 3 Ask an agent a normal question, then check DevTools: did it call your tool? github.com/conroyp/stripe-webmcp-demo

Slide 73

Slide 73 text

You’ve already built it.

Slide 74

Slide 74 text

You’ve already built it. Let the agent call it.

Slide 75

Slide 75 text

You’ve already built it. Let the agent call it. (... but double-check that it actually did!)

Slide 76

Slide 76 text

Thank you Paul Conroy conroyp.com / @conroyp Stripe Agentic Dev Day 2026: Less clicking, more calling