mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
Fix broken links
This commit is contained in:
parent
a71f7c7fa1
commit
da115faec2
3 changed files with 3 additions and 3 deletions
|
|
@ -125,5 +125,5 @@ fastmcp run my_server.py:mcp
|
|||
Note that FastMCP *does not* require the `__main__` block in the server file, and will ignore it if it is present. Instead, it looks for the server object provided in the CLI command (here, `mcp`). If no server object is provided, `fastmcp run` will automatically search for servers called "mcp", "app", or "server" in the file.
|
||||
|
||||
<Tip>
|
||||
We pointed our client at the server file, which is recognized as a Python MCP server and executed with `python my_server.py` by default. This executes the `__main__` block of the server file. There are other ways to run the server, which are described in the [server configuration](/servers/fastmcp#running-the-server) guide.
|
||||
We pointed our client at the server file, which is recognized as a Python MCP server and executed with `python my_server.py` by default. This executes the `__main__` block of the server file. There are other ways to run the server, which are described in the [server configuration](/servers/server#running-the-server) guide.
|
||||
</Tip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue