@vinaystwt/xmpp-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.
- package/README.md +51 -5
- package/package.json +13 -11
package/README.md
CHANGED
|
@@ -1,10 +1,56 @@
|
|
|
1
1
|
# @vinaystwt/xmpp-mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
xMPP MCP is the public MCP server package for payment-aware agent workflows on Stellar.
|
|
4
4
|
|
|
5
|
-
It exposes
|
|
5
|
+
It exposes the same route, policy, receipt, and operator surfaces used by the full xMPP stack, but packaged for MCP-compatible clients over stdio.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
This is the recommended starting point when your agent client already speaks MCP.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
## What It Does
|
|
10
|
+
|
|
11
|
+
- fetches paid resources through xMPP
|
|
12
|
+
- previews route and policy decisions before payment
|
|
13
|
+
- explains route scoring and workflow estimates
|
|
14
|
+
- lists reusable sessions
|
|
15
|
+
- verifies signed receipts
|
|
16
|
+
- exposes wallet and operator state to the client
|
|
17
|
+
|
|
18
|
+
## Install
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @vinaystwt/xmpp-mcp
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Tool Surface
|
|
25
|
+
|
|
26
|
+
The package exposes:
|
|
27
|
+
|
|
28
|
+
- `xmpp_fetch`
|
|
29
|
+
- `xmpp_policy_preview`
|
|
30
|
+
- `xmpp_explain`
|
|
31
|
+
- `xmpp_estimate_workflow`
|
|
32
|
+
- `xmpp_session_list`
|
|
33
|
+
- `xmpp_receipt_verify`
|
|
34
|
+
- `xmpp_wallet_info`
|
|
35
|
+
- `xmpp_agent_profiles`
|
|
36
|
+
|
|
37
|
+
## Use Case
|
|
38
|
+
|
|
39
|
+
Use `@vinaystwt/xmpp-mcp` when you want an agent client to:
|
|
40
|
+
|
|
41
|
+
- call paid APIs through one MCP server
|
|
42
|
+
- get route-aware payment execution
|
|
43
|
+
- keep receipt and policy state visible
|
|
44
|
+
- work with x402, MPP charge, and MPP session flows without embedding that logic directly in the agent
|
|
45
|
+
|
|
46
|
+
## Related Package
|
|
47
|
+
|
|
48
|
+
- `@vinaystwt/xmpp-core`
|
|
49
|
+
- SDK and local helper package for direct integration outside MCP
|
|
50
|
+
|
|
51
|
+
## Docs
|
|
52
|
+
|
|
53
|
+
- repo:
|
|
54
|
+
- https://github.com/Vinaystwt/xMPP
|
|
55
|
+
- SDK docs:
|
|
56
|
+
- https://github.com/Vinaystwt/xMPP/blob/main/docs/sdk.md
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinaystwt/xmpp-mcp",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Public xMPP MCP server for payment-aware agent workflows on Stellar, with fetch, preview, explain, session, and receipt tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/apps/mcp-server/src/server.js",
|
|
@@ -21,12 +21,14 @@
|
|
|
21
21
|
"url": "https://github.com/Vinaystwt/xMPP/issues"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
|
-
"xmpp",
|
|
25
|
-
"mcp",
|
|
26
24
|
"stellar",
|
|
27
25
|
"x402",
|
|
28
26
|
"mpp",
|
|
29
|
-
"
|
|
27
|
+
"mcp",
|
|
28
|
+
"agents",
|
|
29
|
+
"payments",
|
|
30
|
+
"server",
|
|
31
|
+
"xmpp"
|
|
30
32
|
],
|
|
31
33
|
"exports": {
|
|
32
34
|
".": {
|
|
@@ -55,12 +57,12 @@
|
|
|
55
57
|
},
|
|
56
58
|
"dependencies": {
|
|
57
59
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
58
|
-
"@vinaystwt/xmpp-config": "0.1.
|
|
59
|
-
"@vinaystwt/xmpp-contract-runtime": "0.1.
|
|
60
|
-
"@vinaystwt/xmpp-http-interceptor": "0.1.
|
|
61
|
-
"@vinaystwt/xmpp-router": "0.1.
|
|
62
|
-
"@vinaystwt/xmpp-types": "0.1.
|
|
63
|
-
"@vinaystwt/xmpp-wallet": "0.1.
|
|
60
|
+
"@vinaystwt/xmpp-config": "0.1.1",
|
|
61
|
+
"@vinaystwt/xmpp-contract-runtime": "0.1.1",
|
|
62
|
+
"@vinaystwt/xmpp-http-interceptor": "0.1.1",
|
|
63
|
+
"@vinaystwt/xmpp-router": "0.1.1",
|
|
64
|
+
"@vinaystwt/xmpp-types": "0.1.1",
|
|
65
|
+
"@vinaystwt/xmpp-wallet": "0.1.1",
|
|
64
66
|
"zod": "^4.3.6"
|
|
65
67
|
},
|
|
66
68
|
"devDependencies": {
|