Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
Databases #TypeScript#混合部署#MIT

postgres-schema-mcp

Provides an AI agent with read-only PostgreSQL access, enabling schema browsing, foreign-key exploration, column search across tables, capped SELECT queries, and offline data dictionary export while rejecting write operations.

Databases npm 0 platforms 0 features

Install

npx -y postgres-schema-mcp

Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.

{
  "mcpServers": {
    "postgres-schema-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "postgres-schema-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "PGSM_MAX_POOL": "<PGSM_MAX_POOL>",
        "PGSM_MAX_ROWS": "<PGSM_MAX_ROWS>",
        "PGSM_HTTP_HOST": "<PGSM_HTTP_HOST>",
        "PGSM_HTTP_PORT": "<PGSM_HTTP_PORT>",
        "PGSM_MAX_BYTES": "<PGSM_MAX_BYTES>",
        "PGSM_TOKENS_FILE": "<PGSM_TOKENS_FILE>",
        "PGSM_REDACT_PATTERN": "<PGSM_REDACT_PATTERN>"
      }
    }
  }
}

Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.

Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。