fix lint
This commit is contained in:
parent
80b0bab08b
commit
7341c9a288
2 changed files with 0 additions and 3 deletions
|
|
@ -32,14 +32,12 @@ async function main(): Promise<void> {
|
|||
|
||||
let client: Client;
|
||||
let transport: StreamableHTTPClientTransport | SSEClientTransport;
|
||||
let transportType: 'streamable-http' | 'sse';
|
||||
|
||||
try {
|
||||
// Try connecting with automatic transport detection
|
||||
const connection = await connectWithBackwardsCompatibility(serverUrl);
|
||||
client = connection.client;
|
||||
transport = connection.transport;
|
||||
transportType = connection.transportType;
|
||||
|
||||
// Set up notification handler
|
||||
client.setNotificationHandler(LoggingMessageNotificationSchema, (notification) => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import express, { Request, Response } from 'express';
|
||||
import { randomUUID } from "node:crypto";
|
||||
import { McpServer } from '../../server/mcp.js';
|
||||
import { SSEServerTransport } from '../../server/sse.js';
|
||||
import { z } from 'zod';
|
||||
|
|
|
|||
Loading…
Reference in a new issue