---
title: "How Stripe is designing Checkout for AI agents"
description: "Stripe implemented WebMCP on its Checkout UIs, which processes around 0.45% of global GDP, to optimize the buying experience for AI agents. Previously, agents relied on slow browser automation, consuming an average of 1.8 million tokens and 38.83 tool calls per transaction, taking over 2.5 minutes. WebMCP exposes MCP tools from the client side, allowing agents to execute actions like get_order_summary or fill_payment_form instead of interpreting the DOM. The implementation uses progressive tool disclosure, revealing only relevant tools; in evaluations across six models, agents using WebMCP consumed 42% fewer tokens, made 38% fewer tool calls, and completed checkout 39% faster. Stripe reused existing UI state and forms via imperative and declarative APIs, avoiding a separate agent-only code path and keeping human and agent experiences aligned."
---

# How Stripe is designing Checkout for AI agents

[Stripe](https://yomu.fyi/company/stripe) · Cara Mecozzi · Sep 22, 2026

**Type:** Problem & solution

## Summary

Stripe implemented WebMCP on its Checkout UIs, which processes around 0.45% of global GDP, to optimize the buying experience for AI agents. Previously, agents relied on slow browser automation, consuming an average of 1.8 million tokens and 38.83 tool calls per transaction, taking over 2.5 minutes. WebMCP exposes MCP tools from the client side, allowing agents to execute actions like get\_order\_summary or fill\_payment\_form instead of interpreting the DOM. The implementation uses progressive tool disclosure, revealing only relevant tools; in evaluations across six models, agents using WebMCP consumed 42% fewer tokens, made 38% fewer tool calls, and completed checkout 39% faster. Stripe reused existing UI state and forms via imperative and declarative APIs, avoiding a separate agent-only code path and keeping human and agent experiences aligned.

## Context

AI agents navigating websites for checkout faced inefficiencies: they had to interpret visual interfaces and DOM, leading to high token consumption (1.8M tokens average), many tool calls (38.83), and long durations (>2.5 minutes). This made agent-driven purchases costly and slow.

## Approach / What changed

Stripe implemented WebMCP with progressive tool disclosure, revealing only relevant tools and parameters based on checkout state. They used imperative APIs for actions like get\_order\_summary and select\_payment\_method, and declarative APIs for form filling that derive from rendered HTML. This reused existing UI state and forms, avoiding a separate agent-only code path.

## Takeaways

- WebMCP reduced token consumption by 42%, tool calls by 38%, and execution time by 39% compared to baseline browser automation in evaluations across six models.
- Progressive tool disclosure reveals only tools and parameters relevant to the current checkout state, reducing errors and unnecessary invocations; for example, submit\_payment is hidden until all fields are filled.
- Stripe reused existing UI state and forms via imperative and declarative WebMCP APIs, avoiding a separate agent-only implementation and ensuring human and agent experiences stay aligned.

## FAQ

### What is WebMCP?

WebMCP is a browser technology that lets websites expose MCP tools to agents from the client side. Instead of navigating the DOM, agents can execute tools like get\_order\_summary or fill\_payment\_form, reducing token consumption and tool calls.

### How does progressive tool disclosure work?

The page only exposes tools and parameters that are relevant in its current state. For example, submit\_payment is not revealed until all required fields are filled, and changing payment method removes irrelevant parameters from the form filling tool.

### What were the baseline measurements for agent checkout without WebMCP?

Without WebMCP, agents consumed an average of 1.8 million tokens, made 38.83 tool invocations, and took over 2.5 minutes to complete a transaction with Stripe Checkout.

**Tags:** [AI Agents](https://yomu.fyi/topic/ai-agents), [MCP](https://yomu.fyi/topic/mcp), [Stripe](https://yomu.fyi/topic/stripe), [WebMCP](https://yomu.fyi/topic/webmcp)

- Source: [Stripe](https://stripe.dev/blog/how-stripe-is-designing-checkout-for-ai-agents)
- Source URL: https://stripe.dev/blog/how-stripe-is-designing-checkout-for-ai-agents
- Ingested by Yomu: 2026-09-22T18:00:11.568Z

[Read original post](https://stripe.dev/blog/how-stripe-is-designing-checkout-for-ai-agents)
