Skip to content
Windsurf

Raw SQL MCP for Windsurf

io.github.kifopl/rawsqlmcp

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

client:Windsurf transport:stdio runtime:nuget

Install Raw SQL MCP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

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

{
  "mcpServers": {
    "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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Raw SQL MCP in other clients