backwards compatible client

This commit is contained in:
ihrpr 2025-04-16 14:20:55 +01:00
commit 80b0bab08b
No known key found for this signature in database

View file

@ -78,7 +78,7 @@ app.use(express.json());
const transports: Record<string, SSEServerTransport> = {};
// SSE endpoint for establishing the stream
app.get('/sse', async (req: Request, res: Response) => {
app.get('/mcp', async (req: Request, res: Response) => {
console.log('Received GET request to /sse (establishing SSE stream)');
try {