mattermost-mcp-host logo

mattermost-mcp-host将 Model Context 协议服务器连接至 Mattermost,通过 LangGraph 基于的代理。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

一款 Mattermost 插件,将 Model Context 协议 (MCP) 服务器连接至 LangGraph 基于的 AI 代理,提供了一个智能界面来与用户交互和在 Mattermost 中直接执行工具。该插件功能如下: Mattermost 连接 (mattermost_client.py):连接至 Mattermost 服务端,通过 API 和 WebSocket 组播收听指定通道的消息。 MCP 连接 (mcp_client.py):建立连接 (主要是 stdio) 至在 src/mattermost_mcp_host/mcp-servers.json 中定义的每个 MCP 服务端。它探索了每个服务器上的可用工具。 代理初始化 (agent/llm_agent.py):创建 LangGraph Agent,并配置所选择的 LLM 供应商和从所有已连接的 MCP 服务端动态载入的工具。 消息处理 (main.py):如果消息以命令前缀 (#) 开头,就会解析为直接命令来列出服务端/工具或调用特定的工具通过相应的 MCP 客户端。否则,会通过 LangGraph Agent 处理信息 (包括线程记录)。 插件包含了 LangGraph 代理集成、MCP 服务端集成、动态载入工具、线程感知会话、智能工具使用和 MCP 能力探测等功能。同时,插件还提供了直接命令接口,让用户可以使用命令前缀直接与 MCP 服务端交互。该插件使用 .env 文件配置,并可以使用 uv 进行安装。示例中包括了在 Mattermost MCP 服务端中使用的示例,其中包括在搜索问题和发布到频道等方面的例子。

主要功能

  • LangGraph 代理集成
  • MCP 服务端集成
  • 动态载入工具
  • 线程感知会话
  • 智能工具使用
  • MCP 能力探测

价格

模型
Free
评分
暂无评价

使用场景

Github 代理在支持频道

这个插件可以用来搜索存在的问题和 PRs并创建一个新问题如果不存在的问题

搜索网络信息并发布到频道

这个插件可以用来搜索网络并发布结果到一个 Mattermost 频道

优点 & 缺点

优点

  • 智能界面来与用户交互和执行工具
  • 动态载入工具从已连接的 MCP 服务端
  • 线程感知会话促进协调的会话

缺点

  • 需要配置 MCP 服务端和 Mattermost 连接
  • 在大规模部署时的可扩展性和性能信息并不充分

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are the main limitations of mattermost-mcp-host?

It needs manual configuration of both Mattermost and MCP server settings, and there is limited public information on its scalability or performance under heavy load.

Asked by Petros Georgiou · Apr 13, 2026

Can the integration handle multiple threads of conversation?

Yes, the LangGraphAgent is thread-aware, maintaining context per Mattermost thread to provide coherent, ongoing interactions with users.

Asked by Ivana Novak · Mar 15, 2026

What is required to connect to MCP servers?

Create a mcp-servers.json file listing each MCP server’s address and credentials. The mcp_client.py will use stdio connections to discover and load available tools from these servers.

Asked by Priya Nair · Mar 6, 2026

How do I set up the Mattermost connection for mattermost-mcp-host?

Configure the Mattermost server details in mattermost_client.py, including API URL, WebSocket endpoint, and authentication token. Once set, the integration will listen to the specified channel for user messages.

Asked by Rania Nasser · Feb 13, 2026

提问

服务配缩器 的替代品