Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Server logging level: debug, info, warn, error | info |
| DB_ALIASES | Yes | Comma-separated list of unique DB aliases | main,reporting |
| ENABLE_AUTH | No | Enable API Key auth (primarily for network transports) | false |
| MCP_API_KEY | No | API key for authentication when ENABLE_AUTH is true | |
| DEFAULT_DB_ALIAS | Yes | Default alias if 'dbAlias' is omitted in tool calls | main |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_tool | Safely execute a read-only SQL query and retrieve results |
| execute_tool | Safely execute a data-modifying SQL statement |
| schema_tool | Retrieve detailed schema information for a specific table |
| transaction_tool | Execute multiple SQL statements as a single atomic transaction |