poly-db-mcp
Verified Safeby hyperpolymath
Overview
Provides a unified Model Context Protocol (MCP) server for querying and managing over 20 diverse databases (SQL, NoSQL, Vector, Cache) through a single natural language interface.
Installation
deno run --allow-net --allow-read --allow-write --allow-env --unstable-kv server.jsEnvironment Variables
- POSTGRES_HOST
- POSTGRES_PORT
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DATABASE
- MONGODB_URL
- REDIS_URL
- NEO4J_URL
- NEO4J_USER
- NEO4J_PASSWORD
- PORT
- HOST
- MCP_HTTP_MODE
Security Notes
The server leverages Deno's secure runtime with explicit permission grants (`--allow-net`, `--allow-read`, `--allow-write`, `--allow-env`), avoiding `--allow-run` to prevent shell execution vulnerabilities. It actively tests against hardcoded credentials in adapters and enforces environment variable-based configuration for sensitive data. A comprehensive `SECURITY.md` outlines robust vulnerability reporting and disclosure policies, including a 'Safe Harbour' for researchers. The `PROVEN-INTEGRATION.md` indicates a plan to integrate formally verified modules for SQL injection prevention and schema validation, demonstrating a proactive approach to security by design. Pre-commit hooks for GitHub Actions also enforce security best practices for workflows. The primary security boundary for data access relies on the user's configuration of database authentication, which is a common and necessary practice.
Similar Servers
db-mcp-server
Provides AI assistants with structured access to multiple database systems (MySQL, PostgreSQL, SQLite, TimescaleDB) through the Model Context Protocol (MCP).
DBchat
Transforms a database into an intelligent conversational partner, enabling natural language queries, instant answers, and data visualizations via MCP clients.
kdb-x-mcp-server
Enables natural language interaction and AI-powered querying of KDB-X and KDB+ databases through the Model Context Protocol (MCP).
emceepee
A proxy server enabling AI agents to dynamically connect to and interact with multiple Model Context Protocol (MCP) backend servers, exposing the full MCP protocol via a simplified tool interface or a sandboxed JavaScript execution environment.