logoalt Hacker News

hu3yesterday at 5:33 PM1 replyview on HN

I made a small mcp script for database with 3 tools:

- listTables

- getTableSchema

- executeQuery (blocks destructive queries like anything containing DROP, DELETE, etc..)

I wouldn't trust a textual instructions to prevent LLMs from dropping a table.


Replies

SatvikBeriyesterday at 6:33 PM

That's why I give the LLM a readonly connection

show 1 reply