Skip to main content
Glama
135,381 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, December 2026Ranked from 1,895 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"A server for PostgreSQL database management and queries" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to call tools through a security gateway that intercepts requests, enforces deterministic policy and risk checks, blocks or escalates high-risk actions for human approval, and keeps tool credentials and audit logs protected.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI agents with read-only access to a PostgreSQL database through fixed query tools and, for authorized agents, free SELECT on a PII-free view, with per-agent API keys, scopes, hardened SQL validation, audit logging, and Prometheus metrics.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Lets the owner of a Zetrix agentic wallet read, preflight and change that wallet's spending policy from their own agent, including deploying, updating and removing policies. Any change that loosens the policy is routed to an owner approval prompt before anything is paid or altered.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    This MCP server provides secure access to databases for AI agents, enforcing authentication, authorization, human approval, logging, and notifications to prevent dangerous actions.
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to query PostgreSQL databases securely with read-only defaults, PII masking, rate limiting, and human-approved, expiring mutation tokens.
    9
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides agent certification and trust verification tools for AI agents, enabling certification checks, trust score calculations, audit ticket issuance, and emergency kill switch activation through the A-SOC trust network.
    1 npm
    1
    -
  • A
    license
    A
    quality
    B
    maintenance
    No-code LLM red teaming and prompt injection testing for chatbots and AI agents, for small businesses and Make, n8n, Voiceflow builders. 12 attack levels (fake manager, prompt injection, phishing, invented prices, AI Act Art. 50), A-F grade, ready-to-paste prompt fixes. Prompt mode needs no deployment; live mode tests webhooks and OpenAI-compatible bots. Endpoint: app.botarmor.eu/mcp
    4
    511 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A policy layer between ChatGPT and the official Codex MCP server, adding safety controls like read-only sessions, approval policies, and secret scanning for secure daily use.
    8
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to use secrets without exposing them, by injecting values into commands and redacting them from all outputs and transcripts.
    13 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Secret management MCP server for AI coding agents that prevents secrets from entering the LLM context window by returning metadata only and using side-channel injection. Integrates with Bitwarden and offers hooks for auto-capture and leak prevention.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a three-layer payment firewall for AI agents, enabling identity verification, risk screening, and execution authorization with on-chain policy enforcement for secure and auditable transactions.
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to collect and manage credentials through inline masked password prompts and a side-pane manager, keep raw values isolated from model context, and inject them into subprocesses with output redaction.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Inspect SQLite and PostgreSQL schemas, trace foreign-key relationships, profile data quality, and run bounded read-only SQL. DataPilot generates tools for individual tables and applies row limits and query timeouts.
    2
    12
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to securely use real secrets (API keys, database passwords) by requiring human approval for each release, ensuring secrets never enter the model's context.
    2
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Deterministic LIFO rollback, pre-flight blast-radius gates, net-zero Stripe holds, and a 60-second outbound Slack/Email airlock proxy for AI agents across PostgreSQL, Stripe, S3, and GitHub.
    2
    16
    1
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    Exposes TELOS governance primitives—action scoring, receipt verification, Purpose Anchor inspection, audit-chain queries, and CCRS counterfactual replay—as MCP tools, resources, and prompts for any MCP-compatible client.
    5
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    SQLGuardLLM is an open-source SQL firewall and MCP server for AI agents and LLM-powered applications. It provides AST-based SQL validation, query rewriting, row-level security, table and column access controls, read-only database access, and audit logging. Designed to mitigate SQL injection and unauthorized database access in Text-to-SQL workflows. Compatible with MCP clients and distributed throu
    4
    9
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to answer business questions from a company database through shared semantic-layer metrics and guarded read-only SQL, with audit logging and layered protections against unsafe queries.
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Wundervault zero-knowledge secret management. Lets AI Agents use secrets via the Model Context Protocol — secrets are decrypted using a broker that runs on your local computer on a protected account that your agent cannot access the plaintext.
    15
    745 npm
    2
    AGPL 3.0
  • F
    license
    A
    quality
    D
    maintenance
    Encrypted token store for Claude Code sessions, providing MCP tools for secure secret management with macOS Keychain integration, per-project allowlists, and native dialog input.
    6
    16 npm
    6
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables MCP clients to discover and call installed Tencent Cloud SDK services through a deny-by-default, audited gateway, including DLC SQL and WeData workflows with human approval for mutations. It also provides knowledge management, audit-policy visibility, and embedded observability via Grafana and Loki.
    11
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to safely query and modify Postgres through scoped identities, database-enforced row locks, PII masking, human-approved writes, and a tamper-evident audit ledger.
    6
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLMs to run read-only queries against MySQL and PostgreSQL while detecting and masking PII in columns, values, and JSON/text fields before results reach the model.
    4
    48 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables agents to validate, explain, and gate SQL statements against a supplied schema before execution, returning safe/review/blocked verdicts, issue codes, and fix suggestions. It acts as a pre-execution go/no-go guard and composes with database access servers.
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Security-enforcing MCP proxy that sits between an AI agent and any number of downstream MCP servers, intercepting every tool call through a capability-token policy gateway that can allow, deny, or escalate to human approval before the call reaches any real tool. It also exposes built-in operator tools for approval workflows, audit trail queries, token management, voice/HUD output, and hierarchical
    21
    15
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Mishmar is a risk management layer for trading bots and AI agents: every order is checked against your limits before it reaches the exchange, large orders wait for your approval, and no key can trade alone. Its MCP server lets a model propose orders on Hyperliquid and Binance and read positions, PnL and approvals, without ever seeing a key.
    10
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    A deliberately small MCP server that demonstrates security hardening against the OWASP MCP Top 10 with tools for file search, record queries, and document fetching, each defended against path traversal, SQL injection, and SSRF.
    4
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A deliberately insecure note management server designed to test security scanners and train developers by demonstrating common MCP vulnerabilities. It provides tools for creating, searching, and exporting notes while featuring intentional flaws like prompt injection and data leakage.
    11
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides governed, read-only PostgreSQL access for AI agents via MCP. Enforces schema/table allowlists, query limits, and audit events.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    SQL guardrails for AI agents, sitting between the agent and Postgres to enforce policies, block destructive queries, and audit all access.
    7
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Human-in-the-Loop authorization gateway for AI Agents. Securely pause MCP workflows and route high-risk actions to human approvers via Slack or Email.
    52 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Let LLMs analyze sensitive data safely by querying a tokenized, join-preserving copy of the database, with fail-closed PII scanning and provable numeric equivalence.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Lets Claude Code and other MCP clients read and propose changes against a live 1C:Enterprise 8.3 OData database, replacing INN, account, phone, and org/person names with deterministic tokens before any data reaches the model's context. Writes are prepared as token-only previews and only executed after explicit human confirmation, with a leak guard ensuring protected values never surface in responses, errors, or logs.
    10
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A pre-action authorization server for AI agents that classifies tool calls into 14 intent categories, scores risk 0-100, and produces deterministic allow/deny/ask decisions with full audit trail.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Lets a coding agent check a dependency or lockfile before adding it, tracing the exact chain by which a compromised package, maintainer account, or unpinned MCP server could reach the project. It answers supply-chain questions against a FalkorDB graph of npm, PyPI, and AI-tool MCP configs, showing the queries and evidence behind each result.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLM clients to read and modify MS-SQL, PostgreSQL, MySQL/MariaDB and SQLite databases through 38 MCP tools, with every table, view, function and procedure gated by explicit permission rules that deny by default. Ships with a desktop GUI for authoring rules, approving destructive operations and auditing what the model did.
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for agent-native secrets management that stores encrypted secrets with AES-256-GCM, issues short-lived scoped tokens, and injects secrets into requests server-side so agents never handle plaintext credentials.
    45 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to run PostgreSQL SQL through a controlled MCP gateway that blocks destructive commands, holds risky writes for human approval, records changed rows, and supports undoing applied writes including cascades.
    30 PyPI
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agent sessions to reach a database through MCP with per-session, human-approved access grants, exclusive leased pool credentials, and revocable, auditable operations. It can be deployed locally or remotely with passkey-verified session administration.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Secrets management MCP server that injects credentials into API requests for AI agents, enforcing policies and logging all activity without exposing raw keys.
    50 npm
    30
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to query a database through a small non-SQL DSL, restricted per person by a scope file that hides out-of-scope tables and fields and caps result limits. Writes happen in two steps, returning a before/after preview plus a short-lived single-use token that only applies after human approval, and every call is recorded to a JSONL audit trail without sensitive values.
    PolyForm Noncommercial 1.0.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A default-deny SQL firewall sidecar for AI agents that enforces per-agent policies on database queries, provides safe rewrites, and maintains a tamper-evident audit chain.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for DemiPass secrets management, enabling AI agents to securely store, rotate, and use credentials without exposing them in context windows.
    102 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    This MCP server lets an AI agent query a Postgres database freely while routing every write to a human approver on Telegram with the exact SQL, parameters and reason, so changes only run after an explicit Approve tap and never on timeout or rejection. All decisions are recorded in an append-only audit log.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI clients to inspect schemas and run guarded, single-statement read-only SQL against SQLite, MySQL, and PostgreSQL, with enforced row limits, engine-level read-only sessions, and JSONL audit logging.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides a governance proxy layer for MCP servers, enforcing per-tool allowlists, human approval for write operations, quotas, secret redaction, and a hash-chained audit log of all calls.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables SQL query sanitization by rewriting queries at the AST level to prevent PII/PHI exposure, acting as a proxy between AI agents and PostgreSQL databases.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a security and context-control layer that multiplexes multiple MCP servers behind a single endpoint, scanning tool definitions and results, enforcing authorization, rate limiting, and audit logging, and dynamically retrieving tools to manage context window usage.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP agents to rehearse risky database plans on a no-network clone, measure blast radius and guardrail violations, and apply only approved plans to production when the rehearsal matches.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for ClawVault - an AI agent payment security layer that enables Claude to request payments, check limits, and manage transactions with configurable rules.
    MIT