Skip to main content
Glama

PostgreSQL MCP Server

AGPL 3.0
582
99
  • Linux
  • Apple

pg_analyze_database

Analyze PostgreSQL database configuration, performance, and security to optimize database settings and identify potential issues for improved efficiency.

Instructions

Analyze PostgreSQL database configuration and performance

Input Schema

NameRequiredDescriptionDefault
analysisTypeNoType of analysis to perform
connectionStringNoPostgreSQL connection string (optional if POSTGRES_CONNECTION_STRING environment variable or --connection-string CLI option is set)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "analysisType": { "description": "Type of analysis to perform", "enum": [ "configuration", "performance", "security" ], "type": "string" }, "connectionString": { "description": "PostgreSQL connection string (optional if POSTGRES_CONNECTION_STRING environment variable or --connection-string CLI option is set)", "type": "string" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HenkDz/postgresql-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server