mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-16 10:39:11 +02:00
12 lines
234 B
Python
12 lines
234 B
Python
from fastmcp import FastMCP
|
|
|
|
mcp = FastMCP()
|
|
|
|
if __name__ == "__main__":
|
|
mcp.run(
|
|
transport="streamable-http",
|
|
host="127.0.0.1",
|
|
port=4200,
|
|
path="/my-custom-path/",
|
|
log_level="debug",
|
|
)
|