Mattermost Agents plugin
Mattermost Agents Plugin
The Mattermost Agents plugin runs AI agents inside chat, and its built-in MCP server opens Mattermost to Claude Code and Cursor.
- 257 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Tools read and post messages as the user, and some change data.
- Requests go to the chosen LLM provider.
Install
- Works in
Manual install
Скачайте последний релиз со страницы releases, загрузите и включите плагин в Системной консоли Mattermost, затем настройте поставщика LLM.
Mattermost Server 12.0 or newer is required.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Tools read and post messages as the user, and some change data.
- Requests go to the chosen LLM provider.
This is third-party code. Review the repository files before installing.
What it does
Mattermost Agents adds AI agents to a Mattermost server: you talk to them in direct messages, the Agents pane or a channel. An agent searches and reads messages, posts, schedules posts and reminders, calls tools on other systems through MCP and summarizes threads, channels and meeting recordings. A Mattermost MCP server is built into the plugin and needs no separate install. Once an admin enables it, clients such as Claude Code, Claude Desktop, Cursor and VS Code connect to `/plugins/mattermost-ai/mcp-server/mcp` with OAuth or a personal token. That is over 100 tools running under the signed-in user's permissions.
Who it is for. Admins of a company Mattermost who want AI agents in chat under their own control and access to it from Claude Code.
Good fit when
- A team wants a 200-message thread summarized in the channel and answers to questions about its history.
- Claude Code or Cursor reads a discussion and posts the result to Mattermost as the user.
- A model runs in-house (Ollama, vLLM) and data must not leave for an external cloud.
- Agent tools need approval policies, auditing and token usage tracking.
Not a fit when
- The team lives in Slack or Teams: the plugin only works inside Mattermost.
- The server is older than 12.0 or has no PostgreSQL with the pgvector extension.
- The HTTP MCP endpoint cannot be enabled and the license is below Enterprise.
Example request
Summarize what is unread in the releases channel and find who discussed rolling back the version.Limitations
Mattermost Server 12.0 or newer, PostgreSQL with pgvector and network access to the chosen LLM provider are required. Some features depend on the Mattermost license level, and the HTTP MCP endpoint is enabled by an admin and per the docs needs Enterprise. The SSE transport is not supported, only streamable HTTP. About 45 tools change data, so restrict client permissions with access policies.
How to disable. Disable the Agents plugin in the Mattermost System Console or switch off the HTTP MCP endpoint in plugin settings. Remove the Mattermost server entry from clients.
FAQ
Is there an official Mattermost MCP server?
Yes, it is built into this plugin. Once an admin enables it, clients connect to `/plugins/mattermost-ai/mcp-server/mcp` on your server.
How does a client authenticate?
Through OAuth with dynamic client registration: the user signs in to Mattermost in a browser. A personal access token is the fallback.
Which models can I connect?
Local ones through OpenAI-compatible APIs (Ollama, vLLM), plus OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, Google Gemini and Vertex AI, Cohere, Mistral and Scale AI.
Can I tell a post was written by AI?
Yes, posts created through the MCP server are marked as AI-generated. A first use of a session by an external client lands in the server audit log.
What does installation need?
Mattermost Server 12.0 or newer, PostgreSQL with the pgvector extension for semantic search, and network access to the chosen LLM provider.
Discussion
No questions or reviews yet.
Related
PluginsA Mattermost MCP server: an agent reads, searches and posts messages, threads and files in your workspace, with 39 tools.
AgentBoard adds an AI sidebar to the browser with your own models and keys, WebMCP tools scripted per page and remote MCP servers.
ReevesAgents runs Claude Code, Codex, Hermes and other CLI agents side by side in tmux; an MCP lets one lead the rest.
A plugin for Claude Code and Codex: a shared task wall, project memory, reports and a dashboard that shows agents' work across sessions
An MCP server that runs sub-agents defined in Markdown through Codex, Claude Code, Cursor CLI and other CLIs from any MCP client
A plugin that gives an agent the IntelliNode skill and MCP server: ask any model, search, review code, tests, SQL, images and speech
README in short
Agent and MCP client permissions match the user's: channel and team membership apply to every call. Admins decide which tools exist and who may use them.