Skip to main content
ST

Stripe ACP

v0.1.3API Key

Agentic Commerce Protocol da Stripe. Checkout de agente de IA, delegação de pagamento, descoberta de produto e gestão de carrinho.

24 ferramentas1 env vars🌐 GLOBALestável no npm

O que seu agente faz

O Stripe ACP dá ao seu agente 24 tools que ele chama direto — escolha as que precisar, no Claude, Cursor ou qualquer cliente MCP.

  • create_checkoutCreate an ACP checkout session with a seller. The agent sends line items and buyer info; the seller returns pricing, fulfillment options, and payment handlers.
  • get_checkoutRetrieve the current state of an ACP checkout session, including status, pricing, and available payment methods
  • update_checkoutUpdate an ACP checkout session — modify quantities, shipping address, or fulfillment selections
Exemplo de chamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_checkout", { /* ... */ });

Instalar

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

Quickstart

Adicione esta entrada ao seu claude_desktop_config.json (ou a config de qualquer cliente compatível com MCP).

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

Depois de reiniciar, seu agente pode chamar qualquer uma das 24 ferramentas abaixo — teste create_checkout primeiro.

Variáveis de ambiente · 1

Necessárias pra autenticar o server. Armazenadas criptografadas ao usar a hospedagem gerenciada da CodeSpar.

STRIPE_API_KEY
obrigatóriosecret

API key for stripe-acp

Ferramentas disponíveis · 24

Cada ferramenta é independente — seu agente carrega só o que precisa pra reduzir contexto e tempo de resposta.

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

Frameworks compatíveis

MCP é um protocolo — qualquer framework que o fale pode montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Qualquer cliente MCPProtocolo

Perguntas frequentes

Rode `npx -y @codespar/mcp-stripe-acp` e adicione o bloco de config acima ao seu cliente MCP — Claude, Cursor, VS Code ou qualquer cliente compatível com MCP. Sem build, sem SDK. Prefere hospedado? O tier gerenciado da CodeSpar roda pra você, com a auth resolvida.
Stripe ACP — MCP server · 24 tools | CodeSpar