From ba15a923e1e879570a9958afbab572c627ef83b6 Mon Sep 17 00:00:00 2001 From: Jeff Hale Date: Mon, 5 May 2025 16:25:20 -0400 Subject: [PATCH] Update quickstart.mdx example to include import Example fails without the import --- docs/getting-started/quickstart.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/quickstart.mdx b/docs/getting-started/quickstart.mdx index 69a5b81a5..8200f6919 100644 --- a/docs/getting-started/quickstart.mdx +++ b/docs/getting-started/quickstart.mdx @@ -43,7 +43,8 @@ def greet(name: str) -> str: To test the server, create a FastMCP client and point it at the server object. -```python my_server.py {1, 9-16} +```python my_server.py {1-2, 10-17} +import asyncio from fastmcp import FastMCP, Client mcp = FastMCP("My MCP Server")