Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MSSQL_DANGER_MODE | No | Danger mode - allows most operations (use with caution!) | false |
| MSSQL_ALLOW_DELETE | No | Allow DELETE operations | false |
| MSSQL_ALLOW_INSERT | No | Allow INSERT operations | false |
| MSSQL_ALLOW_UPDATE | No | 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 |
|---|---|
| connect-database | 連接到 MSSQL 資料庫伺服器 |
| list-databases | 列出伺服器上的所有使用者資料庫 |
| switch-database | 切換到指定的資料庫 |
| list-tables | 列出目前資料庫中的所有資料表 |
| describe-table | 查看指定資料表的欄位結構 |
| execute-query | 執行 SQL 查詢語句 |
| connection-status | 檢查目前的資料庫連接狀態 |
| disconnect | 斷開資料庫連接 |