@aiwerk/mcp-bridge 2.8.33 → 2.8.34
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/bin/mcp-bridge.js +5 -2
- package/package.json +1 -1
package/dist/bin/mcp-bridge.js
CHANGED
|
@@ -593,8 +593,11 @@ async function cmdInstall(serverName, args, logger) {
|
|
|
593
593
|
}
|
|
594
594
|
else {
|
|
595
595
|
process.stdout.write(`All required environment variables are set. Ready to use.\n`);
|
|
596
|
-
|
|
597
|
-
|
|
596
|
+
}
|
|
597
|
+
// Pre-discover tools and cache them (so direct mode has tools on first start)
|
|
598
|
+
// Try even with missing env vars — many servers respond to tools/list without auth
|
|
599
|
+
process.stdout.write(`\nDiscovering tools...\n`);
|
|
600
|
+
{
|
|
598
601
|
try {
|
|
599
602
|
const { StdioTransport } = await import("../src/transport-stdio.js");
|
|
600
603
|
const { SseTransport } = await import("../src/transport-sse.js");
|