@payware/mcp-server 1.1.0 → 1.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 (2) hide show
  1. package/README.md +42 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,18 +1,41 @@
1
1
  # payware MCP Server
2
2
 
3
- Minimal MCP server for payware API integration. Enables quick merchant integration with payware APIs in sandbox environment.
3
+ [![npm version](https://badge.fury.io/js/%40payware%2Fmcp-server.svg)](https://www.npmjs.com/package/@payware/mcp-server)
4
+
5
+ Official MCP (Model Context Protocol) server for payware payment API integration. This server enables AI assistants to interact with payware APIs, automating integration workflows for all partner types.
6
+
7
+ ## Who Is This For?
8
+
9
+ - **Merchants** - Accept payments, manage products, generate transaction reports
10
+ - **ISVs (Independent Software Vendors)** - Build multi-merchant platforms with OAuth2 token management
11
+ - **Payment Institutions** - Process A2A transfers, handle Payment Choice Architecture with multiple payment methods
12
+
13
+ ## What's New in v1.1.0
14
+
15
+ - **Point of Interaction (POI)** - Full POI management: set prices, get status, generate QR codes, list and manage POIs
16
+ - **Payment Choice Architecture** - Support for `paymentMethod` field (A2A, CARD_FUNDED, BNPL, INSTANT_CREDIT) in transaction processing
4
17
 
5
18
  ## Features
6
19
 
7
20
  ### 🔐 Authentication Tools
8
21
  - **RSA Key Generation**: Generate secure 2048-bit RSA key pairs
9
- - **JWT Token Creation**: Create properly formatted JWT tokens
22
+ - **JWT Token Creation**: Create properly formatted JWT tokens
10
23
  - **Sandbox Setup**: Configure sandbox authentication
11
24
 
12
25
  ### 💳 Transaction Tools
13
26
  - **Create Transaction**: Support PLAIN, QR, and BARCODE transactions
27
+ - **Process Transaction**: Process transactions with Payment Choice Architecture support
14
28
  - **Transaction Status**: Check transaction status by ID
15
- - **Callback Simulation**: Test callback scenarios
29
+ - **Transaction History**: Get finalized transaction details
30
+ - **Callback Simulation**: Test callback scenarios for merchants and payment institutions
31
+
32
+ ### 📍 Point of Interaction (POI) Tools
33
+ - **Set Price**: Configure POI with amount, currency, and payment details
34
+ - **Cancel Price**: Clear active price from POI
35
+ - **Get POI**: Retrieve POI details and current state
36
+ - **Get Status**: Check POI transaction status
37
+ - **Get QR Code**: Generate QR code for POI payments
38
+ - **List POIs**: List all POIs for a merchant
16
39
 
17
40
  ### 🛠️ Utility Tools
18
41
  - **Advanced Code Generation**: Generate complete integration code across 8 languages (Python, Node.js, PHP, Java, C#, Go, Ruby, cURL) with 16+ framework support
@@ -25,8 +48,15 @@ Minimal MCP server for payware API integration. Enables quick merchant integrati
25
48
 
26
49
  ### 1. Installation
27
50
 
51
+ **From npm (recommended):**
28
52
  ```bash
29
- cd payware/mcp
53
+ npm install -g @payware/mcp-server
54
+ ```
55
+
56
+ **From source:**
57
+ ```bash
58
+ git clone https://github.com/payware/mcp-server.git
59
+ cd mcp-server
30
60
  npm install
31
61
  ```
32
62
 
@@ -309,6 +339,14 @@ Generate production-ready code examples for any payware operation.
309
339
  - `get_product` - Get product details
310
340
  - `list_products` - List all products
311
341
 
342
+ **POI Operations (isv):**
343
+ - `set_price` - Set price on a Point of Interaction device
344
+ - `cancel_price` - Cancel active price on POI
345
+ - `get_poi` - Get POI details
346
+ - `get_poi_status` - Get POI transaction status
347
+ - `get_poi_qrcode` - Generate QR code for POI
348
+ - `list_pois` - List all POIs for a merchant
349
+
312
350
  **OAuth2 Operations (isv only):**
313
351
  - `obtain_token` - Obtain OAuth2 access token
314
352
  - `get_token_info` - Get OAuth2 token information
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payware/mcp-server",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Official MCP server for payware payment API integration",
5
5
  "main": "src/index.js",
6
6
  "type": "module",