File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 * Pair with the server in examples/server/src/customMethodExample.ts.
1010 */
1111
12- import { Client , StdioClientTransport } from '@modelcontextprotocol/client' ;
12+ import { Client } from '@modelcontextprotocol/client' ;
13+ import { StdioClientTransport } from '@modelcontextprotocol/client/stdio' ;
1314import { z } from 'zod' ;
1415
1516const SearchResult = z . object ( { hits : z . array ( z . string ( ) ) } ) ;
Original file line number Diff line number Diff line change 1212 * See examples/client/src/customMethodExample.ts.
1313 */
1414
15- import { Server , StdioServerTransport } from '@modelcontextprotocol/server' ;
15+ import { Server } from '@modelcontextprotocol/server' ;
16+ import { StdioServerTransport } from '@modelcontextprotocol/server/stdio' ;
1617import { z } from 'zod' ;
1718
1819const SearchRequest = z . object ( {
You can’t perform that action at this time.
0 commit comments