Back to directory
narekmalk/safedb-mcp

narekmalk/safedb-mcp

@narekmalk

Secure MCP server for safe, read-only DB access by AI agents, with SQL guardrails, table allowlists, PII masking, and audit logs

databasesecuritysqlpostgresmysqlsqlitepii-maskingaudit

Installation & Configuration

{
  "mcpServers": {
    "safedb": {
      "command": "safedb-mcp",
      "args": [
        "--config",
        "/absolute/path/to/safedb.yaml"
      ],
      "env": {
        "DATABASE_URL": "postgres://readonly:password@localhost:5432/app"
      }
    }
  }
}

Information

Transport
stdio
Language
TypeScript
Created
2026/6/11
Updated
2026/6/12