frommcp.server.fastmcpimportFastMCP# Create server instancemcp=FastMCP("kagent-mcp-server")@mcp.tool()defhello(name:str)->str:"""Returns a friendly greeting message"""returnf"Hello, {name}! Welcome to K-Agent Labs."@mcp.tool()defadd(a:float,b:float)->str:"""Adds two numbers together"""result=a+breturnf"The sum of {a} and {b} is {result}"defmain():# Initialize and run the servermcp.run()if__name__=="__main__":main()