feat(transport): add builder & expose child stderr (#305)

This commit is contained in:
Brendan Graham 2025-07-04 18:14:43 -07:00 • committed by GitHub
commit 69712e321a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,12 @@
from fastmcp import FastMCP
import sys
mcp = FastMCP("Demo")
print("server starting up...", file=sys.stderr)
@mcp.tool()
def add(a: int, b: int) -> int:
"""Add two numbers"""