>_

Stripe CLI

agent-ready json output non-interactive

Stripe's official CLI for testing webhooks, managing payments, and interacting with the Stripe API directly from the terminal.

How to install Stripe CLI

brew install stripe/stripe-cli/stripe

When to use Stripe CLI

  • When simulating Stripe payment events (e.g., successful charge, refund) to test webhook handlers in a local development environment.
  • When directly managing Stripe resources (e.g., creating products, prices, customers) from the terminal for quick prototyping or debugging.
  • When monitoring and forwarding real Stripe events to a local endpoint to debug webhook integration.

When not to use Stripe CLI

  • For handling live payment processing in production environments; Stripe CLI is designed strictly for testing and development.
  • For orchestrating complex, multi-step payment workflows that require persistent application state; prefer using Stripe SDKs or direct API calls within your application logic.

Stripe CLI features

  • · Webhook testing/forwarding
  • · API resource management
  • · Payment trigger simulation
  • · Event monitoring
  • · JSON output

Want your agent to find this automatically?

Add the MCP server to your agent config and it will discover tools like Stripe CLI on its own.

Set up MCP →

Similar tools to Stripe CLI