@jive-ai/cli 0.0.18 → 0.0.19
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.mjs +29 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1420,6 +1420,22 @@ async function startMcpServer() {
|
|
|
1420
1420
|
properties: {}
|
|
1421
1421
|
}
|
|
1422
1422
|
},
|
|
1423
|
+
{
|
|
1424
|
+
name: "get_mcp_servers",
|
|
1425
|
+
description: "Get full MCP server details by their IDs",
|
|
1426
|
+
inputSchema: {
|
|
1427
|
+
type: "object",
|
|
1428
|
+
properties: { ids: {
|
|
1429
|
+
type: "array",
|
|
1430
|
+
items: {
|
|
1431
|
+
type: "string",
|
|
1432
|
+
description: "MCP server ID to retrieve"
|
|
1433
|
+
},
|
|
1434
|
+
description: "Array of MCP server IDs to retrieve"
|
|
1435
|
+
} },
|
|
1436
|
+
required: ["ids"]
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1423
1439
|
{
|
|
1424
1440
|
name: "list_tools",
|
|
1425
1441
|
description: "List all MCP tools for the selected team. Returns lightweight list of tool names, descriptions and IDs.",
|
|
@@ -1523,8 +1539,18 @@ async function startMcpServer() {
|
|
|
1523
1539
|
text: (await apiRequest(`/api/subagents/${args.id}/call`, { prompt: args.prompt })).prompt
|
|
1524
1540
|
}] };
|
|
1525
1541
|
case "list_mcp_servers": {
|
|
1526
|
-
const
|
|
1527
|
-
|
|
1542
|
+
const results = mcpServers.filter((server$1) => ({
|
|
1543
|
+
name: server$1.name,
|
|
1544
|
+
description: truncateString(server$1.description, 100),
|
|
1545
|
+
id: server$1.id
|
|
1546
|
+
}));
|
|
1547
|
+
return { content: [{
|
|
1548
|
+
type: "text",
|
|
1549
|
+
text: JSON.stringify(results, null, 2)
|
|
1550
|
+
}] };
|
|
1551
|
+
}
|
|
1552
|
+
case "get_mcp_servers": {
|
|
1553
|
+
const results = mcpServers.filter((server$1) => args.ids.includes(server$1.id));
|
|
1528
1554
|
return { content: [{
|
|
1529
1555
|
type: "text",
|
|
1530
1556
|
text: JSON.stringify(results, null, 2)
|
|
@@ -2103,7 +2129,7 @@ async function checkTeamMembership() {
|
|
|
2103
2129
|
|
|
2104
2130
|
//#endregion
|
|
2105
2131
|
//#region package.json
|
|
2106
|
-
var version = "0.0.
|
|
2132
|
+
var version = "0.0.19";
|
|
2107
2133
|
|
|
2108
2134
|
//#endregion
|
|
2109
2135
|
//#region src/index.ts
|