Mattermost MCP Server logo

Mattermost MCP Server

by pvev

The Mattermost MCP Server enables Claude and other MCP clients to interact with Mattermost workspaces. It provides tools for topic monitoring, channel management, and message handling within Mattermost.

View on GitHub

Last updated: N/A

What is Mattermost MCP Server?

The Mattermost MCP Server is a tool that allows MCP (Message Content Platform) clients like Claude to interact with Mattermost workspaces. It exposes a set of functions for managing channels, messages, and users, as well as a topic monitoring system.

How to use Mattermost MCP Server?

To use the server, clone the repository, install dependencies, configure the server with your Mattermost credentials in config.local.json, build the server, and then run it. The server provides various tools accessible through the MCP interface or HTTP endpoints. Refer to the README for detailed setup and usage instructions.

Key features of Mattermost MCP Server

  • Topic Monitoring with configurable schedule and notifications

  • Channel Management (listing channels, getting channel history)

  • Message Management (posting messages, replying to threads, adding reactions)

  • User Management (getting user lists and profiles)

Use cases of Mattermost MCP Server

  • Automated topic monitoring in Mattermost channels

  • Integrating Mattermost with other applications via MCP

  • Programmatically managing Mattermost channels and messages

  • Building custom bots and integrations for Mattermost

FAQ from Mattermost MCP Server

How do I configure the Mattermost connection?

Create a config.local.json file with your Mattermost URL, token, and team ID.

How do I enable topic monitoring?

Set enabled to true in the monitoring section of your config.local.json file.

How do I trigger monitoring manually?

Use the ./run-monitoring-http.sh script or the mattermost_run_monitoring tool through the MCP interface.

What permissions are required for the personal access token?

The token needs permissions to access channels, post messages, and manage users.

How do I view recent messages in a channel?

Use the view-channel-messages.js script with the channel name as an argument.