MessengersMAX

MAX messenger CLI permissions for AI agents

Control MAX CLI access with per-command deny, readonly, ask and allow rules; understand CLI confirmations and MCP write behavior.

Choose which actions your agent may perform for this account or bot. Check the access level, recipient restrictions and confirmation behavior before enabling changes.

Choose agent permissions →

Decide for each profile what an AI agent, a script or another person may only read, what needs your approval first and what may run without asking. Make a profile read-only or allow one action, such as sending. The recipient list and the hourly limit apply anyway.

A profile is a named set of settings for one account or bot, such as work (profiles and bots). A permission key is the name of a command or command group, such as messages or messages.send. A longer key is more specific. The access level says what happens when a command runs: deny, readonly, ask or allow. Start with reading and allow changes when you need them.

On this page:

  1. Choose an access level
  2. Allow one action
  3. Bot permissions
  4. Limit recipients and repeated sends
  5. Temporarily change MCP server permissions
  6. Limitations and detailed rules

Choose an access level

LevelBehavior
denyThe action is forbidden, including reading.
readonlyReading is allowed; changes are forbidden.
askChanges prompt for confirmation in the terminal. Over MCP they run without asking.
allowThe action can run without another confirmation.

A denial means you need to check the action and settings. It does not indicate a connection problem. Do not ask the agent to remove the restriction just to finish the task.

Allow one action

max work config set permissions.messages.send ask

Replace work with your profile name. To allow reading messages and forbid changes by default:

max work config set permissions.messages readonly

A more specific key takes precedence: permissions.messages.send ask keeps the confirmation prompt before sending in the terminal. Over MCP there is no question, and the agent's send goes ahead. To forbid sending, set this key to readonly. Check other exceptions with config show.

These permissions cover messages. Reactions and chat administration have separate keys. See the permissions reference for all keys and a read-only profile example.

Bot permissions

Bot permissions and limits are set in the bot section. To require confirmation before sending in the terminal:

max support config set permissions.bot.messages.send ask --bot
max support config set sends_per_hour 30 --bot

Limit recipients and repeated sends

The recipient list restricts the chats a profile can send to. The hourly limit helps stop a sending loop. These checks also apply to an allowed command. See protection against sending to the wrong place for the controls.

Temporarily change MCP server permissions

Add --permission messages.send=deny when starting the server to forbid that process to send messages. Saved settings are unchanged. The flag only tightens permissions: a server with an override that would loosen the profile's level does not start. Over MCP, a change set to ask runs without asking you: nobody is at a terminal to answer, and the server shows no form. Only the agent app may still ask, if you leave its write tool unapproved there. To forbid changes, use deny or readonly. Browser setup explains the full connection process.

Limitations and detailed rules

An agent with access to configuration files or an unrestricted terminal can change these permissions. Read security before granting that access. The permissions reference explains nested permissions and exact command keys.