@curless/clubmed-demo 0.1.2 → 0.1.3
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 +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,6 @@ acquiring (ACP). For demos/testing only.
|
|
|
13
13
|
"command": "npx",
|
|
14
14
|
"args": ["-y", "@curless/clubmed-demo"],
|
|
15
15
|
"env": {
|
|
16
|
-
"AGENTBANK_API_URL": "https://mcp.curless.ai",
|
|
17
16
|
"AGENTBANK_AGENT_TOKEN": "agb_test_..."
|
|
18
17
|
}
|
|
19
18
|
}
|
|
@@ -22,6 +21,7 @@ acquiring (ACP). For demos/testing only.
|
|
|
22
21
|
```
|
|
23
22
|
|
|
24
23
|
`AGENTBANK_AGENT_TOKEN` is an agentbank agent key (`agb_...`) with `agent:execute`.
|
|
24
|
+
The server talks to `https://mcp.curless.ai` by default — no need to configure it.
|
|
25
25
|
|
|
26
26
|
## Tools
|
|
27
27
|
|
|
@@ -31,5 +31,5 @@ acquiring (ACP). For demos/testing only.
|
|
|
31
31
|
- `book_clubmed_resort` — book via an ACP checkout (moves money on the configured
|
|
32
32
|
rail; sandbox default token `pm_card_visa`).
|
|
33
33
|
|
|
34
|
-
Env: `
|
|
35
|
-
`
|
|
34
|
+
Env: `CLUBMED_MERCHANT_ID` (default `429488`). For local dev, set
|
|
35
|
+
`AGENTBANK_API_URL=http://localhost:3000` to point at a local API.
|
package/dist/index.js
CHANGED
|
@@ -92,7 +92,7 @@ const TOOLS = [
|
|
|
92
92
|
const text = (value) => ({
|
|
93
93
|
content: [{ type: 'text', text: JSON.stringify(value, null, 2) }],
|
|
94
94
|
});
|
|
95
|
-
const server = new Server({ name: 'clubmed-europe', version: '0.1.
|
|
95
|
+
const server = new Server({ name: 'clubmed-europe', version: '0.1.3' }, { capabilities: { tools: {} } });
|
|
96
96
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
|
|
97
97
|
server.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
98
98
|
const args = (req.params.arguments ?? {});
|
package/package.json
CHANGED