Mattermost

io.github.vriesdemichaelv0.1.0更新於 Oct 8, 2026

Read, search and post in Mattermost as yourself or a bot.

已驗證STDIO僅桌面Communication & Collaboration

概覽

AI 產生的概覽

讓助理以你或機器人的身分在 Mattermost 中讀取、搜尋,並在明確允許後發文和回覆。

功能
這是一個針對 Mattermost 的 MCP 伺服器,讓助理存取你的聊天工作區。它可以讀取頻道、討論串、未讀貼文和檔案,並搜尋貼文、檔案、人員和頻道。開啟寫入後,還能發文、回覆、編輯、加入表情回應、置頂和保留草稿。它以本機程序方式透過 stdio 執行,也可在回送位址上提供 Streamable HTTP。
適用情境
適合讓助理幫你補看未讀頻道、尋找某段討論或檔案,或在不離開用戶端的情況下起草並送出回覆。如果團隊使用 Mattermost,並希望用對話方式完成搜尋和發文,就值得加入。
執行需求
需要本機執行環境:可透過 Homebrew、winget、Scoop 或發行檔安裝二進位檔,或在 Claude Desktop 中開啟 .mcpb 套件。需要 MM_URL(你的 Mattermost 位址)和 MM_TOKEN(個人存取權杖、機器人權杖或工作階段權杖)。選用設定:MM_MCP_ALLOW_WRITES、MM_MCP_DOWNLOAD_DIR、MM_MCP_MARK_AI_GENERATED。需要能連線到你的 Mattermost 伺服器。
安裝前請注意
MM_TOKEN 是代表你或機器人身分的憑證,持有者可讀寫你的 Mattermost。寫入功能預設關閉,只有 MM_MCP_ALLOW_WRITES 為真時才會啟用;此時發文、回覆、編輯、表情回應和置頂對同事可見,並會先要求確認,而追蹤討論串、儲存貼文、提醒、草稿和輸入狀態不會詢問。附件會寫入 MM_MCP_DOWNLOAD_DIR。專案處於早期開發階段,與 Mattermost, Inc. 無關聯。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mattermost,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mm-mcp

[CI] [codecov]

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.

Early development. Nothing is released yet. The tools read channels, threads, unread posts and files, search posts, files, people and channels, and, once you allow writes, post, reply, edit, react, pin and keep drafts. The tools page lists every one. Views in the chat for clients that render MCP Apps are planned; the issues are the plan.

Why it works the way it does

  • Read-only unless you say otherwise. The tools that post or change anything are not offered until MM_MCP_ALLOW_WRITES is true. Then every change others see asks you first: an agent acting with your token speaks as you to your colleagues. Following a thread, saving a post, a reminder, a draft only you see and the typing indicator are yours alone or gone in seconds, and do not ask.
  • Your token, a bot's, or your own login. A personal access token, a bot token, or the session token from logging in yourself, for servers where personal access tokens are switched off.
  • Mattermost's own client. Requests and answers use the server's own Go client and types, not a hand-written description of the API.
  • Every supported release, tested. Every tool runs against a real Mattermost Team Edition, on the Extended Support Release and the newest release on every change, and on every release between them each week.
  • stdio and Streamable HTTP. A client starts it as a local process, or it serves Streamable HTTP on a loopback address.

Quick start

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.

json
{  "mcpServers": {    "mattermost": {      "command": "mm-mcp",      "args": ["serve"],      "env": {        "MM_URL": "https://chat.example.com",        "MM_TOKEN": "your-token"      }    }  }}

Or, for Claude Code:

bash
claude mcp add mattermost --env MM_URL=https://chat.example.com --env MM_TOKEN=your-token -- mm-mcp serve

Claude Desktop users can open the .mcpb bundle for their machine from the latest release instead.

The documentation has every setting, the tools, and the supported Mattermost releases.

Contributing

See CONTRIBUTING.md. The decisions behind how this project is built are in docs/site/adr.

License

Apache-2.0

來源:README.md,提交 d224eb0

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.0最新Oct 8, 2026