- Update type hints to use Python 3.10 syntax (dict, list, X | None) - Replace requests with httpx for HTTP client consistency - Improve async context management using AsyncExitStack - Simplify server cleanup method