Mcp Db — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Db (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
这是一个MCP (Model Context Protocol) 服务器,允许GPT-4等AI模型查询本地PostgreSQL数据库。
npm installcp .env.example .env.env 文件,配置你的PostgreSQL连接信息:DB_HOST=localhost
DB_PORT=5432
DB_NAME=your_database_name
DB_USER=your_username
DB_PASSWORD=your_passwordnpm run devnpm run build
npm start在Claude Desktop的配置文件中添加以下配置:
{
"mcpServers": {
"postgres": {
"command": "node",
"args": ["/path/to/your/project/index.js"],
"env": {
"DB_HOST": "localhost",
"DB_PORT": "5432",
"DB_NAME": "your_database_name",
"DB_USER": "your_username",
"DB_PASSWORD": "your_password"
}
}
}
}执行SQL查询
query: SQL查询语句params: 可选的查询参数数组列出数据库中的所有表
获取指定表的结构信息
table_name: 表名一旦配置完成,你可以在Claude中使用以下命令:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.