API global de pagos de Stripe — distinta de stripe-acp (que encapsula el Agentic Commerce Protocol de Stripe). Lo que usa hoy todo SaaS de LatAm que acepta Stripe. Payment Intents, reembolsos, clientes, suscripciones, checkout, payment links, facturas, disputas.
Stripe le da a tu agente 30 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.
create_payment_intent — Create a PaymentIntent — Stripe's modern primitive for charging a customer. Use confirm=true to authorize + capture atomically, or omit for a two-step flow.confirm_payment_intent — Confirm a PaymentIntent created with confirm=false. Attaches and charges the payment method.retrieve_payment_intent — Retrieve a PaymentIntent by id.// 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_payment_intent", { /* ... */ });$ npm install @codespar/mcp-stripeAgregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-stripe"
],
"env": {
"STRIPE_SECRET_KEY": "<your_stripe_secret_key>"
}
}
}
}Después de reiniciar, tu agente puede llamar cualquiera de las 30 herramientas de abajo — probá create_payment_intent primero.
Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.
STRIPE_SECRET_KEYStripe secret key (sk_test_... for test mode, sk_live_... for live mode). The key prefix selects the environment — no separate base URL.
STRIPE_API_VERSIONOptional Stripe API version to pin via the Stripe-Version header (e.g. '2024-06-20'). When omitted, Stripe uses the account's default version.
Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.
create_payment_intentconfirm_payment_intentretrieve_payment_intentcancel_payment_intentlist_payment_intentscreate_refundlist_refundscreate_customerMCP es un protocolo — cualquier framework que lo hable puede montar este server.