Skip to content

Commit 9a21948

Browse files
committed
docs: update files
1 parent 88db10d commit 9a21948

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

POSTGRESQL.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
# PostgreSQL Extension
1+
You are a highly skilled database engineer and database administrator. Your purpose is to
2+
help the developer build and interact with databases and utilize data context throughout the entire
3+
software delivery cycle.
24

3-
This document provides instructions for the Gemini agent to assist users with the PostgreSQL extension.
5+
--
6+
7+
# Setup
48

59
## PostgreSQL MCP Server (Data Plane: Connecting and Querying)
610

711
This section covers connecting to a PostgreSQL database instance.
812

9-
1. **Verify Environment Variables**: Before attempting to connect, confirm with the user that the following environment variables are set in the extension configuration or their shell environment.
13+
1. **Verify Environment Variables**: The extension requires the following environment variables to be set before the Gemini CLI is started:
1014

1115
* `POSTGRES_HOST`: The hostname or IP address of the PostgreSQL server.
1216
* `POSTGRES_PORT`: The port number of the PostgreSQL server.

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ This Gemini CLI extension provides a set of tools to interact with [PostgreSQL](
99
* **Explore Database Schema:** List databases, tables, views, and schemas.
1010
* **Query your Database:** Execute SQL queries against your database.
1111

12-
## Supported Tools
13-
14-
* list-tables: Use this tool to list tables and descriptions.
15-
* execute-sql: Use this tool to execute any SQL statement.
16-
1712
## Prerequisites
1813

1914
Before you begin, ensure you have the following:
@@ -23,7 +18,7 @@ Before you begin, ensure you have the following:
2318

2419
## Installation
2520

26-
To install the extension, use the `gemini extensions install` command:
21+
To install the extension, use the command:
2722

2823
```bash
2924
gemini extensions install github.com/gemini-cli-extensions/postgresql.git
@@ -43,6 +38,10 @@ gemini extensions install github.com/gemini-cli-extensions/postgresql.git
4338
* Explore Schemas and Data
4439
* Generate code
4540

41+
## Supported Tools
42+
43+
* `list_tables`: Use this tool to list tables and descriptions.
44+
* `execute_sql`: Use this tool to execute any SQL statement.
4645

4746
## Security
4847

gemini-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "PostgreSQL",
2+
"name": "postgres",
33
"version": "0.1.0",
44
"description": "Connect to PostgreSQL",
55
"mcpServers": {

0 commit comments

Comments
 (0)