Skip to main content
Glama

Gmail & PostgreSQL MCP Server

by marouanemkm

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POSTGRES_SSLNoSet to true if using SSL connection for PostgreSQLfalse
POSTGRES_HOSTYesPostgreSQL database hostlocalhost
POSTGRES_PORTYesPostgreSQL database port5432
POSTGRES_USERYesPostgreSQL database user
GMAIL_CLIENT_IDYesYour Gmail OAuth 2.0 Client ID from Google Cloud Console
POSTGRES_DATABASEYesPostgreSQL database name
POSTGRES_PASSWORDYesPostgreSQL database password
GMAIL_CLIENT_SECRETYesYour Gmail OAuth 2.0 Client Secret from Google Cloud Console
GMAIL_REFRESH_TOKENYesYour Gmail OAuth 2.0 Refresh Token obtained through authorization

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/marouanemkm/gmail-mcp-server'

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