narekmalk/safedb-mcp
by Various
Secure MCP server for safe, read-only DB access by AI agents, with SQL guardrails, table allowlists, PII masking, and audit logs
MCP
narekmalk/safedb-mcp
Added 7 June 2026
Overview
A secure MCP server that enables AI agents to query databases with read-only access. It enforces SQL guardrails, table allowlists, PII masking, and maintains audit logs to prevent data leaks.
Best for
Best for
Developers building AI agents that need safe, auditable database querying.
Use cases
- Give AI agents safe read-only database access
- Enforce query restrictions and PII redaction
- Audit all database queries made by agents
Notes
A secure MCP server that enables AI agents to query databases with read-only access. It enforces SQL guardrails, table allowlists, PII masking, and maintains audit logs to prevent data leaks.
6 stars on GitHub. Last updated 2026-05-27. Licensed MIT.
Use cases
- Give AI agents safe read-only database access
- Enforce query restrictions and PII redaction
- Audit all database queries made by agents
Pros
- Prevents accidental writes or destructive queries
- Allows fine-grained control over which tables can be accessed
- Adds PII masking to protect sensitive data
Cons
- Limited adoption with only 6 GitHub stars
- Requires setup and configuration of guardrails
- May add latency to AI agent workflows
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Prevents accidental writes or destructive queries
- Allows fine-grained control over which tables can be accessed
- Adds PII masking to protect sensitive data
Cons
- Limited adoption with only 6 GitHub stars
- Requires setup and configuration of guardrails
- May add latency to AI agent workflows
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.