nate nowack commited on
Commit
aac0104
·
unverified ·
2 Parent(s): 8a0659811b9540

Merge pull request #479 from mai-nakagawa/patch-1

Browse files
docs/getting-started/quickstart.mdx CHANGED
@@ -72,7 +72,7 @@ There are a few things to note here:
72
  In order to run the server with Python, we need to add a `run` statement to the `__main__` block of the server file.
73
 
74
  ```python my_server.py {9-10}
75
- from fastmcp import FastMCP, Client
76
 
77
  mcp = FastMCP("My MCP Server")
78
 
@@ -99,6 +99,7 @@ Now that the server can be executed with `python my_server.py`, we can interact
99
  In a new file, create a client and point it at the server file:
100
 
101
  ```python my_client.py
 
102
  from fastmcp import Client
103
 
104
  client = Client("my_server.py")
 
72
  In order to run the server with Python, we need to add a `run` statement to the `__main__` block of the server file.
73
 
74
  ```python my_server.py {9-10}
75
+ from fastmcp import FastMCP
76
 
77
  mcp = FastMCP("My MCP Server")
78
 
 
99
  In a new file, create a client and point it at the server file:
100
 
101
  ```python my_client.py
102
+ import asyncio
103
  from fastmcp import Client
104
 
105
  client = Client("my_server.py")