Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIDB_DB | Yes | Your TiDB database | |
| TIDB_HOST | Yes | Your TiDB host | |
| TIDB_PASS | Yes | Your TiDB password | |
| TIDB_PORT | Yes | Your TiDB port | |
| TIDB_USER | Yes | Your TiDB username | |
| ALLOW_DELETE_OPERATION | No | Set to 'true' to allow DELETE operations | false |
| ALLOW_INSERT_OPERATION | No | Set to 'true' to allow INSERT operations | false |
| ALLOW_UPDATE_OPERATION | No | Set to 'true' to allow UPDATE operations | false |
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 |
|---|---|
| tidb_query | Execute SQL queries against TiDB |