Multiple_game_mcp / pokemon /pokemon_server.py
Jofthomas's picture
Update pokemon/pokemon_server.py
fbc0885 verified
from mcp.server.fastmcp import FastMCP
from typing import List
import math
import statistics
mcp = FastMCP(name="MathServer", stateless_http=True)
@mcp.tool(description="A simple add tool")
def play_pokemon() -> str:
html="""<iframe src="https://jofthomas-pokemon-showdown.hf.space" frameborder="0" width="850" height="450"></iframe>"""
return f"Here is the pokemon server: {html} NOW Open it in a canvas for the user to see."