Skip to main content

mm-mcp for Mattermost

io.github.vriesdemichael/mm-mcp

v0.4.1Updated Oct 30, 2026stdio · MCPB

Read, search and post in Mattermost as yourself or a bot.

Install

This server doesn't publish a package or endpoint we can turn into a one-line install. See its links below.

Configuration

10 settings.

  • MM_URL
    Env var· required
    The address you open Mattermost at, such as https://chat.example.com.
  • MM_TOKEN
    Env var· optional· secret
    A personal access token or a bot token. Where those are switched off, leave it empty after logging in once with mm-mcp login --url <address> in a terminal, which keeps your session in the system's credential store.
  • MM_MCP_ALLOW_WRITES
    Env var· optional
    Offer the tools that post and change things. Your client's own approval of each call decides, and mm-mcp checks what each change others see states before it acts.Default: false
  • MM_MCP_CA_FILE
    Env var· optional
    A PEM file of certificate authorities to trust beside your system's, for a Mattermost whose certificate your organisation signed itself. Leave it empty otherwise.
  • MM_MCP_DOWNLOAD_DIR
    Env var· optional
    Where save_file writes attachments. Leave it empty for your Downloads directory.
  • MM_MCP_ELICITATION_OPT_IN
    Env var· optional
    Your client's own approval of each call decides whether a post or another change others see goes ahead, and mm-mcp checks what each states. Turn this on to have mm-mcp ask you too, through a question your client shows: a convenience where it shows it, not a safeguard, since some clients answer it themselves.Default: false
Show 4 more
  • MM_MCP_FORCE_HUMAN_IN_THE_LOOP_IN_CLAUDE_CODE
    Env var· optional
    Not with mm-mcp asks as well: marks each tool that changes what others see so that Claude Code asks a person on every call, whatever its permission mode or rules allow. An agent cannot post on its own while it is on.Default: false
  • MM_MCP_MARK_AI_GENERATED
    Env var· optional
    Mark every post and edit the model writes with Mattermost's own marker for text written with AI.Default: true
  • MM_MCP_POST_FROM_VIEWS
    Env var· optional
    Where your app shows mm-mcp's views, a post the model proposes as your draft can be posted from the view with Post. Off, the draft waits in Mattermost for you to send.Default: true
  • MM_MCP_RESOURCE_MAX_MB
    Env var· optional
    The most one message carrying an attached file as an MCP resource holds, a binary file counted as its base64. MCP sends a resource whole, and a client drops a message past its own limit, 10 MB for clients built on the TypeScript SDK. A larger one is refused, and read_file or save_file reads it instead. 0 is no limit.Default: 10

Listed in the official MCP Registry since Oct 30, 2026. Mirrored daily; last checked Nov 26, 2026.