Skip to main content
Glama

Common Database MCP Server

by drainney-jrt

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoThe logging level (e.g., DEBUG)
DB_<NAME>_HOSTNoThe database host/hostname
DB_<NAME>_PATHNoThe file path for SQLite databases
DB_<NAME>_PORTNoThe database port
DB_<NAME>_TYPENoThe type of database (postgresql, mysql, sqlite, or db2)
DB_<NAME>_DATABASENoThe database name
DB_<NAME>_PASSWORDNoThe database password
DB_<NAME>_USERNAMENoThe database username
DB_<NAME>_POOL_SIZENoThe connection pool size5
DB_<NAME>_READ_ONLYNoWhether to use read-only mode (true or false, default is true)true
DB_<NAME>_CONNECTION_STRINGNoThe database connection string (alternative to individual parameters)

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/drainney-jrt/jdbc-mcp-server'

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