Remove trailing slashes from MCP endpoint URLs in docs (#2277)

This commit is contained in:
Jeremiah Lowin 2025-10-27 10:36:47 -04:00 committed by GitHub
commit 6d600e36db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 13 additions and 13 deletions

View file

@ -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()