xsecuremcp / examples /simple_echo.py
Jeremiah Lowin
Basic cleanup
62256a2
Raw
History Blame
191 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