Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
MSSQL_PORT | No | MSSQL server port | 1433 |
MSSQL_USER | Yes | Your MSSQL username | |
MSSQL_SERVER | Yes | Your MSSQL server address | |
MSSQL_ENCRYPT | No | Whether to use encryption for the connection | true |
MSSQL_PASSWORD | Yes | Your MSSQL password | |
MSSQL_TRUST_SERVER_CERTIFICATE | No | Whether to trust the server certificate | 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 | 斷開資料庫連接 |