mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 21:14:17 +02:00
Merge pull request #329 from discdiver/patch-1
Update quickstart.mdx example to include import
This commit is contained in:
commit
09e0de72e6
1 changed files with 2 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue