Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SMTP_HOSTNoSMTP server host (e.g., smtp.qq.com, smtp.163.com, smtp.gmail.com)
SMTP_PASSNoSMTP password (authorization code or app password, not your regular password)
SMTP_PORTNoSMTP server port (e.g., 587 for QQ/Gmail, 994 for 163)
SMTP_USERNoSMTP username (your email address)
SMTP_SECURENoWhether to use secure connection. Set to 'true' or 'false'
EMAIL_PROVIDERNoEmail provider type. Options: 'smtp' for SMTP providers (QQ, 163, Gmail, Outlook), 'gmail' for Gmail API
GMAIL_CLIENT_IDNoGmail API OAuth client ID
DEFAULT_FROM_EMAILNoDefault sender email address
GMAIL_CLIENT_SECRETNoGmail API OAuth client secret
GMAIL_REFRESH_TOKENNoGmail API OAuth refresh token

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/tianpeijun/email-mcp'

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