SafeDB MCP
A secure MCP server that lets AI agents query databases safely using SQL guardrails, table allowlists, PII masking, and audit logs. It supports Postgres, MySQL, MariaDB, and SQLite, providing read-only access with configurable safety policies like row limits and statement timeouts.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query databases safely with read-only SQL guardrails
- Mask PII data like emails and phone numbers
- Audit all database query attempts via JSONL logs
- Validate configuration and test database connections
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@safedb/safedb-mcp 0.5.0
{
"version": "0.5.0",
"transport": "stdio",
"identifier": "@safedb/safedb-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "YOUR_API_KEY",
"format": "string",
"isRequired": true,
"description": "Your API key for the service"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"safedb-mcp": {
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp@0.5.0"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Cline
{
"mcpServers": {
"safedb-mcp": {
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp@0.5.0"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}VS Code
{
"servers": {
"safedb-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp@0.5.0"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"safedb-mcp": {
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp@0.5.0"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Let your agent find its tools
Find servers like SafeDB MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.