Mattermost
概览
作者提供的说明(英文原文)
Official Mattermost MCP server, built into the Mattermost Agents plugin. Read, search and post.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在云端运行
- 传输方式: Streamable HTTP
- 分类: 搜索与 AI 记忆
- 你需要填写:Authorization
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 需要你自己填写:
Authorization
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- 在云端运行无需安装任何东西,通过互联网连接
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http mattermost-plugin-agents 'https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp' --header 'Authorization: Bearer {personal_access_token}'运行前请先填写空着的值。
地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mattermost-plugin-agents": {
"url": "https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp",
"headers": {
"Authorization": "Bearer {personal_access_token}"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
地址中有只有你知道的 {…} 部分(例如你的账户),请复制后自行填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mattermost-plugin-agents": {
"type": "http",
"url": "https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp",
"headers": {
"Authorization": "Bearer {personal_access_token}"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
Authorization机密 HTTP headerOptional. 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.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
这个地址需要填入你自己的值,所以我们无法替你读取工具列表。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 mattermost 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
这个地址需要填入你自己的账户信息,所以我们无法替你检查
- – 不适用
使用 OAuth 登录
这个地址需要填入你自己的账户信息,所以我们无法替你检查
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5728 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5728 个服务器的 88% 更新
- 基础检查结果等于或优于此分类中其他 5728 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Mattermost 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:Authorization
它在我的电脑上运行还是在云端?
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(2.12.0)于5天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Mattermost Agents Plugin
Self-hosted AI agents for Mattermost that act on your behalf through tools and MCP servers, plus a built-in Mattermost MCP server for external AI clients such as Claude Code, Claude Desktop, Cursor, and VS Code.
Mattermost Agents (plugin ID mattermost-ai) adds AI agents to a Mattermost server. You talk to an agent in a direct message, the Agents pane, or a channel. The agent can search and post in Mattermost, call tools on other systems through the Model Context Protocol (MCP), and work with files, all with the permissions of the person it is acting for. You choose the LLM, including models that run on your own infrastructure, so with a self-hosted model, conversations and data stay in your environment.
Does Mattermost have an official MCP server? Yes. It is built into this plugin and needs no separate installation. After an admin enables it, MCP clients connect to /plugins/mattermost-ai/mcp-server/mcp on your Mattermost server and sign in as a Mattermost user. See Mattermost MCP Server.
Key Features
- Agents that act on your behalf: Chat with a personal agent that searches and reads Mattermost, posts and sends messages, schedules posts and reminders, and uses tools from other systems. Configure multiple agents with their own instructions, models, and tool access. See Use Mattermost Agents as your personal AI assistant.
- Tools and MCP: Agents use built-in Mattermost tools, remote MCP servers with per-user OAuth (with a Connect card in the conversation), and tools registered by other Mattermost plugins. Dynamic tool loading keeps large tool catalogs out of the model's context.
- Built-in Mattermost MCP server: Connect Claude Code, Claude Desktop, Cursor, VS Code, or any MCP client that supports streamable HTTP to Mattermost, using OAuth with dynamic client registration or a personal access token. Over 100 tools run with the signed-in user's own permissions. See Mattermost MCP Server.
- Governance: Per-tool approval policies, user, team, and channel access controls for agents, attribute-based access control, server audit logging, token usage tracking, and OpenTelemetry tracing. Admins decide which tools exist and which need approval. See the Admin Guide.
- Bring your own LLM: Use local models through OpenAI-compatible APIs (Ollama, vLLM), or OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, Google Gemini and Vertex AI, Cohere, Mistral, and Scale AI. See LLM Provider Configuration and Implementing Sovereign AI.
- Summaries, search, and meetings: Summarize threads, unread messages, and channels; ask questions about a channel; search with keyword and semantic search; and summarize Mattermost Calls and Zoom meeting recordings.
- Files and artifacts: Agents create text files attached to their replies, read attachments, analyze images with vision-capable models, and render HTML artifacts in the conversation.
- Channel use: @mention an agent in a channel, or set a channel to auto-reply. Tool results in channels can be shared or kept private by the person who asked.
- Custom prompts: Save reusable prompts, pin them in the Agents pane, and share them with your team.
Some features depend on your Mattermost license level. See the license requirements.
Documentation
Documentation is available in the docs directory:
- User Guide: Use agents, tools, summaries, search, and meeting summaries
- Use Mattermost Agents as your personal AI assistant: What a personal agent can do across channels, MCP servers, and integrations
- Admin Guide: Installation, configuration, MCP servers, tool policies, access control, audit logging, tracing, and license requirements
- Mattermost MCP Server: Connect Claude Code, Claude Desktop, Cursor, VS Code, and other MCP clients to Mattermost
- LLM Provider Configuration: Configuration for supported LLM providers
- AWS Bedrock Setup: Use Amazon Bedrock with IAM instance profiles
- Implementing Sovereign AI: Deploy agents with local models and data control
- Usage Tips: Voice dictation, prompting techniques, and workflow tips
- Upgrading to Agents V2: Upgrade path, automatic migrations, and breaking changes from v1.x
- Load Testing: Configure the in-process mock LLM and load-test-ng Agents controller
- Feature documentation:
- Managing Agents: Create, edit, and version agents and control their access and MCP tools
- Custom Prompts: Save, share, and pin reusable prompts
- Channel Summaries: Use the Ask Agents about this channel button to summarize and analyze channel activity
- Multiplayer Tool Calling: Tool approval, credentials, and result visibility in shared channels
Installation
- Download the latest release from the releases page. You can also download the experimental latest master
- Upload and enable the plugin through the Mattermost System Console
- Configure your desired LLM provider settings
System Requirements
- Mattermost Server v12.0.0+
- PostgreSQL database with pgvector extension for semantic search capabilities
- Network access to your chosen LLM provider
Quick Start
After installation, complete these steps to get started:
- Navigate to System Console > Plugins > Agents
- Create an agent and configure it with your LLM provider credentials
- Set permissions for who can access the agent
- Open the Agents panel from any channel using the AI icon in the right sidebar
- Start interacting with your AI assistant
For detailed configuration instructions, see the Admin Guide.
Integration
Bridge Client
The plugin provides a Go client library for other Mattermost plugins and the Mattermost server to interact with the AI plugin's LLM Bridge API. This allows you to easily add AI capabilities to your own plugins or server-side features.
See the Bridge Client README for installation and usage instructions.
Development
Prerequisites
- Go 1.27+
- Node.js 24.11+
- Access to an LLM provider (OpenAI, Anthropic, etc.)
Local Setup
- Setup your Mattermost development environment by following the Mattermost developer setup guide. If you have a remote mattermost server you want to develop to you can skip this step.
- Setup your Mattermost plugin development environment by following the Plugin Developer setup guide.
- Clone the repository:
git clone https://github.com/mattermost/mattermost-plugin-agents.git
cd mattermost-plugin-agents
- Optional. If you are developing to a remote server, setup environment variables to deploy:
MM_SERVICESETTINGS_SITEURL=http://localhost:8065
MM_ADMIN_USERNAME= MM_ADMIN_PASSWORD=
- Run deploy to build the plugin
make deploy
Other make commands
- Run
make helpfor a list of all make commands - Run
make check-styleto verify code style - Run
make testto run the test suite - Run
make e2eto run the e2e tests - Run
make evalsto run prompt evaluations interactively (with TUI) - Run
make evals-cito run prompt evaluations in CI mode (non-interactive)
Benchmark Tests
The streaming code has benchmark tests to measure performance and detect regressions:
# Run all streaming benchmarks
go test -bench=. -benchmem ./llm/... ./streaming/...
Run specific benchmark
go test -bench=BenchmarkStreamToPost -benchmem ./streaming/...
Run with CPU profiling
go test -bench=BenchmarkReadAll -cpuprofile=cpu.prof ./llm/...
Benchmarks cover:
ReadAll()stream consumption with varying response sizesTokenUsageLoggingWrapperinterception overheadStreamToPost()full processing pipeline with WebSocket events
Multi-Provider Evaluation Support
The evaluation system supports testing with multiple LLM providers: OpenAI, Anthropic, and Azure OpenAI. By default, evaluations run against all providers, but you can target specific ones:
# Run with all providers (default)
make evals
Run with only Anthropic
LLM_PROVIDER=anthropic make evals
Run with OpenAI and Azure
LLM_PROVIDER=openai,azure make evals
Use a specific model
ANTHROPIC_MODEL=claude-opus-5-5 make evals
See cmd/evalviewer/README.md for complete documentation on environment variables and configuration options.
License
This repository is licensed under Apache-2, except for the enterprise directory which is licensed under the Mattermost Source Available License. See Mattermost Source Available License to learn more.