加载中…
Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions
PostgreSQL Performance (read-only) 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 78/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 PostgreSQL Performance (read-only) 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
docker run -i --rm ghcr.io/gouranshul/pg-perf-mcp:0.1.0运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-10T13:42:12.172523Z",
"publishedAt": "2026-10-10T13:42:12.172523Z",
"statusChangedAt": "2026-10-10T13:42:12.172523Z"
}
},
"server": {
"name": "io.github.gouranshul/pg-perf-mcp",
"title": "PostgreSQL Performance (read-only)",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.1.0",
"packages": [
{
"transport": {
"url": "http://localhost:8080/mcp",
"type": "streamable-http",
"headers": [
{
"name": "Authorization",
"value": "Bearer {api_key}",
"isSecret": true,
"variables": {
"api_key": {
"isSecret": true,
"isRequired": true,
"description": "The value you set for MCP_API_KEY"
}
},
"isRequired": true,
"description": "The same API key as MCP_API_KEY, sent as a bearer token"
}
]
},
"identifier": "ghcr.io/gouranshul/pg-perf-mcp:0.1.0",
"registryType": "oci",
"runtimeArguments": [
{
"name": "-p",
"type": "named",
"value": "127.0.0.1:8080:8080",
"description": "Publish the MCP endpoint on localhost only"
}
],
"environmentVariables": [
{
"name": "PGPERF_DB_URL",
"isRequired": true,
"description": "JDBC URL of the database to diagnose. From inside the container, use host.docker.internal for a database on your machine, e.g. jdbc:postgresql://host.docker.internal:5432/mydb"
},
{
"name": "PGPERF_DB_USER",
"default": "mcp_readonly",
"isRequired": true,
"description": "A read-only role with pg_read_all_stats and pg_monitor (see docker/init.sql)"
},
{
"name": "PGPERF_DB_PASSWORD",
"isSecret": true,
"isRequired": true,
"description": "Password of that role"
},
{
"name": "MCP_API_KEY",
"isSecret": true,
"isRequired": true,
"description": "Bearer token clients must send, at least 16 characters (32+ random recommended)"
}
]
}
],
"repository": {
"url": "https://github.com/gouranshul/pg-perf-mcp",
"source": "github"
},
"websiteUrl": "https://github.com/gouranshul/pg-perf-mcp#readme",
"description": "Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions"
}
}