AgentToolHub
SkillClaude CodeCursorClineOpenClawWindsurfVS CodeChatGPT

use-link-identity

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

Features

  • ✓Secure payment credentials for agents
  • ✓Virtual card issuance for web checkout
  • ✓Link Pay Token for Stripe payment surfaces
  • ✓Shared Payment Token for MPP payments
  • ✓Local MCP server support
  • ✓Integrate into your agent with ease

Installation Guide

bash
npm i -g @stripe/link-cli

Or run directly with npx:

bash
npx @stripe/link-cli

Use with agents

Install the skills:

bash
npx skills add stripe/link-cli

By default when called from an agent (non-TTY), all commands use toon output — a compact, LLM-friendly text format. All commands accept --format [format] for structured output. Other formats: json, yaml, md, jsonl.

List available commands:

bash
link-cli --llms-full

Get a command's full schema with --schema. Example:

bash
link-cli spend-request create --schema

#### MCP Server

Link CLI can run as a local MCP server. Add the following to your MCP client config (.mcp.json, etc.)

json
{
  "mcpServers": {
    "link": {
      "command": "npx",
      "args": ["@stripe/link-cli", "--mcp"]
    }
  }
}

Alternatively, use serve to expose link-cli as an MCP endpoint over HTTP.

bash
link-cli serve            # binds 127.0.0.1:54321 (loopback only)
link-cli serve --port 8080
link-cli serve --host 0.0.0.0   # expose beyond localhost (see warning below)

The server handles POST /mcp and GET skill discovery at /.well-known/skills/index.json and /.well-known/skills/{skill-name}/SKILL.md, with OPTIONS preflight support. Other paths return 404, unsupported methods return 405, and malformed or ambiguous request paths return 400. It binds to 127.0.0.1 by default so only the local host can reach it. Anyone who can reach the port can use this CLI's authenticated Link session, so only override --host on a trusted, isolated network — doing so prints a warning.

Reviews