pg-cve-mcp
Provides tools for querying PostgreSQL CVEs, version status, upgrade paths, and exploits for any PostgreSQL version.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pg-cve-mcpWhat CVEs affect PostgreSQL 16.4?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pg-cve-mcp — PostgreSQL CVE & Release Intelligence MCP Server
Query CVEs, yanked releases, known exploits, and upgrade paths for any PostgreSQL version directly from your AI assistant.
Quick Start
pip install pg-cve-mcp
pg-cve-mcpOr with npx (no install):
npx -y pg-cve-mcpRelated MCP server: MCP PostgreSQL Operations
MCP Tools
Tool | Description |
| List all CVEs affecting a specific PostgreSQL version |
| EOL, yanked, CVE count, max CVSS, exploit count |
| Side-by-side CVE comparison between two versions |
| Recommended upgrade target with fixed CVEs |
| All releases flagged as bad/regression |
| All CVEs with known public exploits |
| Latest minor in a given major branch |
| Overview of the tracked CVE database |
Remote (Hosted) Server
A remote deployment is available at:
https://pgcve-mcp-production.up.railway.app/mcpThis uses the Streamable HTTP transport. Configure any MCP client with this URL, for example in opencode.json:
{
"mcp": {
"pg-cve-mcp": {
"type": "remote",
"url": "https://pgcve-mcp-production.up.railway.app/mcp"
}
}
}Local stdio fallback
To run the server locally in stdio mode (for clients that only support stdio):
pip install -e .
pg-cve-mcpConfiguration
Env Var | Default | Description |
|
| Cache TTL in seconds for CVE data |
|
| CVE data source URL |
|
| HTTP port for the Streamable HTTP server |
Development
Run the Streamable HTTP server locally:
python run_server.py
# Server listens on http://127.0.0.1:8000/mcpRun tests:
python -m pytestData Source
Data is fetched from the PG_CVE project's GitHub Pages with local caching. Falls back to a bundled copy if the network is unavailable.
Example Prompts
"What CVEs affect PostgreSQL 16.4?"
"Is PostgreSQL 15.8 safe to use?"
"Compare CVEs in 16.3 vs 16.4"
"What's the upgrade path from PostgreSQL 14.10?"
License
Apache 2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to interact with PostgreSQL databases using natural language queries, providing secure read-only access to database schemas and SQL translation capabilities.Last updated627
- AlicenseAqualityBmaintenanceEnables comprehensive PostgreSQL database monitoring, analysis, and management through natural language queries. Provides performance insights, bloat analysis, vacuum monitoring, and intelligent maintenance recommendations across PostgreSQL versions 12-17.Last updated34155MIT
- Alicense-qualityFmaintenanceEnables AI assistants to safely explore, analyze, and maintain PostgreSQL databases with read-only mode by default, SQL injection prevention, query performance analysis, and optional write operations.Last updated98Apache 2.0
- Flicense-qualityDmaintenanceEnables AI assistants to interact with PostgreSQL databases through natural language queries, schema inspection, and safe SQL execution.Last updated171
Related MCP Connectors
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/meob/PG_CVE-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server