Commit Graph

15 Commits

Author SHA1 Message Date
kreese-stripe 526395e806 feat: Use pm.name from API in rendering payment methods list as PM label (#282)
* Use pm.name from API in rendering payment methods list as PM label

* Fix tests

* fmt

* Fix types
2026-08-31 15:57:45 -04:00
kreese-stripe a1c68720f6 Fix: allow shipping address nickname to be optional in resource (#279) 2026-08-28 19:50:45 +00:00
Jason f77d7451d4 Split the Cursor plugin into plugins/cursor-link with MCP-first skills (#276)
* Split the Cursor plugin into plugins/cursor-link with MCP-first skills

Cursor reaches Link through the hosted MCP server at
api.cursor.com/rest-mcp/stripe-link/mcp, but the plugin's skills were the
CLI-oriented ones shared with Claude and Codex via a symlink to the repo
root. They told Cursor users to npm install @stripe/link-cli and to register
a second, local stdio MCP server, which conflicts with the hosted one.

Give Cursor its own self-contained plugin directory with no shared files, and
write its skills against the tools the hosted server actually exposes:
get_userinfo, list_spend_requests, get_spend_request, list_payment_methods,
list_shipping_addresses, sign_web_bot_auth, and report_agent_observation.

That server exposes no spend-request writes, so the purchase skill covers
finding and spending against a request the user already approved and stops
when none exists. Transactions, balances, and sources are not reachable yet,
so no financial-insights skill ships here; plugins/link still covers that for
CLI-based clients.

With a real .mcp.json in the new directory there is no longer a symlinked
.mcp.json to dodge, so the .link-cursor-mcp.json override is gone.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Route spend approvals through request_virtual_card

The skills described approval as something the agent could not do, which is
true of the Link MCP server but not of Cursor, where request_virtual_card
raises an approval card for exactly this. Rewrite the purchase flow around
that tool: its argument contract (cents including tax and shipping, a 7-word
title, a 100 to 140 character context, line items summing exactly to the
total), the turn ending on the call, the already-pending and denied outcomes,
and the 5/15/30/60 second poll of get_spend_request before retrieving the
card.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Call the product Link, not Stripe Link

Review feedback from @danhill-stripe on the marketplace description.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 09:12:57 -04:00
Dan Hill 7e18e3c812 fix: improve cursor plugin (#274) 2026-08-27 19:31:45 -04:00
kreese-stripe a20a948aec fix: Add metadata to SpendRequest type + add some test cases (#222)
* Add  to type + add some test cases

* fmt
2026-07-31 09:58:24 -04:00
kreese-stripe 1c2fd6e603 feat: Support metadata in spend-request create command (#219)
* Support metadata in spend-request create command

* Changeset
2026-07-27 16:44:41 -04:00
kreese-stripe 4b5f5be4b0 Harden the security of the serve command (#205)
* Harden the security of the serve command

* fmt

* fix version
2026-07-20 16:00:05 -04:00
jlau-stripe ced5e47490 introduce approval_details to spend request creation (#198)
* introduce approval_details to spend request creation

* fix: biome formatting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-15 14:36:45 -04:00
nvp-stripe 9799b0ff7e Re-add Link Pay Token flow to create-payment-credential skill (#188) 2026-07-10 12:48:53 -04:00
kreese-stripe a87ff0cbe4 feat: update SR max amount (#147)
* update SR max amount

* fmt

* trigger ci

* trigger ci
2026-06-10 12:31:40 -04:00
kreese-stripe 06cc528175 fix: Align on minimum node version requirements across configs (#142)
* Align on minimum node version requirements across configs

* fmt
2026-06-08 13:03:09 -04:00
Dan Hill 560d92238a Cursor plugin (#131)
* feat: add Cursor plugin manifest

Committed-By-Agent: claude

* feat: add Cursor plugin MCP server config

Committed-By-Agent: claude

* feat: add Cursor plugin agent definition

Committed-By-Agent: claude

* feat: add Cursor plugin README

Committed-By-Agent: claude

* fix: cleanup and sync

* fix: biome cleanup
2026-05-29 12:08:09 -04:00
Dan Hill e14420ae2c fix: correctly handle claude plugin paths (#75)
* fix: correctly handle claude plugin paths

* fix: codex
2026-05-06 12:07:54 -04:00
Dan Hill 90fc1838a1 Improve plugins (#64)
* feat: add claude marketplace.json and improve plugins

* changeset

* fix: formatting
2026-05-02 13:02:17 -04:00
Steve Kaliski f8f51a610e update plugins (#29)
* add local Codex marketplace for Link plugin

* update claude plugin

* add changeset
2026-04-27 23:58:30 -04:00