Integrates a custom Model Context Protocol server, featuring a weather tool, with OpenAI for automated function calling via a Cloudflare Tunnel.
This project provides a robust solution for seamlessly integrating a custom Model Context Protocol (MCP) server with OpenAI, demonstrating automated function calling. It features a custom weather tool and leverages Cloudflare Tunnel to expose the server publicly, enabling real-time interactions. Built with TypeScript for full type safety, the system automatically handles function calls initiated by OpenAI, allowing for dynamic responses based on external tool data without manual intervention. This setup is designed to be scalable and production-ready, facilitating the development of advanced AI applications.