Stripe MCP
Stripe MCP connects your flow to Stripe’s official MCP server. It gives you the tools that server publishes to work with your Stripe account, for example with customers, payments, products or invoices.
You pick a tool in the Tool field and can use it in two ways: as a step in the flow, filling in its data yourself, or as a tool for an agent, which decides when to use it.
When to use it
- You want an agent to check a customer’s payments or invoices in Stripe.
- You need to register customers in Stripe from a form or a chat.
- Your sales team wants an assistant that answers questions about the products and prices set up in Stripe.
Configuration
You need a Stripe API credential with a key from your Stripe account. The key can be a secret key (sk_live_ or sk_test_) or a restricted key (rk_live_ or rk_test_); with any other format, the component reports that the key is not valid. See Credentials.
| Field | What it does |
|---|---|
| Credential (required) | Your Stripe API credential. When you pick it, NappAI connects to the server and loads its tools into Tool. |
| API Key | Your Stripe key. It is filled in from the credential; you can also type a key here, and the Tool list loads with it. |
| Tool (required) | The Stripe server tool you want to use. The list comes from the server itself. When you pick one, the data that tool needs appears below. |
When the component is used as an agent tool, the agent can fill in that data for you. More on this in Tools.
Output
- Data: the text returned by the chosen tool.
- Tool: the tool ready for an agent. Connect it to the agent’s Tools input.
Example
A subscription software company wants its support assistant to check a customer’s payments.
- Add Stripe MCP and pick the Stripe API credential.
- In Tool, pick the tool for listing a customer’s payments and let the agent fill in the customer.
- Connect the Tool output to the agent’s Tools input.
- A customer asks “Has this month’s fee been charged yet?” and the agent checks Stripe and answers.
Good practices
- Use a restricted key with only the permissions the flow needs.
- If you want the agent to use several Stripe tools, add one component per tool.
Related components
- MCP Connection: connects to any MCP server.
- Stripe Customer: manages Stripe customers without MCP.
- PayPal MCP: the same kind of connection for PayPal.