Skip to content

Commit ab916aa

Browse files
fixup(d1-base): A1a customMethodExample stdio imports use /stdio subpath after #1871 merge
1 parent 891704c commit ab916aa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/client/src/customMethodExample.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
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';
1617
import { z } from 'zod';
1718

1819
const SearchResult = z.object({ hits: z.array(z.string()) });

examples/server/src/customMethodExample.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
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';
1718
import { z } from 'zod';
1819

1920
const SearchParams = z.object({ query: z.string() });

0 commit comments

Comments
 (0)