<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Prebuilt Configs on MCP Toolbox for Databases</title><link>/integrations/cloud-sql-pg/prebuilt-configs/</link><description>Recent content in Prebuilt Configs on MCP Toolbox for Databases</description><generator>Hugo</generator><language>en</language><atom:link href="/integrations/cloud-sql-pg/prebuilt-configs/index.xml" rel="self" type="application/rss+xml"/><item><title>Cloud SQL for PostgreSQL</title><link>/integrations/cloud-sql-pg/prebuilt-configs/cloud-sql-for-postgresql/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/integrations/cloud-sql-pg/prebuilt-configs/cloud-sql-for-postgresql/</guid><description>&lt;h2 id="cloud-sql-for-postgresql">Cloud SQL for PostgreSQL&lt;/h2>
&lt;ul>
&lt;li>&lt;code>--prebuilt&lt;/code> value: &lt;code>cloud-sql-postgres&lt;/code>&lt;/li>
&lt;li>&lt;strong>Environment Variables:&lt;/strong>
&lt;ul>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_PROJECT&lt;/code>: The GCP project ID.&lt;/li>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_REGION&lt;/code>: The region of your Cloud SQL instance.&lt;/li>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_INSTANCE&lt;/code>: The ID of your Cloud SQL instance.&lt;/li>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_DATABASE&lt;/code>: The name of the database to connect to.&lt;/li>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_USER&lt;/code>: (Optional) The database username. Defaults to
IAM authentication if unspecified.&lt;/li>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_PASSWORD&lt;/code>: (Optional) The password for the database
user. Defaults to IAM authentication if unspecified.&lt;/li>
&lt;li>&lt;code>CLOUD_SQL_POSTGRES_IP_TYPE&lt;/code>: (Optional) The IP type i.e. &amp;ldquo;Public&amp;rdquo; or
&amp;ldquo;Private&amp;rdquo; (Default: Public).&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Permissions:&lt;/strong>
&lt;ul>
&lt;li>&lt;strong>Cloud SQL Client&lt;/strong> (&lt;code>roles/cloudsql.client&lt;/code>) to connect to the
instance.&lt;/li>
&lt;li>Database-level permissions (e.g., &lt;code>SELECT&lt;/code>, &lt;code>INSERT&lt;/code>) are required to
execute queries.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Tools:&lt;/strong>
&lt;ul>
&lt;li>&lt;code>execute_sql&lt;/code>: Executes a SQL query.&lt;/li>
&lt;li>&lt;code>list_tables&lt;/code>: Lists tables in the database.&lt;/li>
&lt;li>&lt;code>list_active_queries&lt;/code>: Lists ongoing queries.&lt;/li>
&lt;li>&lt;code>list_available_extensions&lt;/code>: Discover all PostgreSQL extensions available for installation.&lt;/li>
&lt;li>&lt;code>list_installed_extensions&lt;/code>: List all installed PostgreSQL extensions.&lt;/li>
&lt;li>&lt;code>long_running_transactions&lt;/code>: Identifies and lists database transactions that exceed a specified time limit.&lt;/li>
&lt;li>&lt;code>list_locks&lt;/code>: Identifies all locks held by active processes.&lt;/li>
&lt;li>&lt;code>replication_stats&lt;/code>: Lists each replica&amp;rsquo;s process ID and sync state.&lt;/li>
&lt;li>&lt;code>list_autovacuum_configurations&lt;/code>: Lists autovacuum configurations in the
database.&lt;/li>
&lt;li>&lt;code>list_memory_configurations&lt;/code>: Lists memory-related configurations in the
database.&lt;/li>
&lt;li>&lt;code>list_top_bloated_tables&lt;/code>: List top bloated tables in the database.&lt;/li>
&lt;li>&lt;code>list_replication_slots&lt;/code>: Lists replication slots in the database.&lt;/li>
&lt;li>&lt;code>list_invalid_indexes&lt;/code>: Lists invalid indexes in the database.&lt;/li>
&lt;li>&lt;code>get_query_plan&lt;/code>: Generate the execution plan of a statement.&lt;/li>
&lt;li>&lt;code>list_views&lt;/code>: Lists views in the database from pg_views with a default
limit of 50 rows. Returns schemaname, viewname and the ownername.&lt;/li>
&lt;li>&lt;code>list_schemas&lt;/code>: Lists schemas in the database.&lt;/li>
&lt;li>&lt;code>database_overview&lt;/code>: Fetches the current state of the PostgreSQL server.&lt;/li>
&lt;li>&lt;code>list_triggers&lt;/code>: Lists triggers in the database.&lt;/li>
&lt;li>&lt;code>list_indexes&lt;/code>: List available user indexes in a PostgreSQL database.&lt;/li>
&lt;li>&lt;code>list_sequences&lt;/code>: List sequences in a PostgreSQL database.&lt;/li>
&lt;li>&lt;code>list_query_stats&lt;/code>: Lists query statistics.&lt;/li>
&lt;li>&lt;code>get_column_cardinality&lt;/code>: Gets column cardinality.&lt;/li>
&lt;li>&lt;code>list_table_stats&lt;/code>: Lists table statistics.&lt;/li>
&lt;li>&lt;code>list_publication_tables&lt;/code>: List publication tables in a PostgreSQL database.&lt;/li>
&lt;li>&lt;code>list_tablespaces&lt;/code>: Lists tablespaces in the database.&lt;/li>
&lt;li>&lt;code>list_pg_settings&lt;/code>: List configuration parameters for the PostgreSQL server.&lt;/li>
&lt;li>&lt;code>list_database_stats&lt;/code>: Lists the key performance and activity statistics for
each database in the postgreSQL instance.&lt;/li>
&lt;li>&lt;code>list_roles&lt;/code>: Lists all the user-created roles in PostgreSQL database.&lt;/li>
&lt;li>&lt;code>list_stored_procedure&lt;/code>: Lists stored procedures.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul></description></item></channel></rss>