@coinvello/mcp 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -8,17 +8,27 @@ inspect invoices and payments, register webhooks, verify webhook signatures, man
8
8
  simulate test payments while it writes your integration.
9
9
 
10
10
  ```bash
11
- npx -y https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz # stdio (what every desktop client uses)
12
- npx -y https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz --http 3333 # Streamable HTTP on http://127.0.0.1:3333/mcp
11
+ npx -y @coinvello/mcp # stdio (what every desktop client uses)
12
+ npx -y @coinvello/mcp --http 3333 # Streamable HTTP on http://127.0.0.1:3333/mcp
13
13
  ```
14
14
 
15
- Not on the npm registry yet: the package is hosted on coinvello.com (checksums in https://coinvello.com/downloads/SHA256SUMS).
16
-
17
15
  ```bash
18
16
  # from a checkout of this repo instead
19
17
  npm install && npm run build && node dist/index.js
20
18
  ```
21
19
 
20
+ ## Documentation
21
+
22
+ | | |
23
+ |---|---|
24
+ | Website and setup for AI assistants | https://coinvello.com/ai |
25
+ | Complete integration guide (one file, written for LLMs) | https://coinvello.com/llms-full.txt |
26
+ | Developer docs and SDKs | https://coinvello.com/developers |
27
+ | OpenAPI 3.1 reference | https://coinvello.com/.well-known/openapi.yaml |
28
+ | MCP Registry | `io.github.CoinVello/coinvello` |
29
+ | Source | https://github.com/CoinVello/coinvello-ai (`api/ai/mcp-server`) |
30
+ | Support | support@coinvello.com |
31
+
22
32
  ## Configuration
23
33
 
24
34
  | Variable | Required | Meaning |
@@ -39,7 +49,7 @@ npm install && npm run build && node dist/index.js
39
49
  "mcpServers": {
40
50
  "coinvello": {
41
51
  "command": "npx",
42
- "args": ["-y", "https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz"],
52
+ "args": ["-y", "@coinvello/mcp"],
43
53
  "env": { "COINVELLO_API_KEY": "cv_test_..." }
44
54
  }
45
55
  }
@@ -49,7 +59,7 @@ npm install && npm run build && node dist/index.js
49
59
  ### Claude Code
50
60
 
51
61
  ```bash
52
- claude mcp add coinvello -e COINVELLO_API_KEY=cv_test_... -- npx -y https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz
62
+ claude mcp add coinvello -e COINVELLO_API_KEY=cv_test_... -- npx -y @coinvello/mcp
53
63
  ```
54
64
 
55
65
  or in `.mcp.json` at the project root (shared with the team, key via env):
@@ -59,7 +69,7 @@ or in `.mcp.json` at the project root (shared with the team, key via env):
59
69
  "mcpServers": {
60
70
  "coinvello": {
61
71
  "command": "npx",
62
- "args": ["-y", "https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz"],
72
+ "args": ["-y", "@coinvello/mcp"],
63
73
  "env": { "COINVELLO_API_KEY": "${COINVELLO_API_KEY}" }
64
74
  }
65
75
  }
@@ -75,7 +85,7 @@ or in `.mcp.json` at the project root (shared with the team, key via env):
75
85
  "mcpServers": {
76
86
  "coinvello": {
77
87
  "command": "npx",
78
- "args": ["-y", "https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz"],
88
+ "args": ["-y", "@coinvello/mcp"],
79
89
  "env": { "COINVELLO_API_KEY": "cv_test_..." }
80
90
  }
81
91
  }
@@ -91,7 +101,7 @@ or in `.mcp.json` at the project root (shared with the team, key via env):
91
101
  "mcpServers": {
92
102
  "coinvello": {
93
103
  "command": "npx",
94
- "args": ["-y", "https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz"],
104
+ "args": ["-y", "@coinvello/mcp"],
95
105
  "env": { "COINVELLO_API_KEY": "cv_test_..." }
96
106
  }
97
107
  }
@@ -105,7 +115,7 @@ or in `.mcp.json` at the project root (shared with the team, key via env):
105
115
  ```json
106
116
  {
107
117
  "servers": {
108
- "coinvello": { "type": "stdio", "command": "npx", "args": ["-y", "https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz"], "env": { "COINVELLO_API_KEY": "cv_test_..." } }
118
+ "coinvello": { "type": "stdio", "command": "npx", "args": ["-y", "@coinvello/mcp"], "env": { "COINVELLO_API_KEY": "cv_test_..." } }
109
119
  }
110
120
  }
111
121
  ```
@@ -194,4 +204,4 @@ are expected to return a clean 404 tool error there.
194
204
  - `create_wallet` rejects anything that looks like an extended private key before it leaves the machine.
195
205
  - Nothing here moves funds: CoinVello is non-custodial, and the API has no "send" operation.
196
206
 
197
- License MIT. Issues: support@coinvello.com
207
+ License MIT. Source: https://github.com/CoinVello/coinvello-ai (mirror). Issues: https://github.com/CoinVello/coinvello-ai/issues or support@coinvello.com
package/dist/client.js CHANGED
@@ -41,7 +41,7 @@ export class CoinVelloClient {
41
41
  const headers = {
42
42
  Authorization: `Bearer ${this.apiKey}`,
43
43
  Accept: "application/json",
44
- "User-Agent": "coinvello-mcp/0.1.0",
44
+ "User-Agent": "coinvello-mcp/0.1.2",
45
45
  };
46
46
  if (body !== undefined)
47
47
  headers["Content-Type"] = "application/json";
@@ -34,8 +34,8 @@ CoinVello (https://coinvello.com) is a **non-custodial crypto payment processor*
34
34
  DAI, `usdc:bnb` (Binance-Peg, 18 decimals), USDT on base, arbitrum (USD₮0), optimism, avalanche and
35
35
  solana, and every Bitcoin token (`wbtc:*`, `cbbtc:*`, `btcb:*`).
36
36
  - **Integration surfaces**: hosted checkout (pay.coinvello.com), embeddable widget
37
- (`@coinvello/checkout`), REST API with SDKs (`@coinvello/sdk`, `coinvello/sdk`, `coinvello`; hosted at
38
- https://coinvello.com/downloads/sdk/ until the npm, Packagist and PyPI releases), plugins (WooCommerce available now; Shopify pending Shopify's approval; Magento 2, PrestaShop, OpenCart in testing),
37
+ (`@coinvello/checkout`), REST API with SDKs (`@coinvello/sdk` on npm; `coinvello/sdk` and `coinvello` hosted at
38
+ https://coinvello.com/downloads/sdk/ until the Packagist and PyPI releases), plugins (WooCommerce available now; Shopify pending Shopify's approval; Magento 2, PrestaShop, OpenCart in testing),
39
39
  MCP server (`@coinvello/mcp`).
40
40
 
41
41
  ## 1. Conventions
@@ -636,7 +636,7 @@ function verifyCoinVelloSignature(rawBody, header, secret, toleranceSec = 300) {
636
636
  app.listen(3000);
637
637
  ```
638
638
 
639
- With the SDK (`npm install https://coinvello.com/downloads/sdk/coinvello-sdk-0.1.0.tgz`): `import { CoinVello } from "@coinvello/sdk"; const cv = new CoinVello(KEY);`
639
+ With the SDK (`npm install @coinvello/sdk`): `import { CoinVello } from "@coinvello/sdk"; const cv = new CoinVello(KEY);`
640
640
  `await cv.checkoutSessions.create({...}, { idempotencyKey })`, `cv.webhooks.constructEvent(raw, header, secret)`.
641
641
 
642
642
  ### 6.3 Python (FastAPI, no SDK)
@@ -32,7 +32,7 @@ Facts an assistant should state correctly:
32
32
 
33
33
  ## Tools for AI agents
34
34
 
35
- - [MCP server (@coinvello/mcp)](https://coinvello.com/ai): `npx -y https://coinvello.com/downloads/sdk/coinvello-mcp-0.1.0.tgz`; tools for checkout sessions, invoices, payments, wallets, webhooks, credits, records and exports, rates, assets and test payments. Descriptor at https://coinvello.com/.well-known/mcp.json.
35
+ - [MCP server (@coinvello/mcp)](https://coinvello.com/ai): `npx -y @coinvello/mcp`; tools for checkout sessions, invoices, payments, wallets, webhooks, credits, records and exports, rates, assets and test payments. Descriptor at https://coinvello.com/.well-known/mcp.json.
36
36
  - [Agent Skill (coinvello-payments)](https://coinvello.com/ai): step-by-step integration procedure, decision tree and verification checklist for Claude Code and other agent runtimes.
37
37
  - [Tool / function definitions](https://coinvello.com/.well-known/ai-plugin.json): JSON schemas for Anthropic tool use, OpenAI function calling and Gemini function declarations.
38
38
  - Cookbook (single-file recipes for Next.js, Express, FastAPI, Flask, Django, Laravel, Sinatra, Go and curl, each with webhook verification, plus an Excel export of a quarter of records): https://coinvello.com/ai
package/dist/server.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
9
9
  export declare const SERVER_NAME = "coinvello";
10
- export declare const SERVER_VERSION = "0.1.0";
10
+ export declare const SERVER_VERSION = "0.1.2";
11
11
  export interface ServerConfig {
12
12
  apiKey?: string;
13
13
  baseUrl?: string;
package/dist/server.js CHANGED
@@ -13,7 +13,7 @@ import { z } from "zod";
13
13
  import { CoinVelloApiError, CoinVelloClient } from "./client.js";
14
14
  import { verifyCoinVelloSignature } from "./verify.js";
15
15
  export const SERVER_NAME = "coinvello";
16
- export const SERVER_VERSION = "0.1.0";
16
+ export const SERVER_VERSION = "0.1.2";
17
17
  export function configFromEnv(env = process.env) {
18
18
  return {
19
19
  apiKey: env.COINVELLO_API_KEY,
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@coinvello/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
+ "mcpName": "io.github.CoinVello/coinvello",
4
5
  "description": "Model Context Protocol server for the CoinVello API: non-custodial crypto payments (checkout sessions, invoices, webhooks, credits) for Claude, Cursor, Windsurf, ChatGPT and other MCP clients.",
5
6
  "license": "MIT",
6
7
  "type": "module",
@@ -40,7 +41,13 @@
40
41
  "ai-agent"
41
42
  ],
42
43
  "homepage": "https://coinvello.com/ai",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "https://github.com/CoinVello/coinvello-ai.git",
47
+ "directory": "api/ai/mcp-server"
48
+ },
43
49
  "bugs": {
50
+ "url": "https://github.com/CoinVello/coinvello-ai/issues",
44
51
  "email": "support@coinvello.com"
45
52
  },
46
53
  "dependencies": {
@@ -54,6 +61,5 @@
54
61
  },
55
62
  "engines": {
56
63
  "node": ">=18"
57
- },
58
- "mcpName": "io.github.coinvello/coinvello"
64
+ }
59
65
  }