Skip to main content
stripe-agent-toolkit is deprecated. Stripe recommends the hosted Stripe MCP server instead. See Stripe’s deprecation notice.
This guide provides a quick overview for getting started with Stripe’s agent toolkit. You can read more about StripeAgentToolkit in Stripe’s launch blog or on the project’s PyPI page.

Overview

Integration details

Setup

This externally-managed package is hosted out of the stripe-agent-toolkit project, which is managed by Stripe’s team. You can install it, along with langgraph for the following examples, with pip:
If you still need this package, pin mcp<2. stripe-agent-toolkit 0.7.1 allows any mcp>=1.0, and mcp 2.x removed streamablehttp_client, which causes an ImportError on a fresh install.

Credentials

In addition to installing the package, you will need to configure the integration with your Stripe account’s secret key, which is available in your Stripe Dashboard.
It’s also helpful (but not needed) to set up LangSmith for best-in-class observability:

Instantiation

Here we show how to create an instance of the Stripe Toolkit

Agent

Here’s how to use the toolkit to create a basic agent in langgraph: