stripe/link-cli

Let your agents spend on your behalf. Your payment credentials are never exposed. You approve every purchase.

What it solves

Link CLI enables AI agents to perform secure, authorized financial transactions and access financial data on behalf of a user. It solves the problem of how to let an autonomous agent make purchases or check balances without exposing the user's raw credit card numbers or permanent banking credentials.

How it works

It acts as a secure bridge between an AI agent and a user's Link wallet. The CLI can be integrated directly into agent workflows or run as a local MCP (Model Context Protocol) server. It provides three primary ways to pay: virtual cards (PANs) for standard checkouts, Link Pay Tokens for Stripe-supported surfaces, and Shared Payment Tokens for programmatic payment protocols. It also includes features for reading financial transaction history and balances, and provides identity attestation tools so services can verify the agent's connection to a legitimate Link account.

Who it’s for

This tool is designed for developers building AI agents (such as shopping assistants or personal finance bots) who need to incorporate secure, user-authorized payment and financial data retrieval capabilities.

Highlights

  • Secure Payment Credentials: Generates one-time-use virtual cards and tokens to prevent exposing real card details.
  • Agent-First Design: Supports LLM-friendly output formats (like toon or JSON) and integrates with the Model Context Protocol (MCP).
  • Financial Insights: Allows agents to query transaction history, account balances, and spending trends from connected financial institutions.
  • Identity Verification: Provides privacy-preserving tools to prove to third-party services that an agent is acting on behalf of a verified Link account.

Related

  • Project
  • Project
  • Project
  • Project
  • Project