Installing and managing Mattermost plugins

A plan for installing, uploading, updating and removing Mattermost plugins on infrastructure you control, including restricted networks, file store requirements and the checks that prevent surprises after upgrades.

On this page

Why installing Mattermost plugins needs a lifecycle plan

A self-hosted Mattermost team usually starts with a plugin request: a workflow that needs a bot, a sidebar, a command or an approval step inside chat. Before anyone clicks install, the team needs to know how the plugin reaches the server, who approves it, how it is updated and how it is removed. A plugin lifecycle plan answers those questions before the first installation, because each stage touches a different part of the deployment.

A plugin adds code to the Mattermost server and, for many plugins, a web app component to the client. That means every plugin is a change to a running production system, not just a feature toggle. Plugin work spans four places: the Marketplace for installs from the catalog, offline bundles for restricted networks where the server cannot reach the catalog, mmctl commands for scripted administration, and the shared file store where plugin bundles are kept. Confirm in the Mattermost administration documentation which installation paths your edition and plan allow, and whether your deployment has the network access each path needs.

Plugin behavior also depends on the deployment shape. A single server, a cluster with multiple application nodes and an air-gapped network each change how files are stored, how plugins are uploaded and how a plugin behaves across nodes. The Mattermost docs describe a shared file store requirement for high availability clusters, so a plan for a multi-node environment must name that storage before the first plugin is installed. Treat each plugin request as a small change record with an owner, a tested version, a rollback step and a check against the next monthly server release.

Choosing between Marketplace installs and bundle uploads

When the Mattermost server can reach the Marketplace, plugins can be installed from inside System Console or through the command line without handling a bundle by hand. This path suits organizations whose policy allows outbound access from the server, but it still needs an approval step, because a Marketplace install is a code change to your production chat service. The approval question is who in your organization may authorize a new plugin, and that answer should be written down before the first install.

  • Approver: Name the role that signs off on each plugin, usually the platform owner with security review for anything that handles messages, files or credentials.
  • Source: The bundle comes from the Marketplace, so record the plugin name, publisher and version you approved.
  • Staging first: Install and test in a non-production server with the same server version and plan features before touching production.
  • Permissions and data: Review what the plugin requests, which channels and data it reads, and whether it makes outbound calls to third-party services.
  • Change record: Log the install, the version and the approver so later upgrades can be checked against the approved list.

Before production, confirm the plugin's compatibility with your Mattermost server release and your upgrade schedule, since plugins can need updates when the server moves forward.

Plugin management options and when each one fits

This table compares the four ways to add and manage plugins on a self-hosted Mattermost: Marketplace installs, manual bundle uploads, mmctl plugin commands and the System Console. Use it to match a method to your network, your administrators and the audit trail your reviewers expect. Confirm exact command syntax and console menu paths against your server version before you write runbooks.

OptionBest-fit environmentWho runs itAudit trail and main risk
Marketplace install from the System ConsoleConnected servers that can reach the Marketplace and where plugin sources are pre-approvedServer administrator with System Console accessChanges are made through the admin interface. Main risk: an admin installs a plugin that has not been reviewed.
Manual bundle uploadRestricted or air-gapped networks where the Marketplace cannot be reachedAdministrator who receives a bundle through a controlled transferDepends on how the bundle was transferred and recorded. Main risk: unverified or outdated bundle files reach production.
mmctl plugin commandsScripted or repeatable changes across environments, and teams that manage servers from the command linePlatform engineer or operations team with mmctl accessCommands can be captured in change records or shell history. Main risk: broad credentials used from a workstation or pipeline.
System Console plugin managementSmaller teams that prefer a visual workflow for enabling, disabling and reviewing installed pluginsServer administratorActions are visible in the admin interface, so confirm what your server version logs. Main risk: enabling plugins without a documented approval step.
Plugin removalAny environment where a plugin is retired or replacedAdministrator with change approvalConfirm how removal is recorded. Main risk: leftover data or plugin file store entries remain after removal.

How to install, verify and remove a plugin safely

