PostgreSQL CVE & Release Intelligence
v2.0.1PostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths
Values you need
| Variable | What it is | |
|---|---|---|
PG_CVE_MCP_TTL | optional | Cache TTL in seconds for CVE data refresh (default: 86400) |
PG_CVE_MCP_DATA_URL | optional | URL of the PostgreSQL CVE JSON data (default: PG_CVE GitHub Pages) |
PG_CVE_MCP_ALLOWED_HOSTS | optional | Comma-separated allowed Host headers for Streamable HTTP (default: *, no restriction) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add pg-cve-mcp -- uvx pg-cve-mcp==2.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"pg-cve-mcp": {
"args": [
"pg-cve-mcp==2.0.1"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"pg-cve-mcp": {
"args": [
"pg-cve-mcp==2.0.1"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"pg-cve-mcp": {
"args": [
"pg-cve-mcp==2.0.1"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.pg-cve-mcp]
command = "uvx"
args = ["pg-cve-mcp==2.0.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_cves, compare_versions, get_upgrade_path, get_exploits, get_summary.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json