feat(transport): add builder & expose child stderr (#305)
This commit is contained in:
parent
31155a440c
commit
69712e321a
1 changed files with 122 additions and 32 deletions
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue