Skip to main content
Glama

PostgreSQL MCP Server

by Shreyans481
MIT License

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoEnvironment setting (development or production)
SENTRY_DSNNoOptional Sentry DSN for monitoring and error tracking
DATABASE_URLYesPostgreSQL database connection string (e.g., postgresql://username:password@host:5432/database_name)
GITHUB_CLIENT_IDYesGitHub OAuth application client ID
GITHUB_CLIENT_SECRETYesGitHub OAuth application client secret
COOKIE_ENCRYPTION_KEYYesRandom encryption key for cookie encryption (generate with: openssl rand -hex 32)

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/Shreyans481/remote-mcp-server-with-auth'

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