Refactor MCP agent integration and update dependencies
Replaces OpenAI-based tool flow with @huggingface/mcp-client Agent for MCP server communication in text generation. Updates package.json dependencies to include @huggingface/mcp-client and @modelcontextprotocol/sdk, and bumps related packages in package-lock.json. Improves multimodal message handling, tool call state management, and logging for MCP agent operations.