Merge pull request #329 from discdiver/patch-1

Update quickstart.mdx example to include import
This commit is contained in:
Jeremiah Lowin 2025-05-05 16:33:28 -04:00 committed by GitHub
commit 09e0de72e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")