@ateam-ai/mcp 0.3.23 → 0.3.24
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/package.json +1 -1
- package/src/tools.js +12 -0
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -1480,12 +1480,24 @@ const handlers = {
|
|
|
1480
1480
|
if (!effectiveSkills?.length && pullResult.skills?.length) {
|
|
1481
1481
|
effectiveSkills = pullResult.skills;
|
|
1482
1482
|
}
|
|
1483
|
+
// Synthesize connectors[] metadata from mcp_store keys if not passed inline.
|
|
1484
|
+
// The pull-bundle endpoint returns mcp_store (files) and solution.platform_connectors
|
|
1485
|
+
// (declarations) but not a top-level connectors[] array. The validator/deploy
|
|
1486
|
+
// pipeline expects one, so build it from the mcp_store we just pulled.
|
|
1487
|
+
if (!connectors?.length && Object.keys(effectiveMcpStore).length > 0) {
|
|
1488
|
+
connectors = Object.keys(effectiveMcpStore).map((id) => ({
|
|
1489
|
+
id,
|
|
1490
|
+
name: id,
|
|
1491
|
+
transport: "stdio",
|
|
1492
|
+
}));
|
|
1493
|
+
}
|
|
1483
1494
|
phases.push({
|
|
1484
1495
|
phase: "github_pull",
|
|
1485
1496
|
status: "done",
|
|
1486
1497
|
skills_found: pullResult.skills_found || 0,
|
|
1487
1498
|
connectors_found: pullResult.connectors_found || 0,
|
|
1488
1499
|
files_loaded: pullResult.files_loaded || 0,
|
|
1500
|
+
connectors_synthesized: connectors?.length || 0,
|
|
1489
1501
|
});
|
|
1490
1502
|
} catch (err) {
|
|
1491
1503
|
return {
|