mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
Update docs and test
This commit is contained in:
parent
d1ded43a43
commit
18ae625fef
19 changed files with 51 additions and 45 deletions
|
|
@ -103,7 +103,7 @@ from fastmcp import Client
|
|||
|
||||
async def main():
|
||||
# Connect to the MCP server we just created
|
||||
async with Client("http://127.0.0.1:8000/mcp") as client:
|
||||
async with Client("http://127.0.0.1:8000/mcp/") as client:
|
||||
|
||||
# List the tools that were automatically generated
|
||||
tools = await client.list_tools()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue