Skip to main content
ST

Stripe ACP

v0.1.2API Key

Agentic Commerce Protocol by Stripe. AI agent checkout, payment delegation, product discovery, and cart management.

24 tools1 env vars๐ŸŒ GLOBALstable on npm

Install

terminal
$ npm install @codespar/mcp-stripe-acp

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "stripe-acp": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-stripe-acp"
      ],
      "env": {
        "STRIPE_API_KEY": "<your_stripe_api_key>"
      }
    }
  }
}

After restart, your agent can call any of the 24 tools below โ€” try create_checkout first.

Environment variables ยท 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

STRIPE_API_KEY
requiredsecret

API key for stripe-acp

Available tools ยท 24

Each tool is independent โ€” your agent loads only what it needs to reduce context and response time.

WRITEcreate_checkout
Create an ACP checkout session with a seller. The agent sends line items and buyer info; the seller returns pricing, fulfillment options, and payment handlers.
READget_checkout
Retrieve the current state of an ACP checkout session, including status, pricing, and available payment methods
WRITEupdate_checkout
Update an ACP checkout session โ€” modify quantities, shipping address, or fulfillment selections
READcomplete_checkout
Complete an ACP checkout by submitting a payment token. Finalizes the order with the seller. The checkout must be in 'ready_for_payment' status.
DELETEcancel_checkout
Cancel an ACP checkout session. Releases any held inventory.
WRITEcreate_customer
Create a Stripe customer
READlist_customers
List Stripe customers with optional filters
WRITEcreate_payment_link
Create a shareable Stripe Payment Link for a price

Compatible frameworks

MCP is a protocol โ€” any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

All credentials are encrypted at rest in an isolated vault scoped per organization. OAuth2 tokens are automatically refreshed before expiry. Your agent code never sees raw secrets โ€” it receives scoped, short-lived session tokens.
Servers โ€” Every LatAm commerce API your agent needs | CodeSpar