Skip to main content
Glama
130,710 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,766 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"How to perform SELECT queries in PostgreSQL" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    B
    maintenance
    Enables an AI agent to check whether contracts are covered by ERC-7730 descriptors, preview how transactions and typed-data signatures would appear to a person, and simulate execution outcomes before signing, without holding keys or submitting transactions.
    4
    MIT
  • 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
    A
    quality
    C
    maintenance
    Enables agents to reuse a human-completed Chrome login session to open confirmed origins, read visible page text, and perform single click, fill, or key press actions without ever handling passwords or exposing cookies.
    6
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Checks how long ago a package version was published and returns the newest version older than a minimum age (3 days by default), so an agent avoids brand new releases when adding dependencies. Also checks lockfiles across 15 ecosystems; read-only.
    3
    44 PyPI
    MIT
  • 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
    57 npm
    1
    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
    16
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Publishes deliberately malicious, demo-only MCP tooling that impersonates a security scanner and a joke assistant to show how tool responses can coax an LLM into leaking environment secrets, config files, and project context through tool parameters. It also chains its tools to gradually escalate data collection, serving as a hands-on lab for studying exfiltration and prompt-injection risks.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for locally masking personal data in documents before sending them to a language model, then restoring the original data in the model's response.
    6
    24
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables coding agents to perform advisory runtime safety checks by inspecting proposed file paths and shell commands, tracking caller budgets, detecting repeated actions, and masking common credentials in output without executing commands or opening target files.
    4
    GPL 3.0
  • F
    license
    B
    quality
    A
    maintenance
    Enables AI agents to list, describe, and invoke scoped capabilities so they can perform brokered HTTP or SSH operations without ever receiving the underlying credential. All uses are deny-by-default, revocable, expiring, and recorded in a hash-chained audit log.
    3
    1
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables masking of API keys, credentials, and personal data in text before it is sent to an LLM, then restoring the original values afterward. Provides mask, scan, and restore tools (plus CLI use in terminals and CI) with checksum-validated detection and in-memory, time-limited placeholder mappings.
    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
    C
    maintenance
    Policy enforcement gateway for MCP tool calls, evaluating every tool invocation against declarative YAML policies (allow/deny/escalate-to-human), generating cryptographic hash-chained audit receipts, and including built-in content safety scanning.
    2
    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.
    6
    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.
    66 npm
    1
    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
    Enables AI agents to be governed by formal Gentzen sequent calculus proof trees, with human-in-the-loop approval gates and cryptographic audit trails for consequential actions.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to securely perform privileged actions like creating GitHub issues by minting short-lived, single-purpose tokens on demand, with policy enforcement and audit logging.
    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.
    Apache 2.0
  • 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.
    95 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to submit PLC write requests through an interlock layer that checks live plant state, process policy, and predicted consequences before allowing, blocking, or requiring operator approval, while logging every decision in a hash-chained audit trail.
    Apache 2.0
  • 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
    C
    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
    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
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enforces safety and governance for SQL queries executed by AI agents, providing read-only enforcement, cost estimation, and audit trails.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables a constrained subagent to perform foreground GUI actions on Hyprland—observing, focusing windows, clicking, typing, scrolling, dragging, and managing the clipboard—under per-action approval with lease, audit log, and kill-switch gating.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to call backend tools under per-agent policy, deciding which tools each agent can see, what arguments it may pass, how often it may call, and which writes wait for human approval. It also redacts secrets and PII from tool results, fences untrusted output against injection, and records every call in a hash-chained audit log.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables autonomous agents to run shell and subprocess commands through a guardrail that blocks destructive system mutations, path traversals, and reverse shells. It also adds prompt-injection detection, spend circuit breakers, loop detection, and privacy sanitization so agent execution stays within safe, budgeted bounds.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A drop-in proxy that guards MCP servers with policy enforcement, secret redaction, prompt-injection screening, rug-pull detection, rate limiting, and audit logging.
    4 npm
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Zero-dependency local proxy that wraps any MCP server to redact secrets, strip hidden-Unicode prompt injection, and block writes to protected paths like ~/.ssh and .env.
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI clients to query controlled credential metadata, perform batch CRUD, and fill credentials into focused Windows fields or UTF-8 files by reference, without exposing secret values.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables autonomous agents to enforce financial guardrails by tracking real-time token burn and cost velocity, automatically throttling or freezing execution when budgets are exceeded. It also blocks destructive shell commands, prompt injections, and runaway planning loops while sanitizing outputs before they are returned.
    7
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to securely use API keys by storing them in an encrypted vault and injecting them on demand with user approval, without exposing the key values to the model.
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Sits in front of any MCP server to enforce allow/ask/block policies on tool calls, paths, shell commands, and network domains, with local approval prompts and an audit log.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables coding assistants to perform real-time security auditing of MCP servers and AI agents, including code security scanning, prompt-injection fuzzing, and verification badge generation.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that brokers access to secrets for coding agents, enabling them to perform operations like database queries and CLI commands without ever reading the underlying values.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to perform read-only pre-install checks for npm, pip, uv, npx, and uvx targets or MCP servers, returning known install traps, tested fixes, warnings, malicious-package denials, or no known issues. It also supports searching tested recipes and reporting leaf packages.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Security scanner and trust verification layer for MCP ecosystem, enabling users to scan PyPI packages and GitHub repos for secrets, dangerous patterns, and prompt injection vectors, and compare security scores.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a secure MCP gateway for AI agents to access APIs without exposing raw credentials, with scoped access, audit logging, and OAuth support.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enforces authenticated identity on every tool call and SSE frame, rotates vaulted credentials in place, and restricts tools via allowlists.
    71 npm
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables LLMs to propose UPDATE/DELETE SQL that is run in a transaction, measured, and rolled back, requiring human approval before applying to prevent unauthorized changes.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables secure MCP traffic by filtering threats with a 3-stage detection pipeline, applying RBAC policies, and redacting sensitive data in real-time via an SSE-inspecting proxy.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that measures how effectively hashing tool definitions detects unauthorized changes, evaluating 20 policies across field sets and canonicalization methods. It demonstrates that approval-dialog-based pins miss most attacks, with structural/semantic normalization being free but text folding trading detection for fewer false alarms.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to safely query PostgreSQL by intercepting and auditing every generated SQL statement before it reaches the database, blocking destructive commands like DROP/TRUNCATE, unbounded DELETE/UPDATE statements, stacked queries, and SQL injection probes. It exposes tools for validating query safety and enforcing a strict read-only (SELECT/EXPLAIN) policy.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Scans text and files for common secrets (AWS, GitHub, etc.) and redacts them to prevent credential leakage in AI-assisted development. Runs entirely locally with no telemetry.
    18 PyPI
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to perform browser automation through DOM element references while enforcing credential-safe guardrails, including out-of-band OS confirmation for risky actions and effect-based write interception. It supports task contracts, cross-domain taint tracking, and HMAC/SHA-256 audit logs for verifiable, privilege-separated deployments.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Screens text for PHI/PII, classifies it, redacts sensitive content, and routes it to approved model tiers based on a declarative policy, with built-in evaluation metrics.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to request passwords, API keys, passkeys, and other secrets from a person through one-time links encrypted in the browser, then store them in a local vault the agent can use without ever seeing them. Secrets can be referenced in commands and outputs are redacted, so agents can sign in or call APIs without exposing credentials in chat.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables synthesizing tight JSON authorization policies from historical agent tool-call audit logs, flagging over-permissioned wildcard grants and quantifying how much the attack surface shrinks. It also validates individual actions against the resulting guardrails to block privilege escalation.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to perform human-authorized, fully auditable GUI actions — clicking, typing, and window operations — on a local Windows desktop, gated by time- and count-limited leases that are denied by default until a person signs off in a popup. Every action is bound to a fresh screen capture, leaves screenshot-based evidence and decision logs on the local machine, and can be halted instantly via a panel button, hotkey, or kill-switch file.
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables teams to govern which MCP tools agents can use, what they can do, and how it’s audited by onboarding remote MCP servers, setting credential modes and function-level allow lists, and exposing permitted MCP configurations through a unified endpoint with search and execute.
    MIT