Skip to content

Commit e5c54af

Browse files
committed
feat: add Configuration settings
1 parent b4e9440 commit e5c54af

1 file changed

Lines changed: 41 additions & 10 deletions

File tree

gemini-extension.json

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "cloud-sql-postgresql",
3-
"version": "0.1.3",
2+
"name": "cloud-sql-postgresql2",
3+
"version": "0.1.4",
44
"description": "Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.",
55
"mcpServers": {
66
"cloud_sql_postgresql_admin": {
@@ -17,14 +17,45 @@
1717
"--prebuilt",
1818
"cloud-sql-postgres",
1919
"--stdio"
20-
],
21-
"env": {
22-
"CLOUD_SQL_POSTGRESQL_PROJECT": "${CLOUD_SQL_POSTGRESQL_PROJECT}",
23-
"CLOUD_SQL_POSTGRESQL_REGION": "${CLOUD_SQL_POSTGRESQL_REGION}",
24-
"CLOUD_SQL_POSTGRESQL_INSTANCE": "${CLOUD_SQL_POSTGRESQL_INSTANCE}",
25-
"CLOUD_SQL_POSTGRESQL_DATABASE": "${CLOUD_SQL_POSTGRESQL_DATABASE}"
26-
}
20+
]
2721
}
2822
},
29-
"contextFileName": "CLOUD-SQL-POSTGRESQL.md"
23+
"contextFileName": "CLOUD-SQL-POSTGRESQL.md",
24+
"settings": [
25+
{
26+
"name": "Project ID",
27+
"description": "ID of the Google Cloud project",
28+
"envVar": "CLOUD_SQL_POSTGRES_PROJECT"
29+
},
30+
{
31+
"name": "Region",
32+
"description": "Region of the Cloud SQL instance",
33+
"envVar": "CLOUD_SQL_POSTGRES_REGION"
34+
},
35+
{
36+
"name": "Instance ID",
37+
"description": "ID of the Cloud SQL instance",
38+
"envVar": "CLOUD_SQL_POSTGRES_INSTANCE"
39+
},
40+
{
41+
"name": "Database Name",
42+
"description": "Name of the database",
43+
"envVar": "CLOUD_SQL_POSTGRES_DATABASE"
44+
},
45+
{
46+
"name": "User",
47+
"description": "(Optional) Username of the database user",
48+
"envVar": "CLOUD_SQL_POSTGRES_USER"
49+
},
50+
{
51+
"name": "Password",
52+
"description": "(Optional) Password of the database user",
53+
"envVar": "CLOUD_SQL_POSTGRES_PASSWORD"
54+
},
55+
{
56+
"name": "IP Type",
57+
"description": "(Optional) Type of the IP address (PUBLIC or PRIVATE)",
58+
"envVar": "CLOUD_SQL_POSTGRES_IP_TYPE"
59+
}
60+
]
3061
}

0 commit comments

Comments
 (0)