diff --git a/README.md b/README.md index 76c45ab..6843fa7 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,10 @@ npm install @modelcontextprotocol/sdk ```typescript import { Client } from "@modelcontextprotocol/sdk/client/index.js"; import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js"; +import { + ListResourcesRequestSchema, + ReadResourceRequestSchema, +} from "@modelcontextprotocol/sdk/types.js"; const transport = new StdioClientTransport({ command: "path/to/server", @@ -61,6 +65,10 @@ const resourceContent = await client.request( ```typescript import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; +import { + ListResourcesRequestSchema, + ReadResourceRequestSchema, +} from "@modelcontextprotocol/sdk/types.js"; const server = new Server({ name: "example-server",