Fixed Streamable HTTP Example
I tried copying the Streamable HTTP example and it didn't work until I updated these imports.
This commit is contained in:
parent
3ef902328a
commit
e2db54592e
1 changed files with 2 additions and 1 deletions
|
|
@ -221,7 +221,8 @@ import express from "express";
|
|||
import { randomUUID } from "node:crypto";
|
||||
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
||||
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
||||
import { InMemoryEventStore } from "@modelcontextprotocol/sdk/inMemory.js";
|
||||
import { InMemoryEventStore } from "@modelcontextprotocol/sdk/examples/shared/inMemoryEventStore.js";
|
||||
import { isInitializeRequest } from "@modelcontextprotocol/sdk/types.js"
|
||||
|
||||
|
||||
const app = express();
|
||||
|
|
|
|||
Loading…
Reference in a new issue