Jeremiah Lowin commited on
Commit
e814600
·
unverified ·
2 Parent(s): 12a65b27028ee7

Merge pull request #329 from discdiver/patch-1

Browse files

Update quickstart.mdx example to include import

docs/getting-started/quickstart.mdx CHANGED
@@ -43,7 +43,8 @@ def greet(name: str) -> str:
43
 
44
  To test the server, create a FastMCP client and point it at the server object.
45
 
46
- ```python my_server.py {1, 9-16}
 
47
  from fastmcp import FastMCP, Client
48
 
49
  mcp = FastMCP("My MCP Server")
 
43
 
44
  To test the server, create a FastMCP client and point it at the server object.
45
 
46
+ ```python my_server.py {1-2, 10-17}
47
+ import asyncio
48
  from fastmcp import FastMCP, Client
49
 
50
  mcp = FastMCP("My MCP Server")