mcp-postgres
v0.4.1Apono MCP server for PostgreSQL databases with JIT credential support
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_databases
List all databases on the PostgreSQL server.
execute
Execute a SQL statement. Use this for every statement, including SELECT.
| Parameter | Type | Description |
|---|---|---|
database * | string | The database to execute against |
sql * | string | The SQL statement to execute |
list_schemas
List all schemas in the database.
| Parameter | Type | Description |
|---|---|---|
database * | string | The database to inspect |
list_tables
List all tables in a schema.
| Parameter | Type | Description |
|---|---|---|
database * | string | The database to inspect |
schema | string | The schema to list tables from |
describe_table
Get column names, types, constraints, and indexes for a table.
| Parameter | Type | Description |
|---|---|---|
database * | string | The database to inspect |
table * | string | The table name |
schema | string | The schema the table belongs to |
list_extensions
List installed PostgreSQL extensions.
| Parameter | Type | Description |
|---|---|---|
database * | string | The database to inspect |
get_table_indexes
List indexes on a specific table.
| Parameter | Type | Description |
|---|---|---|
database * | string | The database to inspect |
table * | string | The table name |
schema | string | The schema the table belongs to |