An MCP server for Mattermost
Translation pending
Developer toolsGo · JavaScriptGitHub @vriesdemichaelOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
MCP server for Mattermost that acts as you: read and search, and post only when you allow it, confirming every write. No plugin or admin needed.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
An MCP server for Mattermost. It lets an AI agent read and search your Mattermost
and, when you allow it, post and reply, as you or as a bot.
mm-mcp is an independent project. It is not affiliated with, endorsed by or
supported by Mattermost, Inc.; Mattermost is a trademark of Mattermost, Inc.Read the full README ↗An MCP server for Mattermost. It lets an AI agent read and search your Mattermost and, when you allow it, post and reply, as you or as a bot.
mm-mcp is an independent project. It is not affiliated with, endorsed by or supported by Mattermost, Inc.; Mattermost is a trademark of Mattermost, Inc.
The tools read channels, threads, unread posts, mentions and files, search posts, files, people and channels, and, once you allow writes, post, reply, edit, react, pin, propose posts, join, leave and create channels, and set your status. A link pasted from Mattermost works wherever a tool that reads wants an id, every answer links each post, channel and team it names and gives the address a write others see takes, and attached files, their previews, profile pictures and custom emoji are MCP resources your client can read too. The tools page lists every tool. In a client that renders MCP Apps views, a thread, what is unread for you, or a post your agent made or proposes can be shown in the chat as Mattermost lays it out; more views are planned, and the issues are the plan.
A reply your agent drafted, waiting for you to post, change or discard, and a thread you asked to see, as an AI app that shows views shows them (try them live):
MM_MCP_ALLOW_WRITES is true. Then your MCP client's
own approval of each call decides, and mm-mcp checks what each change others
see states before it acts: how many people a post or an edit reaches and a
post notifies, the text an edit replaces, what a deletion takes away, and
where it goes, by address. By default, every post and edit is marked as
written with AI. MM_MCP_ELICITATION_OPT_IN=true has mm-mcp ask you as well,
in a client that shows its question.mm-mcp login, single sign-on included,
kept in your system's credential store, for servers where
personal access tokens are switched off.Install mm-mcp with brew install vriesdemichael/tap/mm-mcp,
winget install vriesdemichael.mm-mcp or
scoop install vriesdemichael/mm-mcp (after
scoop bucket add vriesdemichael https://github.com/vriesdemichael/scoop), or
download the binary for your machine from the
latest release.
Then get a personal access token in Mattermost under Profile → Security →
Personal Access Tokens, and keep it in your system's credential store, out of
your client's configuration, with
mm-mcp login --with paste --url https://chat.example.com. Where those tokens
are switched off, log in once with mm-mcp login --url https://chat.example.com
instead.
{
"mcpServers": {
"mattermost": {
"command": "mm-mcp",
"args": ["serve"],
"env": {
"MM_URL": "https://chat.example.com"
}
}
}
}
Or, for Claude Code, the plugin, which asks for the address and a token you can
leave empty after mm-mcp login:
/plugin marketplace add vriesdemichael/mm-mcp
/plugin install mm-mcp@mm-mcp
or the server alone:
claude mcp add mattermost --scope user --env MM_URL=https://chat.example.com -- mm-mcp serve
Claude Desktop users can open the .mcpb bundle for their machine from the
latest release instead.
When it does not work, mm-mcp doctor --url https://chat.example.com checks
the configuration, the stored login, the way to the server and the credential,
and says what to fix; from inside your MCP client, the diagnose tool does the
same with the client's own configuration.
The documentation has every setting, the tools, and the supported Mattermost releases.
See CONTRIBUTING.md. The decisions behind how this project is built are in docs/site/adr.