mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
Update quickstart.mdx (#1821)
This commit is contained in:
parent
6ece5462db
commit
9d17aba5b6
1 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ Once your server is running with HTTP transport, you can connect to it with a Fa
|
|||
import asyncio
|
||||
from fastmcp import Client
|
||||
|
||||
client = Client("http://localhost:8000")
|
||||
client = Client("http://localhost:8000/mcp")
|
||||
|
||||
async def call_tool(name: str):
|
||||
async with client:
|
||||
|
|
@ -134,4 +134,4 @@ To deploy your server, you'll need a [GitHub account](https://github.com). Once
|
|||
|
||||
That's it! FastMCP Cloud will build and deploy your server, making it available at a URL like `https://your-project.fastmcp.app/mcp`. You can chat with it to test its functionality, or connect to it from any LLM client that supports the MCP protocol.
|
||||
|
||||
For more details, see the [FastMCP Cloud guide](/deployment/fastmcp-cloud).
|
||||
For more details, see the [FastMCP Cloud guide](/deployment/fastmcp-cloud).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue