Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PG_HOST | No | PostgreSQL server hostname | localhost |
| PG_PORT | No | PostgreSQL server port | 5432 |
| PG_USER | No | Database username | postgres |
| PG_SCHEMA | No | Default schema | public |
| MAX_RESULTS | No | Maximum rows returned | 1000 |
| PG_DATABASE | Yes | Target database name | |
| PG_PASSWORD | Yes | Database password | |
| PG_SSL_MODE | No | SSL connection mode (disable, require, verify-ca, verify-full) | |
| QUERY_TIMEOUT | No | Query timeout in milliseconds | 30000 |
| PG_SSL_CA_PATH | No | Path to CA certificate | |
| PG_SSL_KEY_PATH | No | Path to client key | |
| CONNECTION_LIMIT | No | Maximum pool connections | 10 |
| PG_SSL_CERT_PATH | No | Path to client certificate | |
| PG_SSL_MIN_VERSION | No | Minimum TLS version (TLSv1.2, TLSv1.3) | |
| RATE_LIMIT_PER_HOUR | No | Queries per hour | 1000 |
| RATE_LIMIT_CONCURRENT | No | Concurrent queries | 10 |
| RATE_LIMIT_PER_MINUTE | No | Queries per minute | 60 |
| ALLOW_WRITE_OPERATIONS | No | Enable INSERT/UPDATE/DELETE operations | false |
| PG_SSL_REJECT_UNAUTHORIZED | No | Reject self-signed certs (true, false) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |