Spaces:
Running
Running
Jeff Hale commited on
Update quickstart.mdx example to include import
Browse files
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,
|
|
|
|
| 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")
|