max-mcp-server
by artgas1
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_TZ | No | Time zone used for dates. Defaults to the system time zone. | |
| QR_SVG | No | Path to write the QR code as SVG during 'login qr'. The file is removed after login. | |
| MAX_RPS | No | Global request rate limit to MAX in requests per second (maximum 50). | 5 |
| MAX_PHONE | No | Phone number used only for 'login phone'. | |
| MAX_CLIENT | No | Client mode: 'web' (like web.max.ru) or 'mobile' (needed for SMS login). | web |
| MAX_PROFILE | No | Profile (account) name. | default |
| MAX_HTTP_HOST | No | HTTP transport bind host. | 127.0.0.1 |
| MAX_HTTP_PATH | No | HTTP transport path. | /mcp |
| MAX_HTTP_PORT | No | HTTP transport port. | 13430 |
| MAX_LOG_LEVEL | No | Log level written to stderr. | INFO |
| MAX_READ_ONLY | No | Set to 'false' to register write tools. | true |
| MAX_STATE_DIR | No | Session state directory. | $XDG_STATE_HOME/max-mcp-server/<profile> |
| MAX_ALLOW_JOIN | No | Allow the max_join_chat tool. | false |
| MAX_DENY_CHATS | No | Deny list as comma-separated chat IDs, applied over all other allowlists. | |
| MAX_HTTP_TOKEN | No | Bearer token for HTTP transport. Must be at least 16 characters. | |
| MAX_READ_CHATS | No | Read allowlist as comma-separated chat IDs. Empty means all chats. | |
| MAX_SEND_LIMIT | No | Send rate limit, comma-separated values in N/s, N/min, N/h, N/d form, or 'off'. | 20/h,5/min |
| MAX_TEXT_LIMIT | No | Maximum length of message text in output. | 4000 |
| MAX_UPLOAD_DIR | No | The only directory from which files may be sent. If unset, file sending is disabled. | |
| MAX_LOGIN_TOKEN | No | Web session token used only for 'login token'. | |
| MAX_LOG_CONTENT | No | Log message texts and names. Only for debugging. | false |
| MAX_WRITE_CHATS | No | Write allowlist as comma-separated chat IDs. Empty means no writes; '*' means all chats explicitly. | |
| MAX_DOWNLOAD_DIR | No | Directory where downloaded media is stored. | $XDG_CACHE_HOME/max-mcp-server/<profile>/media |
| MAX_TOOL_TIMEOUT | No | Maximum time in seconds for a heavy call, including queue wait. | 300 |
| MAX_APPEAR_ONLINE | No | Whether to appear online. | false |
| MAX_HTTP_MAX_BODY | No | Maximum HTTP request body size in bytes. | 1048576 |
| MAX_DOWNLOAD_HOSTS | No | Additional allowed host suffixes for downloads, in addition to built-in MAX CDN hosts. | |
| MAX_SHOW_OWN_PHONE | No | Whether to show your own phone number in max_get_me. | false |
| MAX_UNTRUSTED_WRAP | No | Wrapper for untrusted text: 'tags', 'json', or 'off'. | tags |
| MAX_CONNECT_TIMEOUT | No | Connection timeout in seconds. | 20 |
| MAX_HTTP_TOKEN_FILE | No | File containing the bearer token for HTTP transport. | <state>/http_token |
| MAX_LOG_PYMAX_DEBUG | No | Enable DEBUG logs for PyMax, websockets, aiohttp, and full tracebacks. Prints protocol frames and message texts. | false |
| MAX_REQUEST_TIMEOUT | No | Request timeout in seconds. | 30 |
| MAX_HTTP_SECRET_PATH | No | Add a random secret segment to the HTTP path. | false |
| MAX_UPLOAD_MAX_BYTES | No | Maximum upload size in bytes. | 52428800 |
| MAX_2FA_PASSWORD_FILE | No | File containing the 2FA password. File permissions should be 600. | |
| MAX_HEAVY_CONCURRENCY | No | Maximum number of concurrent heavy calls such as history scans, search, timeline, and unread summary. | 2 |
| MAX_ALLOW_CREATE_GROUP | No | Allow the max_create_group tool. Also allowed when MAX_WRITE_CHATS='*'. | false |
| MAX_DOWNLOAD_ALLOW_IPS | No | CIDR ranges allowed to download despite private addresses, for example for a corporate proxy. | |
| MAX_DOWNLOAD_MAX_BYTES | No | Maximum download size in bytes. | 52428800 |
| MAX_HTTP_ALLOWED_HOSTS | No | Additional allowed Host values for HTTP transport. | |
| MAX_INLINE_IMAGE_BYTES | No | Maximum size of images returned inline. | 1048576 |
| MAX_HTTP_ALLOW_NONLOCAL | No | Allow binding to a non-loopback address. Requires a token; use TLS proxy or SSH tunnel for security. | 0 |
| MAX_HTTP_ALLOWED_ORIGINS | No | Additional allowed Origin values for HTTP transport. |
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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues