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 1212 * Pair with the server in examples/server/src/customMethodExample.ts.
1313 */
1414
15- import { Client , StdioClientTransport } from '@modelcontextprotocol/client' ;
15+ import { Client } from '@modelcontextprotocol/client' ;
16+ import { StdioClientTransport } from '@modelcontextprotocol/client/stdio' ;
1617import { z } from 'zod' ;
1718
1819const SearchResult = z . object ( { hits : z . array ( z . string ( ) ) } ) ;
Original file line number Diff line number Diff line change 1313 * See examples/client/src/customMethodExample.ts.
1414 */
1515
16- import { Server , StdioServerTransport } from '@modelcontextprotocol/server' ;
16+ import { Server } from '@modelcontextprotocol/server' ;
17+ import { StdioServerTransport } from '@modelcontextprotocol/server/stdio' ;
1718import { z } from 'zod' ;
1819
1920const SearchParams = z . object ( { query : z . string ( ) } ) ;
You can’t perform that action at this time.
0 commit comments