Skip to content

Commit b09cc1d

Browse files
committed
fix: update server definition (input type 'password' -> 'text' for POSTGRES_URL; icon updated; doc URL fixed)
1 parent 914b469 commit b09cc1d

1 file changed

Lines changed: 22 additions & 13 deletions

File tree

servers/community.postgresql.json

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,57 @@
44
"name": "PostgreSQL",
55
"alias": "postgres",
66
"description": "Query PostgreSQL databases with read-only access. Execute SQL queries, inspect table schemas, and explore data in any PostgreSQL database.",
7-
"icon": "https://avatars.githubusercontent.com/u/182288589?v=4",
7+
"icon": "https://www.postgresql.org/media/img/about/press/elephant.png",
88
"schema_version": "2.1",
9-
"categories": ["database"],
10-
"tags": ["postgres", "postgresql", "database", "sql", "query", "relational"],
11-
9+
"categories": [
10+
"database"
11+
],
12+
"tags": [
13+
"postgres",
14+
"postgresql",
15+
"database",
16+
"sql",
17+
"query",
18+
"relational"
19+
],
1220
"transport": {
1321
"type": "stdio",
1422
"command": "npx",
15-
"args": ["-y", "@modelcontextprotocol/server-postgres", "${input:POSTGRES_URL}"],
23+
"args": [
24+
"-y",
25+
"@modelcontextprotocol/server-postgres",
26+
"${input:POSTGRES_URL}"
27+
],
1628
"metadata": {
1729
"inputs": [
1830
{
1931
"id": "POSTGRES_URL",
2032
"label": "PostgreSQL Connection URL",
2133
"description": "PostgreSQL connection string including host, port, database name, and credentials. All queries run in read-only transactions.",
22-
"type": "password",
34+
"type": "text",
2335
"required": true,
2436
"secret": true,
2537
"placeholder": "postgresql://username:password@localhost:5432/mydb"
2638
}
2739
]
2840
}
2941
},
30-
3142
"auth": {
3243
"type": "none"
3344
},
34-
3545
"contributor": {
3646
"name": "Model Context Protocol",
3747
"github": "modelcontextprotocol",
3848
"url": "https://modelcontextprotocol.io"
3949
},
40-
4150
"links": {
4251
"repository": "https://github.com/modelcontextprotocol/servers",
4352
"homepage": "https://www.postgresql.org",
44-
"documentation": "https://github.com/modelcontextprotocol/servers/blob/main/src/postgres/README.md"
53+
"documentation": "https://github.com/modelcontextprotocol/servers/tree/main/src/postgres#readme"
4554
},
46-
47-
"platforms": ["all"],
48-
55+
"platforms": [
56+
"all"
57+
],
4958
"capabilities": {
5059
"tools": true,
5160
"resources": true,

0 commit comments

Comments
 (0)