Skip to main content
Glama

MCP PostgreSQL Server

list_tables

Retrieve a list of tables within a PostgreSQL database using schema name. Ideal for inspecting and managing database structures efficiently.

Instructions

List tables in the database

Input Schema

NameRequiredDescriptionDefault
schemaNoSchema name (default: public)

Input Schema (JSON Schema)

{ "properties": { "schema": { "description": "Schema name (default: public)", "type": "string" } }, "required": [], "type": "object" }

Other Tools from MCP PostgreSQL Server

Related Tools

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

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