Skip to content

Commit 7453001

Browse files
authored
[Agents] Add zod import to example
Added the missing `zod` import to the tools example.
1 parent 15efb4d commit 7453001

File tree

1 file changed

+1
-0
lines changed
  • src/content/docs/agents/model-context-protocol

1 file changed

+1
-0
lines changed

src/content/docs/agents/model-context-protocol/tools.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ For example, the following code from [this example MCP server](https://github.co
1717
```ts title="src/index.ts"
1818
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp";
1919
import { McpAgent } from "agents/mcp";
20+
import { z } from "zod";
2021

2122
export class MyMCP extends McpAgent {
2223
server = new McpServer({ name: "Demo", version: "1.0.0" });

0 commit comments

Comments
 (0)