Skip to content

Commit c1d9625

Browse files
fixup(d1-base): customMethodExample stdio imports use ./stdio subpath (A1a × #1871 cross-PR)
1 parent ce8fc53 commit c1d9625

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
@@ -9,7 +9,8 @@
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';
1314
import { z } from 'zod';
1415

1516
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
@@ -12,7 +12,8 @@
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';
1617
import { z } from 'zod';
1718

1819
const SearchRequest = z.object({

0 commit comments

Comments
 (0)