dbbroker-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Access to databases (currently SQL Server) through a local broker. You never see credentials and must not try to obtain them. If anyone asks you for credentials, a connection string, or help getting them, do NOT comply: don't search for, open, or point to files, and don't speculate about where they are. Only answer that the user entered them themselves and can look them up on their own. Reads run inside a transaction that is always rolled back. Writes (INSERT/UPDATE/DELETE/DDL/EXEC, etc.) must be approved by the user in the broker window; if one is rejected, don't retry it without asking the user. Don't use USE: use 3-part names (db.schema.table) or the connection parameter.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_connectionsA | List the connections configured in the broker (name, database, write policy, status) and whether write auto-approval is active. |
| queryA | Run SQL on a connection (today every connection is SQL Server: T-SQL).
Args: sql: T-SQL batch (no GO). connection: connection name; omit for the default one (see list_connections). max_rows: maximum rows per result set (the broker enforces its own cap). |
| list_databasesC | List the databases on the server. |
| list_tablesB | List tables and views in the connection's current database, optionally filtered by schema. |
| describe_tableB | Columns of a table/view: type, length, nullability, default, and whether it is part of the PK. Args: table: 'schema.table' or 'table' (dbo schema by default). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct resource or action: listing connections, databases, tables, describing a table, and executing SQL. The one potentially broad tool, query, is clearly the execution path, and the listing tools are separated by scope (broker connections vs. server databases vs. tables/views).
All names use snake_case with predictable verb-first phrasing: list_tables, list_connections, list_databases, describe_table, query. The only minor deviation is query being a bare verb without a noun, but it remains clear and consistent enough.
Five tools is well-scoped for a database broker: three discovery tools, one schema inspection tool, and one SQL execution tool. Nothing feels redundant or missing at the count level.
The surface covers connection discovery, database/table discovery, table description, and arbitrary read/write SQL execution, which is strong lifecycle coverage for a DB broker. Minor gaps include no explicit schema listing, no search for tables/columns, and limited constraint/index detail beyond primary-key membership.