tryll-dataset-builder-mcp 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.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -46,14 +46,14 @@ const TOOLS = [
|
|
|
46
46
|
// ---- Session ----
|
|
47
47
|
{
|
|
48
48
|
name: "connect_session",
|
|
49
|
-
description: "Connect to the Dataset Builder web app for real-time collaboration. After connecting, all operations will appear live in the browser. The user will give you a 6-character session code shown in the web app's topbar.",
|
|
49
|
+
description: "Connect to the Dataset Builder web app for real-time collaboration. After connecting, all operations will appear live in the browser. The user will give you a 6-character session code shown in the web app's topbar. Default server: https://trylljsoncreator.onrender.com",
|
|
50
50
|
inputSchema: {
|
|
51
51
|
type: "object",
|
|
52
52
|
properties: {
|
|
53
|
-
url: { type: "string", description: "Web app URL, e.g. http://localhost:3000 or https://my-dataset-builder.com" },
|
|
54
53
|
code: { type: "string", description: "6-character session code shown in the web app's topbar" },
|
|
54
|
+
url: { type: "string", description: "Web app URL. Default: https://trylljsoncreator.onrender.com. Only change if self-hosting." },
|
|
55
55
|
},
|
|
56
|
-
required: ["
|
|
56
|
+
required: ["code"],
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
59
|
{
|
|
@@ -440,7 +440,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
440
440
|
sessionWs = null;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
-
const base = args.url.replace(/\/+$/, '');
|
|
443
|
+
const base = (args.url || 'https://trylljsoncreator.onrender.com').replace(/\/+$/, '');
|
|
444
444
|
const code = args.code.toUpperCase().trim();
|
|
445
445
|
|
|
446
446
|
// Test the connection with a health check
|
package/package.json
CHANGED