valv for Windsurf
sh.valv/mcp
Let coding agents query any SQL database safely. Read-only by default and scoped by your policies.
client:Windsurf
transport:stdio
runtime:npm
Install valv in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@valv/mcp"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"VALV_PROVIDER": "<VALV_PROVIDER>",
"VALV_DATABASE": "<VALV_DATABASE>",
"VALV_TABLES": "<VALV_TABLES>",
"VALV_EXCLUDE": "<VALV_EXCLUDE>",
"VALV_POLICY_FILE": "<VALV_POLICY_FILE>",
"VALV_CONTEXT": "<VALV_CONTEXT>",
"VALV_HTTP_PORT": "<VALV_HTTP_PORT>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs