Skip to main content
Glama
Nam088

mcp-database-server

by Nam088

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_TYPENoDatabase type (default: postgres). Options: postgres, postgresql, mysql, mysql2, sqlite, redis, mongodb, mongo, ldap.postgres
LDAP_URLNoConnection string for LDAP (alternative to LDAP_CONNECTION_STRING)
MYSQL_URLNoConnection string for MySQL (alternative to MYSQL_CONNECTION_STRING)
REDIS_URLNoConnection string for Redis (alternative to REDIS_CONNECTION_STRING)
SQLITE_URLNoConnection string for SQLite (file path)
MONGODB_URLNoConnection string for MongoDB (alternative to MONGODB_CONNECTION_STRING)
DATABASE_URLNoGeneric connection string fallback for PostgreSQL, MySQL, or SQLite
LDAP_BIND_DNNoBind DN for LDAP authentication
READ_ONLY_MODENoRead-only mode (default: true). Blocks write operations when true. Set to 'false' or '0' to enable writes.true
LDAP_BIND_PASSWORDNoBind password for LDAP authentication
LDAP_CONNECTION_STRINGNoConnection string for LDAP (e.g., ldap://localhost:389)
MYSQL_CONNECTION_STRINGNoConnection string for MySQL
REDIS_CONNECTION_STRINGNoConnection string for Redis (e.g., redis://localhost:6379)
SQLITE_CONNECTION_STRINGNoConnection string for SQLite (file path, e.g., sqlite://./database.sqlite)
MONGODB_CONNECTION_STRINGNoConnection string for MongoDB (e.g., mongodb://localhost:27017/mydb)
POSTGRES_CONNECTION_STRINGNoConnection string for PostgreSQL (e.g., postgresql://user:password@localhost:5432/mydb)

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/Nam088/mcp-database-server'

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