Mattermost — Claude Code MCP server: what it does, how to install
The Mattermost MCP server for Claude Code connects external clients to workspace messages, search, and collaboration tools.
Apache-2.0 ★ 257 updated 2026-11-16
Open on GitHubWhat Mattermost does
The built-in plugin server exposes more than 100 tools for reading chats, managing tasks, and handling attachments under the authenticated user's permissions. Clients connect via streamable HTTP using personal access tokens or OAuth. The setup requires Mattermost Server v12.0.0 or higher with a PostgreSQL database and the pgvector extension.
The system supports local models via OpenAI-compatible APIs alongside major cloud providers. Administrators manage tool approval policies and access controls across channels and teams.
Users can summarize threads, perform semantic searches, and process meeting recordings directly through connected agents.
What it helps with
- search and read workspace messages
- post messages and schedule reminders
- summarize discussion threads
- manage user access controls
Example prompts for the agent
- Connect the Mattermost MCP server
- Find the latest message in the channel
- Summarize the current thread
How to install Mattermost
1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
claude mcp add --transport http mattermost-plugin-agents https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
codex mcp add mattermost --url https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"mcpServers": {
"mattermost": {
"url": "https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Config file
{
"servers": {
"mattermost": {
"type": "http",
"url": "https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp"
}
}
}1Template address
The server address is a template: replace {…} or […] with your own values
2Platform CLI: remote server
gemini mcp add -t http mattermost https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Mattermost
How to install Mattermost in Claude Code?
Run the commands claude mcp add --transport http mattermost-plugin-agents https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp and claude mcp add --transport http mattermost https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp.
What does Mattermost do?
It acts as an MCP server providing chat access, search capabilities, and automation tools to external AI clients.
What is needed to run Mattermost?
It requires Mattermost Server v12.0.0+, a PostgreSQL database with pgvector, and a configured Site URL.