Skip to main content
Glama
minchiki

max-messenger-mcp

by minchiki

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_DIRNoDirectory where the MAX session database `max.db` is stored./var/lib/max-mcp
TZ_NAMENoTime zone used when returning messages.Europe/Moscow
MAX_PORTNoPort the server listens on (127.0.0.1).8766
MAX_DEBUGNoSet to `1` to log client requests.
READ_ONLYNoSet to `1` to not register write tools at all (read-only mode).0
MAX_SECRETNoSecret path segment of the server URL (at least 24 characters). Generated automatically if not set. The server address is the only protection for HTTP mode — keep it private.
MAX_IDLE_MINNoNumber of idle minutes after which a user's connection is closed.60
MAX_FEED_SIZENoHow many of the latest events to keep in the event feed.2000
MAX_MAX_USERSNoMaximum number of users accepted in multi-user mode.100
MAX_MULTIUSERNoSet to `1` to run as a multi-user service with OAuth/QR login by link (ChatGPT/Claude connectors).0
MAX_MASTER_KEYNoFernet key used to encrypt stored user sessions. Generated automatically if not set; must be saved separately, otherwise stored sessions cannot be decrypted.
MAX_PUBLIC_URLNoPublic https address of the service, visible to ChatGPT and Claude (required in multi-user mode; use the relay address if a Vercel relay is used).
MAX_SEND_ALLOWNoWhere the server is allowed to send messages: `me` (Saved messages), a comma-separated list of chat ids, or `*` for all chats.me
MAX_SEND_PER_MINNoMaximum number of sends per minute.20
MAX_REDIRECT_HOSTSNoAllowed hosts (https) to which the authorization code may be returned; localhost is always allowed.chatgpt.com,chat.openai.com,claude.ai,claude.com
MAX_OPERATOR_CONTACTNoOperator contact shown on the privacy page.https://t.me/huicoding
MAX_REDIRECT_SCHEMESNoApplication URL schemes allowed for returning the authorization code.cursor,vscode,vscode-insiders,windsurf

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources