Jofthomas's picture
Update echo_server.py
be9510b verified
raw
history blame contribute delete
200 Bytes
from mcp.server.fastmcp import FastMCP
mcp = FastMCP(name="EchoServer", stateless_http=True)
@mcp.tool(description="A simple echo tool")
def echo(message: str) -> str:
return f"Echo: {message}"