This sequence takes a plugin from an unreviewed request to a verified, documented installation that can be removed cleanly. Each step ends with a check so the team knows whether to continue, roll back or escalate.

  1. Confirm the server version and plan

    Record the running Mattermost server version and the plan your organization holds, then check that the plugin you want supports that version and that any feature it needs is included in your plan. The platform administrator owns this step and writes the result into the change request. You know it is done when the version, plan and the plugin's stated compatibility all appear in the same record. Compatibility is tied to the server release, so confirm it against the plugin's listing and the Mattermost server releases page rather than assuming it carries over from a previous version.

  2. Review the plugin source and permissions

    Have the security team review the plugin's source code or, for a vendor-supplied bundle, its publisher, release history and the permissions it requests on the server and in the web app. Check what data it reads or writes, which external hosts it contacts and whether it stores credentials. The reviewer records a decision to approve, reject or approve with conditions. You know it is done when the signed-off review sits in the change record with any conditions listed.

  3. Stage the install in a non-production environment

    Install the same plugin version on a staging server that matches production's server version, database and file store configuration, and run it with test accounts. Use a copy of production settings where possible, with no real customer or regulated data. The platform team confirms the staging deployment is reachable and that the plugin appears in the System Console. You know it is done when the staging install starts cleanly and the team has a documented test scope to run before production.

  4. Install through Marketplace or mmctl

    Install the approved plugin on staging first, then repeat the same method on production. Use the Marketplace where your environment allows it, or upload the plugin bundle manually in a restricted network, or run the mmctl plugin commands for scripted installs. Confirm the exact commands and upload paths in the Mattermost plugin documentation for your server version, because these details change between releases. You know it is done when the plugin appears in the plugin list with the expected version and ID.

  5. Enable the plugin and confirm file store requirements

    Enable the plugin in the System Console or with mmctl, after confirming that the file store the plugin needs is available to the server at startup. In a high availability cluster, confirm that every node can reach the same shared file store, since local storage is not valid there. The administrator checks the server logs for startup errors. You know it is done when the plugin shows as enabled on every node and the logs show no errors related to it.

  6. Verify behavior and review logs

    Run the test scope from staging against the enabled plugin, covering the features users will rely on, the permissions it should and should not have, and any outbound connections. Review the server logs and the plugin's own log output for errors, warnings and unexpected external calls. Record each result against the test scope. You know it is done when every test case has a recorded pass or fail, failures have an owner, and the logs show normal activity for the period tested.

  7. Document the removal path before go-live

    Before production use, write down how the plugin is disabled and removed, what data it stores and where, and what users will see during removal. Confirm the removal steps on staging so the team has tested them, and agree who can authorize removal. Keep the uninstall notes with the change record and the plugin version. You know it is done when a staging removal has been run successfully and the written procedure has been reviewed and filed.

The plugin lifecycle runs from approval to removal, with the file store and database as dependencies

The lifecycle starts with a request that someone reviews and approves, then moves through staging on a non-production server before the plugin is installed from the Marketplace or uploaded as a bundle. After enablement, the plugin is monitored and checked against each new monthly server release before any upgrade, and it is removed when no longer needed. The shared file store and the PostgreSQL database sit beneath every step, so confirm that both are ready before any install or upgrade begins.

Plugin lifecycle stages with the file store and database as dependencies.

Why the file store matters for plugins in clustered deployments

A high availability cluster requires shared file storage on Amazon S3, an S3-compatible service or NAS mounted on each node. Local file system storage will not work correctly in a cluster and risks corrupting files, so this decision has to be settled before any plugin is installed on a clustered server. Plugin bundles are uploaded and processed through the same file store as other server data, which means a plugin that appears to install on one node can be missing or inconsistent on another if the storage is not shared.

Plugin lifecycle steps such as uploading a bundle, enabling it and removing it all touch that shared storage. If each node keeps its own copy, nodes can end up running different plugin versions, and a plugin that expects the same state on every node may behave differently depending on which node handles a request. Confirm with the Mattermost high availability documentation which startup checks the server runs against the file store and what the server reports when a node cannot reach it, and make sure your own runbook covers those messages. Then test an install, an upgrade and a removal on a staging cluster before you rely on the procedure in production.

High availability is available only on the Enterprise and Enterprise Advanced plans, so organizations on other plans should not plan a clustered deployment around plugin behavior until the plan and license are confirmed. For clustered plugin work, also review how a custom plugin stores its own state, because that state must live on the shared file store or a shared service rather than on a single node. Ask your Mattermost account team to confirm the plan that covers your node count, storage type and air-gapped requirements before the design is fixed.

Security controls to review before a plugin reaches users

