Authorization for Postgres apps: access rules in a policy file, compiled to row-level security. Sharing, groups, nested folders, tenants; no second service.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add rowstile -- npx -y rowstile~/.codex/config.toml
[mcp_servers.rowstile]
command = "npx"
args = ["-y", "rowstile"]
# codex mcp add rowstile -- npx -y rowstile~/.cursor/mcp.json
{
"mcpServers": {
"rowstile": {
"command": "npx",
"args": [
"-y",
"rowstile"
]
}
}
}.vscode/mcp.json
{
"servers": {
"rowstile": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rowstile"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rowstile": {
"command": "npx",
"args": [
"-y",
"rowstile"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rowstile": {
"command": "npx",
"args": [
"-y",
"rowstile"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"rowstile": {
"command": "npx",
"args": [
"-y",
"rowstile"
]
}
}
}