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 Name | Description | Required |
|---|---|---|
MCP_MATTERMOST_URL | The URL of your Mattermost instance | Yes |
MCP_MATTERMOST_TOKEN | Your Mattermost personal access token | Yes |
MCP_MATTERMOST_TEAM_ID | The ID of the Mattermost team you want to interact with | No* |
MCP_MATTERMOST_TEAM_NAME | The name of the Mattermost team you want to interact with | No* |
* 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
Mattermost Integration Server
Project Details
- dakatan/mcp-mattermost
- MIT License
- Last Updated: 6/16/2025
Recomended MCP Servers
an mcp server for hefeng weather api
A Model Context Protocol (MCP) server for interacting with Kong Konnect APIs, allowing AI assistants to query and...
A powerful personal assistant server that integrates with various services including Google Calendar, Obsidian Vault, Trello, and web...
This is the most comprehensive wordpress mcp server. Includes functionality to perform CRUD operations on Users, Blogs, Categories...
The server acts as a bridge between MCP-compatible assistants and Together AI's image generation capabilities.
Allows Honeycomb Enterprise customers to use AI to query and analyze their data, alerts, dashboards, and more; and...
A Model Context Protocol (MCP) server that provides Xcode-related tools for integration with AI assistants and other MCP...
hatch-mcp-server





