# PostgreSQL Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5433
POSTGRES_DB=appdb
POSTGRES_USER=appuser
POSTGRES_PASSWORD=apppass
# MongoDB Configuration
MONGODB_URL=mongodb://localhost:27017
MONGODB_DB=invoice_app
#MCP Transport
MCP_TRANSPORT=streamable-http # options: stdio, http, streamable-http
# If MCP_TRANSPORT is set to "http" or "streamable-http", the following
# MCP_HOST and MCP_PORT will be used.
MCP_HOST=0.0.0.0
MCP_PORT=3000
#MCP Server Settings
# Name of the MCP Server
MCP_SERVER_NAME=MongoDB and PostgreSQL Database MCP Server
#Enable broadcast feature
MCP_ENABLE_BROADCAST=true
# Interval (in seconds) for broadcasting messages
MCP_BROADCAST_INTERVAL=60
# Enable debug logging
DEBUG_LOGGING=true
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