xsecuremcp / examples /simple_echo.py
Jeremiah Lowin
Update cli file spec
bfdc923
Raw
History Blame
192 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