← Registry
CLI Official

Stripe Link CLI

Official CLI and local MCP server that issues secure single-use Link payment credentials so AI agents can make approved purchases on your behalf without exposing real card details.

Install

npx @stripe/link-cli
$

A CLI that lets an AI agent buy things on your behalf using temporary credentials from your Stripe Link account, so your real card details stay private. After you authenticate, it can issue a virtual card for normal checkout forms or a Shared Payment Token for Machine Payments Protocol merchants, with the --request-approval flag pushing a notification you approve in the Link app. It also runs as a local or HTTP MCP server for agents; current limits include US-only accounts, a $500 cap per request and per day, and credentials valid for 12 hours.