# MCP PostgreSQL Secure Query Server

> Use this tool when you need to securely access and query PostgreSQL databases, executing controlled SELECT statements while preventing dangerous SQL commands. It solves problems related to data security and access control, providing a safe interface for AI agents to retrieve specific data. Ideal for use cases requiring read-only database access, such as data analysis or inventory management, with inputs including query parameters and outputs featuring query results.

Canonical page: https://skillsregistry.net/skills/congdinh2008-chatbot-ai-mcp-demo  
JSON: https://api.skillsregistry.net/v1/skills/congdinh2008-chatbot-ai-mcp-demo

## Description

Provides secure, read-only PostgreSQL database access via MCP tools like query_inventory and get_top_sales. Blocks dangerous SQL commands while allowing AI to execute controlled SELECT queries.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-02

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/vpiocor5e3)
- **Repository:** <https://github.com/congdinh2008/chatbot-ai-mcp-demo>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "congdinh2008-chatbot-ai-mcp-demo"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/congdinh2008-chatbot-ai-mcp-demo` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/congdinh2008-chatbot-ai-mcp-demo/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
