We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3032a67 commit 1599a7bCopy full SHA for 1599a7b
client/src/lib/hooks/useConnection.ts
@@ -316,6 +316,16 @@ 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
329
} catch (error) {
330
console.error(
331
`Failed to connect to MCP Server via the MCP Inspector Proxy: ${mcpProxyServerUrl}:`,
0 commit comments