@vendemass/mcp-client 0.1.1 → 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/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -60,7 +60,8 @@ async function rpc(op, payload) {
|
|
|
60
60
|
return (await res.json());
|
|
61
61
|
}
|
|
62
62
|
// --- MCP Server ---
|
|
63
|
-
const
|
|
63
|
+
const CLIENT_VERSION = '0.1.3';
|
|
64
|
+
const server = new Server({ name: 'vendemass', version: CLIENT_VERSION }, { capabilities: { tools: {} } });
|
|
64
65
|
// Claude Desktop requires tool names matching ^[a-zA-Z0-9_-]{1,64}$
|
|
65
66
|
// Server uses dots (product.list) — we convert: dot → dash for Claude, dash → dot for RPC
|
|
66
67
|
function toMcpName(serverName) { return serverName.replace(/\./g, '-'); }
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendemass/mcp-client",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Conecta
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Conecta Claude, Cursor, Windsurf o cualquier IA a tu cuenta de VendeMass.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|