Skip to main content
Glama

Database MCP Server

by kunwarmahen

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBinding host0.0.0.0
MCP_PORTNoServer port3002
MONGODB_DBNoMongoDB database nametest
MONGODB_URLNoMongoDB connection URLmongodb://localhost:27017
POSTGRES_DBNoPostgreSQL database namepostgres
DATABASE_URLNoPostgreSQL database connection URL
MCP_TRANSPORTNoTransport mode (http, streamable-http, or stdio)stdio
POSTGRES_HOSTNoPostgreSQL hostlocalhost
POSTGRES_PORTNoPostgreSQL port5432
POSTGRES_USERNoPostgreSQL usernamepostgres
MCP_SERVER_NAMENoDisplay nameDatabase MCP Server
POSTGRES_PASSWORDNoPostgreSQL password
MCP_ENABLE_BROADCASTNoEnable/disable broadcasting for MCP Discovery Hubtrue
MCP_BROADCAST_INTERVALNoSeconds between broadcast announcements30

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/kunwarmahen/db-mcp-server'

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