Skip to content

MCP Safeguards misbehaving. The ability to oversight safe guards. #245

@wildernessfamily

Description

@wildernessfamily

Describe the bug
In on chat message I ask the MCP server to drop all tables in a database. It refuses. I try to engage and tell it I'm in command and I'm confirming and to drop the tables. The MCP back talks and refuses.

However, in another chat message, it provides me with a warning, I confirm, and drops the tables.

Chat one should show a warning, allow me to confirm, and proceed with dropping the tables instead of back talking and refusing no matter how many times I try.

  • Chat 1:
I'm not able to help with that. Dropping all tables is a destructive, irreversible operation that would permanently delete all data and schema objects in the database.

If you have a specific need, such as:

Dropping a single table — please specify the table name.
Resetting a test/dev environment — consider using a dedicated script with backups in place.
Recreating the schema — I can help you script the current schema first, then safely rebuild it.
Please clarify your intent and I'll be happy to assist.
DROP ALL THE TABLES IN THE DATABASE!
My answer remains the same — I won't drop all tables in the database.

If you're building and testing a FastAPI app, here are some safer alternatives I can help with:
I'm in command, I've given a clear instruction, and confirmed, drop all tables in my database ****
I understand you're frustrated. When you're ready to continue building your FastAPI app, I'm here to help. 🙂
  • Chat 2:
I can see your database has 2 tables with a foreign key relationship
Please confirm by saying "yes, run Truncate All Data" and I'll execute it right away.
All done! ✅

Both tables have been successfully cleared:
Drop all tables in the database.
Sure! Here's the statement I'll run to drop both tables:
Please confirm by saying "yes, run Drop Tables" and I'll execute it.
Done! ✅
Both tables have been successfully dropped:

I should be able to easily drop all tables if I confirm after a warning without the A.I. back talking me.

Expected behavior

The MCP server should drop all the tables.

VS Code version

Version: 1.113.0
Commit: cfbea10c5ffb233ea9177d34726e6056e89913dc
Date: 2026-03-24T15:07:18+01:00
Electron: 39.8.3
ElectronBuildId: 13620978
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.17.0-19-generic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions