Mattermost MCP Server
Mattermost MCP server to enable Claude to interact with Mattermost Workspaces
Overview
Mattermost MCP Server is a tool designed to enable Claude and other MCP clients to interact with Mattermost workspaces through the Mattermost API.
To use the Mattermost MCP Server, clone the repository, install dependencies, configure the server with your Mattermost credentials, build the server, and then run it. You can also trigger monitoring manually or through HTTP endpoints.
- Topic monitoring system to track messages in specified channels. - Tools for managing channels and messages, including posting messages and adding reactions. - User management tools to retrieve user profiles and lists. - HTTP endpoints for remote control and monitoring.
- Monitoring discussions on specific topics in Mattermost channels.
- Automating message posting and reactions based on certain triggers.
- Analyzing message statistics in channels for insights.
Add to your AI client
Use these steps to connect Mattermost MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mattermost-mcp-pvev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mattermost-mcp-pvev"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mattermost-mcp-pvev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mattermost-mcp-pvev"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mattermost-mcp-pvev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mattermost-mcp-pvev"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mattermost-mcp-pvev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mattermost-mcp-pvev"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mattermost-mcp-pvev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mattermost-mcp-pvev"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mattermost-mcp-pvev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mattermost-mcp-pvev"
]
}
}
}FAQ
Can I monitor multiple channels at once?
Yes! You can configure the server to monitor multiple channels for specific topics.
Is there a way to trigger monitoring manually?
Yes! You can trigger monitoring manually using provided scripts or HTTP endpoints.
What programming language is used for this project?
The Mattermost MCP Server is built using TypeScript.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2646,"uuid":"78fc6e4d-440b-4ced-ac48-5266167ac404","name":"mattermost-mcp","title":"Mattermost MCP Server","description":"Mattermost MCP server to enable Claude to interact with Mattermost Workspaces","avatar_url":"https://avatars.githubusercontent.com/u/10082627?v=4","created_at":"2025-03-13T09:21:33.398Z","updated_at":"2025-03-13T09:40:07.377Z","status":"created","author_name":"pvev","author_avatar_url":"https://avatars.githubusercontent.com/u/10082627?v=4","tags":"mattermost,mcp,server,api,monitoring","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/pvev/mattermost-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-10 12:25:17\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]