Skip to main content
Glama
itsalfredakku

Postgres MCP Server

indexes

Manage PostgreSQL database indexes by listing, creating, dropping, analyzing usage, rebuilding, and identifying unused indexes to optimize query performance.

Instructions

Index management: list, create, drop indexes and analyze index usage

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction: list (all indexes), create (new index), drop (remove index), analyze (index statistics), reindex (rebuild index), unused (find unused indexes)
columnsNoColumn names for index (required for create)
indexNameNoIndex name (required for drop, reindex)
optionsNoIndex creation options
schemaNameNoSchema name (default: public)public
tableNameNoTable name (required for create, list by table)

Latest Blog Posts

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/itsalfredakku/postgres-mcp'

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