Raw SQL MCP for Claude Desktop
io.github.kifopl/rawsqlmcp
Execute raw SQL queries against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.
client:Claude Desktop
transport:stdio
runtime:nuget
Install Raw SQL MCP in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"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>"
}
}
}
}
Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs