Hi,
I have a NextJS app I am building (as some of you recall) and I have data in a postgreSQL DB. I want to do some analysis on this data to build a report for the user. I'm wondering if I should use the OpenAI API's ability to call functions on in my app or should I look into setting up an MCP server? Any thoughts on which path I should start going down? I essentially want the AI to look at all the data and make recommendations back to the user.
Thanks.