Database MCP Server
by tomtomjskim
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_TYPE | No | Database type (mysql or postgresql). Optional; auto-detected from port or host when omitted. | |
| MYSQL_DB | No | MySQL database name. | |
| LOG_LEVEL | No | Logging level for the MCP server. | |
| MYSQL_HOST | No | MySQL database host. | |
| MYSQL_PORT | No | MySQL database port. | |
| MYSQL_USER | No | MySQL database user. | |
| POSTGRES_DB | No | PostgreSQL database name. | |
| MYSQL_SSL_CA | No | Path to the MySQL SSL CA certificate. | |
| POSTGRES_HOST | No | PostgreSQL database host. | |
| POSTGRES_PORT | No | PostgreSQL database port. | |
| POSTGRES_USER | No | PostgreSQL database user. | |
| DB_CONFIG_FILE | No | Path to a db-config.json file for multi-database connection configuration. | |
| MYSQL_PASSWORD | No | MySQL database password. | |
| MYSQL_SSL_MODE | No | SSL mode for MySQL connections. | |
| MAX_RESULT_ROWS | No | Maximum number of result rows returned. | |
| MCP_SERVER_NAME | No | Name of the MCP server. | |
| POSTGRES_SSL_CA | No | Path to the PostgreSQL SSL CA certificate. | |
| POSTGRES_PASSWORD | No | PostgreSQL database password. | |
| POSTGRES_SSL_MODE | No | SSL mode for PostgreSQL connections. | |
| ENABLE_QUERY_LOGGING | No | Enable or disable query logging (true/false). | |
| DB_DEFAULT_CONNECTION | No | Default connection name to use in multi-database environment-variable mode. | |
| MAX_QUERY_EXECUTION_TIME | No | Maximum query execution time in milliseconds. | |
| MYSQL_CONNECTION_TIMEOUT | No | MySQL connection timeout in milliseconds. | |
| POSTGRES_CONNECTION_TIMEOUT | No | PostgreSQL connection timeout in milliseconds. | |
| MYSQL_ACQUIRECONNECTION_TIMEOUT | No | MySQL acquire-connection timeout in milliseconds. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues