linkpay-mcp 0.1.0 → 0.1.1

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 +35 -10
  2. package/dist/index.js +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,20 +1,23 @@
1
1
  # LinkPay MCP Server
2
2
 
3
- Manage your LinkPay virtual cards directly from Claude, Cursor, Windsurf, and other AI assistants.
3
+ [![npm version](https://img.shields.io/npm/v/linkpay-mcp.svg)](https://www.npmjs.com/package/linkpay-mcp)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
4
5
 
5
- ## What it does
6
+ [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server for [LinkPay](https://linkpay.io) — manage virtual cards directly from Claude, Cursor, Windsurf, and other AI assistants.
6
7
 
7
- Issue cards, check balances, top up, view transactions — all through natural language in your AI tool. No dashboard clicking needed.
8
+ Issue cards, check balances, top up, view transactions — all through natural language. No dashboard needed.
8
9
 
9
10
  ## Quick start
10
11
 
11
12
  ### 1. Get your API key
12
13
 
13
- Go to [LinkPay Dashboard](https://linkpay.com) Settings API Keys.
14
+ Sign up at [linkpay.io](https://linkpay.io) and get your API key from the dashboard.
14
15
 
15
- ### 2. Add to Claude Desktop
16
+ ### 2. Install
16
17
 
17
- Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:
18
+ #### Claude Desktop
19
+
20
+ Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
18
21
 
19
22
  ```json
20
23
  {
@@ -30,9 +33,9 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:
30
33
  }
31
34
  ```
32
35
 
33
- ### 3. Add to Cursor
36
+ #### Cursor
34
37
 
35
- Edit `.cursor/mcp.json` in your project or `~/.cursor/mcp.json` globally:
38
+ Add to `.cursor/mcp.json` in your project or `~/.cursor/mcp.json` globally:
36
39
 
37
40
  ```json
38
41
  {
@@ -48,7 +51,15 @@ Edit `.cursor/mcp.json` in your project or `~/.cursor/mcp.json` globally:
48
51
  }
49
52
  ```
50
53
 
51
- ### 4. Use it
54
+ #### Claude Code (CLI)
55
+
56
+ ```bash
57
+ claude mcp add linkpay -- npx -y linkpay-mcp
58
+ ```
59
+
60
+ Then set your API key in the environment or `.env` file.
61
+
62
+ ### 3. Use it
52
63
 
53
64
  Just ask your AI assistant:
54
65
 
@@ -80,16 +91,30 @@ Just ask your AI assistant:
80
91
  | Variable | Required | Description |
81
92
  |---|---|---|
82
93
  | `LINKPAY_API_KEY` | Yes | Your LinkPay API key |
83
- | `LINKPAY_BASE_URL` | No | API base URL (default: `https://api.linkpay.com`) |
94
+ | `LINKPAY_BASE_URL` | No | API base URL (default: `https://b2b.linkpay.io/api/v1`) |
95
+
96
+ ## Why use this?
97
+
98
+ If you're a developer paying for SaaS tools, running ad campaigns, or managing multiple cards — this lets you do it all from your IDE. No context switching to a dashboard.
99
+
100
+ **Works with:** Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.
84
101
 
85
102
  ## Development
86
103
 
87
104
  ```bash
105
+ git clone https://github.com/pnplsrcrr/linkpay-mcp.git
106
+ cd linkpay-mcp
88
107
  npm install
89
108
  npm run build
90
109
  npm start
91
110
  ```
92
111
 
112
+ ## Links
113
+
114
+ - [LinkPay](https://linkpay.io) — Virtual card issuing platform
115
+ - [MCP Protocol](https://modelcontextprotocol.io) — Model Context Protocol spec
116
+ - [npm package](https://www.npmjs.com/package/linkpay-mcp)
117
+
93
118
  ## License
94
119
 
95
120
  MIT
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
4
4
  import { z } from "zod";
5
5
  import { LinkPayClient, LinkPayError } from "./linkpay-client.js";
6
6
  const API_KEY = process.env.LINKPAY_API_KEY;
7
- const BASE_URL = process.env.LINKPAY_BASE_URL || "https://api.linkpay.com";
7
+ const BASE_URL = process.env.LINKPAY_BASE_URL || "https://b2b.linkpay.io/api/v1";
8
8
  if (!API_KEY) {
9
9
  console.error("LINKPAY_API_KEY environment variable is required");
10
10
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkpay-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MCP server for LinkPay card management — issue, manage, and monitor virtual cards from Claude, Cursor, and other AI assistants",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -15,7 +15,7 @@
15
15
  "type": "git",
16
16
  "url": "https://github.com/pnplsrcrr/linkpay-mcp.git"
17
17
  },
18
- "homepage": "https://github.com/pnplsrcrr/linkpay-mcp#readme",
18
+ "homepage": "https://linkpay.io",
19
19
  "scripts": {
20
20
  "build": "tsc",
21
21
  "dev": "tsc --watch",