A plugin runs code inside your Mattermost server and can reach your data, your users and your network. The six controls below cover where a plugin comes from, who can change the plugin set, what the plugin can do, where it keeps secrets, what gets logged and how the server stays patched so the plugin keeps working.

Plugin source and provenance

Confirm who published each plugin bundle, which repository it was built from and whether the version you install matches the release you reviewed. Marketplace installs and manually uploaded bundles follow the same path into the server, so the provenance check has to happen before either. For bundles built in-house, keep the source commit and build output together so a later install can be traced back to exactly what was reviewed. Ask the vendor or maintainer for their release process and how they publish fixes.

Mattermost server releases

Who may install or remove plugins

Plugin installation is a server-level change, so decide which administrators hold that right and keep it separate from ordinary team administration. Record the approved list of plugins and treat any install or removal outside that list as an incident to investigate. Use a small number of named admin accounts instead of shared logins, and confirm that the same restriction applies to command line tools such as mmctl, since those tools reach the same administrative actions.

Plugin permissions and network calls

Before approval, list what each plugin reads, writes and calls. Check which Mattermost APIs it uses, which external hosts its server component contacts and whether it sends message content or user data anywhere outside your network. Test the plugin in a staging server with egress restricted so unexpected outbound calls fail visibly. Ask the publisher to document every external endpoint, and reject plugins that cannot explain why they need one.

Secrets stored by plugins

Many plugins need an API key, webhook secret or service credential to reach a third-party system. Confirm where the plugin keeps these values, who can read them through the admin console or API, and whether they appear in logs, support bundles or exported configuration. Rotate any credential used during testing before go-live, and document an owner for each secret so a removed plugin does not leave live credentials behind. Ask whether the plugin supports encrypted storage for secrets.

Audit of install and removal events

Set up a record of every plugin install, enable, disable, upgrade and removal, with the admin account and time. Confirm that these events reach your central log store and that someone reviews them, because a plugin change is the most direct way to alter server behavior. Check what the plugin itself logs and whether those entries include message content. Test the pipeline by making a harmless install in staging and confirming the event appears where your security team looks.

Patching the server so plugins keep working

Plugins depend on Mattermost server APIs, so a server upgrade can break or disable a plugin that passed review. Keep a version matrix that records each plugin release against the server versions it was tested with, and retest before every server upgrade. Check the server release calendar so upgrades land on supported versions, and plan a rollback path that includes the plugin set. Ask the plugin publisher which server versions they test against and how quickly they ship fixes.

Server release schedule

Keeping plugins working across server upgrades

Every plugin must be retested against the server release your organization actually runs, not against the latest release. Mattermost releases a new server version in binary form on the 16th of each month, so a plugin that worked in March may not have been checked against the build you will move to in April. Extended Support Releases change the planning picture. Mattermost v11.7 is an Extended Support Release, released on 2026-05-15 with support ending 2027-05-15, and the previous ESR, v10.11, reached end of life on 2026-08-15. If your organization stays on an ESR, the upgrade cadence is slower, but the plugin still has to be validated against that exact version, and you should confirm the support window against the Mattermost server releases page before you commit to a date.

Before each server upgrade, run a retest on a staging copy of production that uses the same database version, the same file store and the same plugin bundles. Install the target server version in staging, upload the plugin version you intend to keep, and walk through the functions your users depend on: slash commands, webhooks, any plugin settings pages, and the background jobs or cluster events the plugin registers. Check the server logs for plugin startup errors and confirm that the plugin's manifest and minimum server version fit the target release. Record the results against the server version and the plugin version so the sign-off is traceable. Treat any plugin that fails the retest as a blocker for that upgrade, not as a known issue to fix later.

Plan the rollback before you start the production upgrade. Keep a backup of the database and the file store taken immediately before the change, keep the previous plugin bundle in your internal artifact store, and write down the exact commands that disable or remove the plugin if it misbehaves on the new server. Confirm with your Mattermost support contract or your own platform team who can authorize a rollback to the prior server binary, because a server downgrade may not be a simple reversal once database migrations have run. Confirm the rollback steps in staging as well, so the first time anyone runs them is not during an incident.

Questions teams ask before installing Mattermost plugins

How much effort does Mattermost plugin management take?

