Building an AI Agent from Scratch: From 50 Lines of Python to MCP | XploreD