✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

MCP Mattermost Server

This is an MCP (Model Context Protocol) server for Mattermost, written in TypeScript. It provides various tools for interacting with the Mattermost API.

Installation

To run this tool, you need to set the following environment variables:

{
  ...
  "mcp-mattermost": {
    "command": "npx",
    "args": [
      "@dakatan/mcp-mattermost"
    ],
    "env": {
      "MCP_MATTERMOST_URL": "https://mattermost.x.y",
      "MCP_MATTERMOST_TOKEN": "",
      "MCP_MATTERMOST_TEAM_ID": "", // Optional: You can Use team ID instead of Team Name
      "MCP_MATTERMOST_TEAM_NAME": "" // Optional: You Use team name instead of Team ID
    }
  },
  ...
}

Configuration

To run this tool, you need to set the following environment variables:

Variable NameDescriptionRequired
MCP_MATTERMOST_URLThe URL of your Mattermost instanceYes
MCP_MATTERMOST_TOKENYour Mattermost personal access tokenYes
MCP_MATTERMOST_TEAM_IDThe ID of the Mattermost team you want to interact withNo*
MCP_MATTERMOST_TEAM_NAMEThe name of the Mattermost team you want to interact withNo*

* Either MCP_MATTERMOST_TEAM_ID or MCP_MATTERMOST_TEAM_NAME must be provided. If both are provided, MCP_MATTERMOST_TEAM_ID takes precedence.

Note: Using MCP_MATTERMOST_TEAM_ID is recommended as it’s more reliable and efficient than using team names.

Tools Provided

The MCP server provides the following tools:

  • User management: mattermost_get_users, mattermost_search_users
  • Channel management: mattermost_search_channels, mattermost_get_channels, mattermost_get_my_channels
  • Post management: mattermost_search_posts, mattermost_get_posts, mattermost_create_post, mattermost_get_posts_thread, mattermost_pin_post, mattermost_unpin_post, mattermost_get_pinned_posts
  • Reaction management: mattermost_add_reaction, mattermost_remove_reaction, mattermost_get_reactions

Featured Templates

View More
Customer service
Service ERP
126 1188
AI Engineering
Python Bug Fixer
119 1433
AI Agents
AI Video Generator
252 2007 5.0
AI Assistants
Image to text with Claude 3
152 1366
Verified Icon
AI Assistants
Speech to Text
137 1882

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.