Skip to main content
Glama

Database Bridge MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port3000
DB_SSLNoEnable SSL/TLS
DB_HOSTNoDatabase host127.0.0.1
DB_NAMENoDatabase name (leave empty for multi-DB mode)
DB_PASSNoDatabase password
DB_PORTNoDatabase port3306
DB_TYPENoDatabase typemysql
DB_USERNoDatabase userroot
MYSQL_DBNoMySQL database name (backward compatibility)
DB_SSL_CANoCA certificate path
SQLITE_DBNoSQLite database path (:memory: for in-memory)
DB_SSL_KEYNoClient key path
MYSQL_HOSTNoMySQL host (backward compatibility)127.0.0.1
MYSQL_PASSNoMySQL password (backward compatibility)
MYSQL_PORTNoMySQL port (backward compatibility)3306
MYSQL_USERNoMySQL user (backward compatibility)root
DB_SSL_CERTNoClient certificate path
IS_REMOTE_MCPNoEnable HTTP mode
POSTGRESQL_DBNoPostgreSQL database name
POSTGRESQL_HOSTNoPostgreSQL host127.0.0.1
POSTGRESQL_PORTNoPostgreSQL port5432
DB_READ_ONLY_MODENoGlobal read-only modefalse
MYSQL_SOCKET_PATHNoUnix socket path (priority over host/port)
REMOTE_SECRET_KEYNoAuthentication token for HTTP mode
ALLOW_DDL_OPERATIONNoGlobal DDL permissionfalse
DB_CONNECTION_LIMITNoConnection pool size10
MULTI_DB_WRITE_MODENoAllow writes in multi-DB modefalse
ALLOW_DELETE_OPERATIONNoGlobal DELETE permissionfalse
ALLOW_INSERT_OPERATIONNoGlobal INSERT permissionfalse
ALLOW_UPDATE_OPERATIONNoGlobal UPDATE permissionfalse
SCHEMA_DDL_PERMISSIONSNoSchema-specific DDL permissions (format: schema1:true,schema2:false)
SCHEMA_DELETE_PERMISSIONSNoSchema-specific DELETE permissions (format: schema1:true,schema2:false)
SCHEMA_INSERT_PERMISSIONSNoSchema-specific INSERT permissions (format: schema1:true,schema2:false)
SCHEMA_UPDATE_PERMISSIONSNoSchema-specific UPDATE permissions (format: schema1:true,schema2:false)
DB_SSL_REJECT_UNAUTHORIZEDNoStrict SSL validation
MYSQL_DISABLE_READ_ONLY_TRANSACTIONSNoDisable read-only transactions for MySQL (not recommended)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LucasSiqueiraSurreco/mcp-db-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server