dynamic-db-mcp-server
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.
This server publishes no instructions, or was last inspected before Glama recorded them.
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| register_instanceA | Register a MySQL-compatible database connection at runtime. Tests the connection with SELECT 1 before caching. If a connection with the same name already exists, it is closed and replaced. Args: name: A human-readable identifier for this instance (used as instance_id). host: Database host or IP address. port: Database port (e.g. 3306). user: Database username. password: Database password. database: Optional default database/schema. charset: Connection charset, defaults to utf8mb4. Returns: JSON string with instance_id and status, or error details. |
| list_instancesA | List all registered database instances. Returns: JSON array of instances. Passwords are never included. |
| execute_sqlA | Execute a SQL statement on a registered instance. SQL is classified before execution:
Args: instance_id: The instance name from register_instance. sql: The SQL statement to execute. database: Optional database to switch to before executing. confirm_destructive: Set to true to allow destructive operations. Returns: JSON string with query results (columns/rows/row_count) or affected_rows for DML, or error/safety rejection details. |
| list_databasesA | List all databases on a registered instance. Args: instance_id: The instance name from register_instance. Returns: JSON array of database names, or error details. |
| list_tablesA | List tables in a database with row count and size. Args: instance_id: The instance name from register_instance. database: The database name to list tables from. Returns: JSON array of {table, rows, size_mb, engine, comment}, or error. |
| get_table_detailA | Get column info and CREATE TABLE DDL for a specific table. Args: instance_id: The instance name from register_instance. database: The database name. table_name: The table name. Returns: JSON with {columns: [...], ddl: "..."}, or error details. |
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 6 tools
Each tool has a distinct and non-overlapping purpose: registering instances, listing instances, listing databases, listing tables, getting table details, and executing SQL. No ambiguity between tools.
All tools follow a consistent verb_noun pattern with snake_case (e.g., execute_sql, get_table_detail, list_databases). No mixing of conventions.
With 6 tools, the server is well-scoped for managing and querying MySQL databases. It covers essential operations without being bloated or too sparse.
The tool set covers core discovery and query workflows, and destructive operations are possible via execute_sql with confirmation. Minor gaps include no dedicated unregister/update instance tool and no separate create/drop database/table tools, but these are manageable.