Hey everyone, Last couple of months I’ve tried using AI in a couple of ways to connect to DB’s and run some SQL. Tried MCP and just simply letting AI run reads directly. Curious to ask how do you guys handle connecting to DBs. Do you develop endpoints specifically for it? Do you just let it do some SQL directly? how do you handle costly join runs? Mostly I gotta say Im worried of data leaks and AI infering missing data it has access to but shouldn’t be able to know. Also the black box nature of ai combined with AI’s ability to run really large queries fast seems concerning to me. How do you mitigate these results? Thanks! submitted by /u/Im_Ritter
Originally posted by u/Im_Ritter on r/ClaudeCode
You must log in or # to comment.