Effort depends mostly on how many plugins you run, how deep your review of each one goes, and how often you upgrade the Mattermost server. A single plugin from a trusted source on a small, internet-connected server is a light task. Ten plugins on a restricted network, each reviewed for network calls and data access and retested before every server upgrade, is a recurring workload. Environment matters too: a high availability cluster adds shared file store checks at every plugin change. Ask any partner to size the work from your plugin list, environments and upgrade cadence, not from a generic hour count.

Can our in-house team manage Mattermost plugins alone?

Many teams can, provided they have someone comfortable with Linux administration, the Mattermost command line tool and a non-production environment for testing. The work becomes harder when plugins need security review, when you run in an air-gapped network where bundles must be transferred and verified by hand, or when a plugin must survive server upgrades. Decide which parts you keep in-house (for example, routine installs and removals) and which you outsource (for example, a one-time review of the plugins you already run). A written scope makes that split clear.

What does a partner need from us to start a plugin project?

A partner typically needs administrative access to a non-production Mattermost server that matches production as closely as possible, the server version and plan level you run, and a list of the plugins you want installed or reviewed. You should also name the approved sources for plugin bundles, such as the Marketplace or an internal artifact store, and state who approves changes. Confirm with your partner whether they need access to the production file store and database, and how credentials will be handled. Check your Mattermost plan level first, since some identity and deployment features depend on it.

How long does a first plugin rollout take?

Duration depends on scope: the number of plugins, whether each needs a security review, whether the environment is air-gapped, and whether your cluster uses shared file storage that must be verified first. A rollout limited to installing a few vetted plugins on one server can be short. A rollout that includes reviewing existing plugins, testing them against your upgrade path and documenting the process is longer. Ask for a timeline in the written scope with milestones, and ask what the partner needs from your team and when.

What should we ask for in a plugin management quote?

Ask for a line-by-line scope that lists each plugin, each environment, and each activity: source verification, installation or bundle upload, configuration, testing, removal and documentation. Request the assumptions behind the estimate, including the Mattermost version, plan level, number of nodes and whether you need a retest after each server upgrade. Ask which items are one-time and which recur, such as retainer support or re-review when plugins update. Confirm acceptance criteria and what happens if a plugin cannot be made to work safely.

Does DeployOpen publish plugin management prices?

No. DeployOpen does not publish a price list, and Mattermost does not publish public prices for its plans either. Mattermost sells Professional, Enterprise and Enterprise Advanced plans as prepaid annual subscriptions based on seat licenses and directs buyers to contact sales. DeployOpen's plugin work follows from a written scope agreed before work starts, so a quote depends on the plugins, environments and deliverables you define. Share your inventory and constraints, and you will receive a quote based on that scope.

Which plugins should we review before installing them?

Review any plugin that requests network access, stores data outside the Mattermost database, runs server-side code, or comes from a source you cannot verify. Check the plugin's publisher, release history, license, declared permissions and compatibility with your Mattermost version. Confirm with the vendor which versions support your server release and whether the plugin requires a file store setting. Document the decision for each plugin so that your security and compliance teams can review it later.

How DeployOpen scopes and supports Mattermost plugin work

DeployOpen plans, installs and documents Mattermost plugins inside the infrastructure you control, including restricted networks where bundles must be uploaded by hand. Each engagement starts with a written scope that names the plugins, the environments and the upgrade path before any change is made to a production server.

How we scope

  • Inventory every plugin you need, its source, and whether it installs from the Marketplace or from an uploaded bundle.
  • Confirm the Mattermost server version, plan level and whether the deployment is a single server or a high availability cluster.
  • Agree in writing how plugin storage, file store access and mmctl administration will be handled for each environment.

How we build

  • Set up a staging Mattermost that matches production, then install and configure each plugin there first.
  • Verify file store settings and plugin startup behavior on every node before enabling a plugin for users.
  • Test enable, disable and removal steps for each plugin, including the data and settings it leaves behind.

How we hand over

  • Document the install, upload, mmctl and removal steps as runbooks your administrators can repeat without us.
  • Record the approved plugin list, versions, sources and owners so audits and reviews have a clear reference.
  • Walk your platform and security teams through the runbooks and confirm who approves future plugin changes.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer when plugins must keep pace with monthly server releases.
  • Retest affected plugins before each planned server upgrade, and confirm compatibility with your Mattermost version first.
  • Ask for a quote that lists the plugin count, environments, restricted network steps and retainer terms before work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.