We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8efae commit ded0ce3Copy full SHA for ded0ce3
README.md
@@ -311,6 +311,10 @@ const app = express();
311
app.use(express.json());
312
313
app.post('/mcp', async (req: Request, res: Response) => {
314
+ // In stateless mode, create a new instance of transport and server for each request
315
+ // to ensure complete isolation. A single instance would cause request ID collisions
316
+ // when multiple clients connect concurrently.
317
+
318
try {
319
const server = getServer();
320
const transport: StreamableHTTPServerTransport = new StreamableHTTPServerTransport({
0 commit comments