mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Remove trailing slashes from MCP endpoint URLs in docs (#2277)
This commit is contained in:
parent
7999dcbf2c
commit
6d600e36db
11 changed files with 13 additions and 13 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