|
| 1 | +{ |
| 2 | + "$schema": "../schemas/server-definition.schema.json", |
| 3 | + "id": "community.postgresql", |
| 4 | + "name": "PostgreSQL", |
| 5 | + "alias": "postgres", |
| 6 | + "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", |
| 8 | + "schema_version": "2.1", |
| 9 | + "categories": ["database"], |
| 10 | + "tags": ["postgres", "postgresql", "database", "sql", "query", "relational"], |
| 11 | + |
| 12 | + "transport": { |
| 13 | + "type": "stdio", |
| 14 | + "command": "npx", |
| 15 | + "args": ["-y", "@modelcontextprotocol/server-postgres", "${input:POSTGRES_URL}"], |
| 16 | + "metadata": { |
| 17 | + "inputs": [ |
| 18 | + { |
| 19 | + "id": "POSTGRES_URL", |
| 20 | + "label": "PostgreSQL Connection URL", |
| 21 | + "description": "PostgreSQL connection string including host, port, database name, and credentials. All queries run in read-only transactions.", |
| 22 | + "type": "password", |
| 23 | + "required": true, |
| 24 | + "secret": true, |
| 25 | + "placeholder": "postgresql://username:password@localhost:5432/mydb" |
| 26 | + } |
| 27 | + ] |
| 28 | + } |
| 29 | + }, |
| 30 | + |
| 31 | + "auth": { |
| 32 | + "type": "none" |
| 33 | + }, |
| 34 | + |
| 35 | + "contributor": { |
| 36 | + "name": "Model Context Protocol", |
| 37 | + "github": "modelcontextprotocol", |
| 38 | + "url": "https://modelcontextprotocol.io" |
| 39 | + }, |
| 40 | + |
| 41 | + "links": { |
| 42 | + "repository": "https://github.com/modelcontextprotocol/servers", |
| 43 | + "homepage": "https://www.postgresql.org", |
| 44 | + "documentation": "https://github.com/modelcontextprotocol/servers/tree/main/src/postgres#readme" |
| 45 | + }, |
| 46 | + |
| 47 | + "platforms": ["all"], |
| 48 | + |
| 49 | + "capabilities": { |
| 50 | + "tools": true, |
| 51 | + "resources": true, |
| 52 | + "prompts": false, |
| 53 | + "read_only_mode": true |
| 54 | + } |
| 55 | +} |
0 commit comments