How-to

Practical guides.
For getting the most out of DBCode.

How to Let an AI Agent Query Your Production Database Safely
Latest

How to Let an AI Agent Query Your Production Database Safely

  • ai
  • mcp
  • security
  • database
Read the guide
  1. How to Give Claude Code Access to Your Database (Postgres, MySQL, and 100+ More)

    How to Give Claude Code Access to Your Database (Postgres, MySQL, and 100+ More)

    Read more
  2. MCP Server for SQL Server: Let Claude Code, Cursor, or Copilot Query It

    MCP Server for SQL Server: Let Claude Code, Cursor, or Copilot Query It

    Read more
  3. How to Mask PII Before Your AI Agent Sees It

    How to Mask PII Before Your AI Agent Sees It

    Read more
  4. How to Give Windsurf, Kiro, or Antigravity's Agent Access to Your Database

    How to Give Windsurf, Kiro, or Antigravity's Agent Access to Your Database

    Read more
  5. How to Give GitHub Copilot Agent Mode Access to Your Database

    How to Give GitHub Copilot Agent Mode Access to Your Database

    Read more
  6. How to Connect Cursor's Agent to Your Database (MySQL, Postgres, and 100+ More)

    Read more
  7. Put Guardrails on AI Database Access in VS Code

    Put Guardrails on AI Database Access in VS Code

    Read more
  8. Best SQL Clients for VS Code in 2026: An Honest Comparison

    Best SQL Clients for VS Code in 2026: An Honest Comparison

    Read more
  9. How to Work with MongoDB in VS Code (Documents, Queries, and Change Streams)

    How to Work with MongoDB in VS Code (Documents, Queries, and Change Streams)

    Read more
  10. How to Copy Production Data to Your Dev Database (No Dump Files)

    How to Copy Production Data to Your Dev Database (No Dump Files)

    Read more
  11. Share Query Results Without Exposing Your Database

    Share Query Results Without Exposing Your Database

    Read more
  12. Four Ways to Use AI With Your Database in VS Code

    Four Ways to Use AI With Your Database in VS Code

    Read more
  13. Charting Query Results Without Leaving VS Code

    Charting Query Results Without Leaving VS Code

    Read more
  14. Build SQL Queries Without Writing SQL

    Build SQL Queries Without Writing SQL

    Read more
  15. SQL Notebooks in VS Code: Like Jupyter, But for Databases

    SQL Notebooks in VS Code: Like Jupyter, But for Databases

    Read more
  16. Stop Alt-Tabbing to Your Database Client

    Stop Alt-Tabbing to Your Database Client

    Read more
  17. How to Query PostgreSQL from VS Code (Without Installing Anything Else)

    How to Query PostgreSQL from VS Code (Without Installing Anything Else)

    Read more
  18. You Don't Need a Separate Database Client

    You Don't Need a Separate Database Client

    Read more