Skip to content
Zed

Raw SQL MCP for Zed

io.github.kifopl/rawsqlmcp

Execute raw SQL queries against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.

client:Zed transport:stdio runtime:nuget

Install Raw SQL MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "rawsqlmcp": {
      "command": "dnx",
      "args": [
        "RawSqlMcp",
        "--yes"
      ],
      "env": {
        "RawSqlMcp__Databases__Default__Provider": "<RawSqlMcp__Databases__Default__Provider>",
        "RawSqlMcp__Databases__Default__ConnectionString": "<RawSqlMcp__Databases__Default__ConnectionString>",
        "RawSqlMcp__ConnectionStrings__Default": "<RawSqlMcp__ConnectionStrings__Default>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Raw SQL MCP in other clients