xsecuremcp / examples /simple_echo.py
Jeremiah Lowin
Remove empty parens
09438a8
Raw
History Blame Contribute Delete
189 Bytes
"""
FastMCP Echo Server
"""
from fastmcp import FastMCP
# Create server
mcp = FastMCP("Echo Server")
@mcp.tool
def echo(text: str) -> str:
"""Echo the input text"""
return text