ChessCoach / src /mcp_server.py
Michael Falk
Initial commit
e00315f
Raw History Blame Contribute Delete
302 Bytes
from mcp.server.fastmcp import FastMCP
app = FastMCP()
@app.tool()
def get_opening_from_eco(eco_code: str) -> str:
# Placeholder implementation, replace with actual logic
return "Unknown Opening"
def start():
app.run(transport='streamable-http')
if __name__ == '__main__':
start()