Skip to content
All MCP servers

MCP Server

PostgreSQL

Point Niyra at any Postgres database (read-only by default) and ask questions in plain English. She introspects the schema, writes the SQL, and explains the results.

npm packageData & DatabasesFeaturedNeeds 1 keypostgres · vlatest

What Niyra can do with PostgreSQL

  • Read-only SQL queries
  • Schema introspection
  • Explain query results
  • Aggregate + summarize data

Try saying this to Niyra

What were our top 5 customers by revenue last month?

Describe the orders table.

How many active subscriptions do we have?

Setup

Install

npx -y @modelcontextprotocol/server-postgres

In Niyra: Integrations → Add MCP Server → Marketplace.

Required credentials

  • DATABASE_URLrequiredsecretPostgres connection string

Any keys you provide are encrypted at rest and never exposed to the model. You can disable or remove an MCP server anytime from Settings → Integrations, and Niyra always asks before destructive actions.

FAQ

How do I connect PostgreSQL to Niyra?
Open Niyra → Integrations → Add MCP Server. Find it in the Marketplace tab (or paste the server URL under Custom), authorize, and its tools appear in your next chat.
What is an MCP server?
Model Context Protocol (MCP) is the open standard for plugging tools into AI agents. An MCP server exposes a set of tools; Niyra discovers them at connect time and can call them on your behalf — no Niyra code change needed.
Do I need to run PostgreSQL myself?
It's a local/package server. Niyra spawns it on demand when a tool is needed; you only provide any required keys.
She knows you.

Related MCP servers

Supabase

Query and manage your Supabase Postgres database, auth, and storage from chat. Niyra runs read queries, inspects schemas, and (with approval) writes rows — no SQL console required.

ads

Manage Google, Meta, TikTok & LinkedIn ads. 91 tools for campaigns, analytics & optimization.

afgong sqlite server

Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…

Agent Einstein — Autonomous Crypto Intelligence

40 AI crypto tools: whale tracking, security scans, DeFi analytics, quantum security, and more.

analytics

Analytics for business data: upload CSV or connect GA4/GSC, run ML/stats, get HTML reports.

bielacki igdb server

Explore and discover video games from the Internet Game Database. Search titles, view detailed inf…

32+

Integrations

OAuth-first

5

Channels

Web, WhatsApp, Telegram, Discord, voice

100+

Native tools

Memory, voice, browser, automation

18

Skills

JIT-loaded per turn

WhatsAppOutbound callsInbox triageCalendar tetrisLong-term memoryAutomation

More to explore

For AI:.md.txt
PostgreSQL MCP Server — Niyra | Niyra