Back to Home
hyperpolymath icon

poly-db-mcp

Verified Safe

by 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

Run Command
deno run --allow-net --allow-read --allow-write --allow-env --unstable-kv server.js

Environment 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

Stats

Interest Score31
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars1
Forks0
Last Update2026-01-17

Tags

mcpdatabasepolyglotdenorescriptsqlnosqlvector-database