MCP Toolbox for Databases
Connect agents to Postgres, BigQuery, Cloud SQL, Spanner, and other databases through one YAML config file.
Add MCP Toolbox for Databases to your agent
Custom tools.yaml workflow. Google also ships prebuilt database configs via --prebuilt=postgres and --stdio; see googleapis/mcp-toolbox README.
1Config location
Global: ~/.cursor/mcp.json or project: .cursor/mcp.json
2Copy this snippet
{
"mcpServers": {
"toolbox": {
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--config", "tools.yaml"]
}
}
}
Add this block under mcpServers, then restart Cursor.