- Step1: Define your tool or resource class and mark methods with [McpTool] attribute
- Step2: Start the MCP server using MCPServer.StartAsync with your server name and version
- Step3: Register your classes containing tools with MCPServer.Register()
- Step4: Connect to the MCP server from a client using the MCPClient class
- Step5: Use client methods to discover tools, resources, and invoke functionalities