About SQL Preview
Run governed SQL queries and inspect database schemas from MCP agents
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y sql-previewSQL_PREVIEW_CONNECTIONSSecretJSON array of SQL Preview connection profiles for headless use.SQL_PREVIEW_MCP_SAFE_MODESet to false to allow mutating SQL. Defaults to true.SQL_PREVIEW_MAX_ROWSMaximum rows returned by query tools. Defaults to 10000.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.