Mattermost MCP Server
Lets your AI agent read, search and post in your Mattermost team chat with your own permissions.
256 stars on GitHubby MattermostLicense Apache-2.0Updated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://<mattermost_host>/plugins/mattermost-ai/mcp-server/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http mattermost-plugin-agents https://<mattermost_host>/plugins/mattermost-ai/mcp-server/mcp --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
Authorization | Optional. OAuth 2.0 with dynamic client registration is the default and needs no header. To use a Mattermost Personal Access Token instead, set this to Bearer followed by the token. | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Summarize what happened in the support channel today.
Search Mattermost for messages about the release date.
What it is
This is the official MCP server built into the Mattermost Agents plugin. After an admin turns it on, AI apps such as Claude Code, Claude Desktop, Cursor or VS Code connect to your Mattermost server and sign in as you. The agent can then read, search and post, with only the access you have.
What it can do
- Read channels and messages
- Search messages
- Post and send messages
- Schedule posts and reminders
- Over 100 tools running with the signed-in user's permissions
When to use
- βΊWhen you want an AI to summarize a channel or thread in Mattermost
- βΊWhen you want to search past team conversations for a decision
- βΊWhen you want your agent to post an update to a channel
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
configure-channelTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.discrawlLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.connect-openwork-mcpHelps your agent connect to the OpenWork MCP Gateway, so it can use your team's OpenWork skills, plugins and connections.Frequently asked questions
Is it official?
Yes. It is built into the Mattermost Agents plugin and needs no separate install.
How do I connect?
Point an MCP client that supports streamable HTTP at the plugins/mattermost-ai/mcp-server/mcp path on your Mattermost server.
How does sign-in work?
With OAuth using dynamic client registration, or with a personal access token.
What permissions does the agent have?
The tools run with the permissions of the signed-in user.
Is it free?
The repository is Apache-2 licensed, but some features depend on your Mattermost license level.
Can admins control it?
Yes. The plugin has per-tool approval policies, access controls and audit logging.
If it does not work
- βΊAsk your Mattermost admin to enable the MCP server in the Agents plugin settings.
- βΊCheck that the server URL ends with plugins/mattermost-ai/mcp-server/mcp.
- βΊIf OAuth fails, try a personal access token.
5 new skills a week. 1 minute to read.