oracle.oci-postgresql-runtime-mcp-server

v1.1.0
oracle.oci-postgresql-runtime-mcp-server Checked 2 days ago Published 1 day ago

PostgreSQL runtime MCP server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_runtime_info

Returns non-secret PostgreSQL runtime MCP source and environment metadata.

list_connections

Lists configured PostgreSQL connection profiles loaded at server startup from POSTGRESQL_MCP_CONFIG or local_config.json.

test_connection

Tests a PostgreSQL runtime connection using a configured connection_name.

ParameterTypeDescription
connection_name *stringConfigured PostgreSQL connection profile name loaded from POSTGRESQL_MCP_CONFIG or local_config.json.

list_schemas

Lists a bounded page of visible PostgreSQL schemas. Follow next_cursor to continue.

ParameterTypeDescription
connection_name *stringConfigured PostgreSQL connection profile name.
cursorLast returned [schema] from next_cursor; repeat the same connection and filters.
include_systembooleanInclude PostgreSQL system schemas when true.
limitintegerMaximum number of schemas to return (1-1000).

list_tables

Lists a bounded page of PostgreSQL tables and views with auto, summary, or full metadata. Without schemas or table_refs, inspects all visible schemas in the connected database except information_schema and schemas whose names start with pg_. System schemas can be selected explicitly through schemas or table_refs. Auto mode returns full column metadata for up to 100 matched objects, then falls back to summary metadata. Follow next_cursor to continue.

ParameterTypeDescription
connection_name *stringConfigured PostgreSQL connection profile name loaded from POSTGRESQL_MCP_CONFIG or local_config.json.
auto_full_limitintegerWhen detail is auto, return full metadata only when the matched table/view count is at or below this limit.
cursorLast returned [schema, table] from next_cursor; repeat the same connection and filters.
detailstringMetadata depth to return: auto, summary, or full.
include_viewsbooleanInclude views alongside base tables when true.
limitintegerMaximum number of tables or views to return (1-1000).
schemasExact schema names to inspect. Mutually exclusive with table_refs. If neither filter is supplied, inspects all visible schemas in the connected database except information_schema and schemas whose nam…
table_refsExact table or view references to inspect, each with schema and name. Mutually exclusive with schemas. Explicit references may include system schemas.

execute_query

Executes read-only PostgreSQL SQL using the supplied connection profile. Use params for parameterized queries.

ParameterTypeDescription
connection_name *stringConfigured PostgreSQL connection profile name loaded from POSTGRESQL_MCP_CONFIG or local_config.json.
sql *stringSQL statement or semicolon-separated statements to execute.
max_rowsintegerMaximum number of result rows to return for result sets (1-10000).
paramsOptional bind parameters. Use a flat list for one statement and one nested bind list per statement for multi-statement SQL.