mattermost-mcp
Provides tools for interacting with Mattermost, including sending messages, reading posts and threads, searching messages, listing channels, getting user info, and checking unread messages.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mattermost-mcp search for posts about 'deployment' from yesterday"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mattermost MCP Server
MCP server for Mattermost with npx support.
Installation and Usage
Via npx
MATTERMOST_URL=https://mattermost.company.com \
MATTERMOST_TOKEN=your-token \
npx github:anton-sobolev-zhr/mattermost-mcpMCPHub Configuration
{
"mcpServers": {
"mattermost": {
"command": "npx",
"args": ["github:anton-sobolev-zhr/mattermost-mcp"],
"env": {
"MATTERMOST_URL": "https://mattermost.company.com",
"MATTERMOST_TOKEN": "your-token",
"MATTERMOST_KEEPALIVE_MS": "86400000"
}
}
}
}MATTERMOST_KEEPALIVE_MS defaults to 24 hours. The server makes GET /api/v4/users/me requests to keep the session alive in configurations with ExtendSessionLengthWithActivity.
Related MCP server: time-messenger-mcp-server
Available Tools
get_thread— get thread content by post IDget_post— get single post by IDget_channel_posts— get channel messagessearch_posts— search messageslist_channels— list channels in teamget_user— get user info by IDsend_message— send message to channelget_unread— get unread messages, threads, and channel summarytest_connection— test Mattermost connection
Available Tools
9 toolsget_channel_postsC
Get posts from a channel
Inputs: channel_id (required), limit.
get_postA
Get single post content by ID
Inputs: post_id (required).
get_threadB
Get Mattermost thread content by post ID
Inputs: post_id (required).
get_unreadB
Get unread messages, threads and channels summary
Inputs: limit, team_id, include_threads, include_channels.
get_userA
Get user info by ID
Inputs: user_id (required).
list_channelsB
List channels in team
Inputs: team_id.
search_postsC
Search posts in team
Inputs: query (required), team_id.
send_messageC
Send message to channel
Inputs: message (required), channel_id (required).
test_connectionA
Test Mattermost connection
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource or action: thread, post, channel posts, search, channels, user, message, connection, and unread summary. Even get_thread and get_post are clearly differentiated by thread vs. single post.
All tool names follow a consistent verb_noun pattern (get_, list_, search_, send_, test_). No mixed conventions or vague verbs.
9 tools is well within the ideal 3-15 range. Each tool serves a clear purpose without redundancy or bloat.
The set covers reading, searching, listing, sending, and connection testing, but notably lacks update/delete operations for posts, channel creation, thread replies, and marking messages as read. These gaps are significant for a full Mattermost workflow but may be workable for read-centric use cases.
Maintenance
Related MCP Connectors
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables Claude and other MCP clients to interact with Mattermost workspaces, providing channel management, messaging capabilities, and topic monitoring functionality.44MIT
- AlicenseBqualityBmaintenanceMCP server for T-Bank's Time Messenger (Mattermost-based) that enables AI assistants to read and send messages, manage threads, search channels and users, and track unread messages.34592 npm7MIT
- AlicenseAqualityBmaintenanceMCP Server for the Mattermost API, enabling Claude and other MCP clients to interact with Mattermost workspaces.1351 npm6MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for Rocket.Chat, enabling AI agents to interact with Rocket.Chat workspaces via tools like listing users, sending messages, and managing channels.2-