revclamp-mcp 1.20.14 → 1.20.15
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 +5 -3
- package/index.mjs +1 -1
- package/local_engine.mjs +2 -2
- package/mcp-config.json +1 -1
- package/package.json +2 -2
- package/server.json +19 -2
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://revclamp.com)
|
|
4
4
|
|
|
5
|
+
[](https://mcptry.com/servers/com.revclamp/revclamp-mcp)
|
|
6
|
+
|
|
5
7
|
**`revclamp-mcp`** is a standalone, zero-dependency **Open-Source Model Context Protocol (MCP) Server & CLI** (`index.mjs` + `local_engine.mjs`) implementing **9 deterministic B2B FinOps, Stripe `2025-03-31.basil`, Visa CE 3.0, EU/XI VIES VAT, Shopify Plus B2B Net-15/30/60, and Webhook Security tools** in pure Node.js.
|
|
6
8
|
|
|
7
9
|
- **100% Local In-Process Execution (Default — Zero Network / Zero API Key Required):** All 9 MCP tools (`initialize`, `tools/list`, and `tools/call`) execute locally in-process inside [`local_engine.mjs`](./local_engine.mjs) using pure Node.js (`node:crypto` HMAC-SHA256 verification, integer-cent double-entry accounting, 72-hour webhook replay state machines, and `18,000` UTF-16 code unit CE 3.0 linting). Zero network calls are ever made unless `REVCLAMP_API_KEY` or `REVCLAMP_MCP_URL` is explicitly configured.
|
|
@@ -59,13 +61,13 @@ curl -sS -X POST https://api.revclamp.com/api/mcp \
|
|
|
59
61
|
|
|
60
62
|
```bash
|
|
61
63
|
# Run a <60s local CLI smoke check (verifies all 9 tool schemas & executes a local_engine.mjs sample audit with zero API key)
|
|
62
|
-
npx -y github:lhphong09t2/revclamp-mcp#v1.20.
|
|
64
|
+
npx -y github:lhphong09t2/revclamp-mcp#v1.20.15 --self-test
|
|
63
65
|
|
|
64
66
|
# Provision a free Cloud Workspace (or reuse REVCLAMP_API_KEY) & send a 6-digit login OTP
|
|
65
|
-
npx -y revclamp-mcp@1.20.
|
|
67
|
+
npx -y revclamp-mcp@1.20.15 --init-workspace you@company.com
|
|
66
68
|
|
|
67
69
|
# Verify the 6-digit OTP using REVCLAMP_API_KEY from environment
|
|
68
|
-
REVCLAMP_API_KEY="rg_live_..." npx -y revclamp-mcp@1.20.
|
|
70
|
+
REVCLAMP_API_KEY="rg_live_..." npx -y revclamp-mcp@1.20.15 --verify-otp you@company.com 123456
|
|
69
71
|
|
|
70
72
|
# List all 9 MCP tools and JSON schemas (runs locally in-process)
|
|
71
73
|
node index.mjs --list-tools
|
package/index.mjs
CHANGED
|
@@ -33,7 +33,7 @@ export {
|
|
|
33
33
|
executeLocalMcpJsonRpc,
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
export const PACKAGE_VERSION = "1.20.
|
|
36
|
+
export const PACKAGE_VERSION = "1.20.15";
|
|
37
37
|
export const DEFAULT_MCP_ENDPOINT = "https://api.revclamp.com/api/mcp";
|
|
38
38
|
export const ALLOWED_MCP_ORIGINS = Object.freeze(
|
|
39
39
|
new Set([
|
package/local_engine.mjs
CHANGED
|
@@ -2081,7 +2081,7 @@ export const LOCAL_STATELESS_CLOUD_UPGRADE_HINT = Object.freeze({
|
|
|
2081
2081
|
message:
|
|
2082
2082
|
"Running in stateless local mode. Provision a free or paid Cloud Workspace for 90-day event persistence, automated webhook revocation, and Slack/Email alerts.",
|
|
2083
2083
|
command: "npx --yes revclamp-mcp --init-workspace <work_email>",
|
|
2084
|
-
cliActivateCommand: "npx -y revclamp-mcp@1.20.
|
|
2084
|
+
cliActivateCommand: "npx -y revclamp-mcp@1.20.15 --init-workspace you@company.com",
|
|
2085
2085
|
upgradeUrl: "https://revclamp.com/pricing?source=mcp_cli",
|
|
2086
2086
|
});
|
|
2087
2087
|
|
|
@@ -4177,7 +4177,7 @@ function toSafeLocalRpcId(rawId) {
|
|
|
4177
4177
|
|
|
4178
4178
|
export function executeLocalMcpJsonRpc(
|
|
4179
4179
|
rpcRequest,
|
|
4180
|
-
packageVersion = "1.20.
|
|
4180
|
+
packageVersion = "1.20.15",
|
|
4181
4181
|
options = {}
|
|
4182
4182
|
) {
|
|
4183
4183
|
if (!rpcRequest || typeof rpcRequest !== "object" || Array.isArray(rpcRequest)) {
|
package/mcp-config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "revclamp-mcp",
|
|
3
3
|
"mcpName": "com.revclamp/revclamp-mcp",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.15",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server and CLI for Stripe 2025-03-31.basil entitlement checks, Visa CE 3.0 dispute staging (submit: false), EU/XI VIES VAT validation, Shopify Plus B2B Net-15/30/60 reconciliation, webhook HMAC-SHA256 verification, 0% take-rate ROI calculation, 72-hour webhook replay & out-of-order state-machine simulation, and Stripe dispute evidence 18,000 UTF-16 code unit & CE 3.0 completeness linting.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.mjs",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"node": ">=20.0.0"
|
|
47
47
|
},
|
|
48
48
|
"revclamp": {
|
|
49
|
-
"engineSha256": "
|
|
49
|
+
"engineSha256": "b6cae538b3e4ab4897232fcb96e6ff863b751aac12950726089f16d5bd81355b"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/server.json
CHANGED
|
@@ -7,13 +7,30 @@
|
|
|
7
7
|
"url": "https://github.com/lhphong09t2/revclamp-mcp",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
10
|
+
"websiteUrl": "https://revclamp.com/mcp",
|
|
11
|
+
"icons": [
|
|
12
|
+
{
|
|
13
|
+
"src": "https://revclamp.com/apple-touch-icon.png",
|
|
14
|
+
"mimeType": "image/png",
|
|
15
|
+
"sizes": [
|
|
16
|
+
"180x180"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"src": "https://revclamp.com/favicon.png",
|
|
21
|
+
"mimeType": "image/png",
|
|
22
|
+
"sizes": [
|
|
23
|
+
"32x32"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"version": "1.20.15",
|
|
11
28
|
"packages": [
|
|
12
29
|
{
|
|
13
30
|
"registryType": "npm",
|
|
14
31
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
15
32
|
"identifier": "revclamp-mcp",
|
|
16
|
-
"version": "1.20.
|
|
33
|
+
"version": "1.20.15",
|
|
17
34
|
"transport": {
|
|
18
35
|
"type": "stdio"
|
|
19
36
|
},
|