@stripe/link-cli 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +15 -0
  2. package/dist/cli.js +3 -4
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -16,6 +16,21 @@ npx @stripe/link-cli
16
16
 
17
17
  You can install the skill via `npx skills add stripe/link-cli`.
18
18
 
19
+ ### MCP Server
20
+
21
+ Link CLI can also run as a local MCP server. Add the following to your MCP client config (`.mcp.json`, etc.)
22
+
23
+ ```json
24
+ {
25
+ "mcpServers": {
26
+ "link": {
27
+ "command": "npx",
28
+ "args": ["@stripe/link-cli", "--mcp"]
29
+ }
30
+ }
31
+ }
32
+ ```
33
+
19
34
  ## Quickstart
20
35
 
21
36
  ### Login
package/dist/cli.js CHANGED
@@ -12829,9 +12829,8 @@ var RetrieveSpendRequest = ({
12829
12829
  ] }),
12830
12830
  request?.card.valid_until && /* @__PURE__ */ jsxs10(Text11, { children: [
12831
12831
  " ",
12832
- "Valid Until:",
12833
- " ",
12834
- /* @__PURE__ */ jsx14(Text11, { bold: true, children: new Date(request.card.valid_until * 1e3).toISOString() })
12832
+ "Valid Until: ",
12833
+ /* @__PURE__ */ jsx14(Text11, { bold: true, children: request.card.valid_until })
12835
12834
  ] }),
12836
12835
  request?.card.billing_address && /* @__PURE__ */ jsxs10(Box11, { flexDirection: "column", marginTop: 1, children: [
12837
12836
  /* @__PURE__ */ jsx14(Text11, { bold: true, children: " Billing Address:" }),
@@ -13594,7 +13593,7 @@ var ResourceFactory = class {
13594
13593
  };
13595
13594
 
13596
13595
  // src/cli.tsx
13597
- var cliVersion = "0.2.1";
13596
+ var cliVersion = "0.2.2";
13598
13597
  var buildNumber = "1";
13599
13598
  var cliName = "@stripe/link-cli";
13600
13599
  var defaultHeaders = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/link-cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "link-cli": "./dist/cli.js"
@@ -39,8 +39,8 @@
39
39
  "tsx": "^4.21.0",
40
40
  "typescript": "^5.9.3",
41
41
  "vitest": "^4.1.2",
42
- "@stripe/link-sdk": "1.0.0",
43
- "@stripe/link-typescript-config": "0.0.0"
42
+ "@stripe/link-typescript-config": "0.0.0",
43
+ "@stripe/link-sdk": "1.0.0"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsup",