Multiple_game_mcp / echo_server.py
Jofthomas's picture
Upload 3 files
692e2cd verified
raw
history blame
201 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}"