We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3032a67 commit f43b68dCopy full SHA for f43b68d
client/src/lib/hooks/useConnection.ts
@@ -316,6 +316,15 @@ export function useConnection({
316
317
try {
318
await client.connect(clientTransport);
319
+
320
+ const initializeRequest = {
321
+ method: "initialize",
322
+ };
323
+ pushHistory(initializeRequest, {
324
+ capabilities: client.getServerCapabilities(),
325
+ serverInfo: client.getServerVersion(),
326
+ instructions: client.getInstructions(),
327
+ });
328
} catch (error) {
329
console.error(
330
`Failed to connect to MCP Server via the MCP Inspector Proxy: ${mcpProxyServerUrl}:`,
0 commit comments