mattermost-mcp-host logo

mattermost-mcp-hostA Mattermost integration that connects to Model Context Protocol (MCP) servers, leveraging a LangGraph-based Agent.

(0)
Daniel NikulshynReviewed by Daniel Nikulshyn·Updated July 2026

Overview

A Mattermost integration that connects to Model Context Protocol (MCP) servers, leveraging a LangGraph-based AI agent to provide an intelligent interface for interacting with users and executing tools directly within Mattermost. This integration, which works as follows: Mattermost Connection (mattermost_client.py): Connects to the Mattermost server via API and WebSocket to listen for messages in a specified channel. MCP Connections (mcp_client.py): Establishes connections (primarily stdio) to each MCP server defined in src/mattermost_mcp_host/mcp-servers.json. It discovers available tools on each server. Agent Initialization (agent/llm_agent.py): A LangGraphAgent is created, configured with the chosen LLM provider and the dynamically loaded tools from all connected MCP servers. Message Handling (main.py): If a message starts with the command prefix (#), it's parsed as a direct command to list servers/tools or call a specific tool via the corresponding MCPClient. Otherwise, the message (along with thread history) is passed to the LangGraphAgent. The integration features a LangGraph Agent Integration, MCP Server Integration, Dynamic Tool Loading, Thread-Aware Conversations, Intelligent Tool Use, and MCP Capability Discovery. Direct command interface is also provided to interact directly with MCP servers using a command prefix. The integration uses a .env file for configuration, and can be installed using uv. The demo includes examples for searching issues and posting to a channel using Mattermost-MCP-server.

Key features

  • LangGraph Agent Integration
  • MCP Server Integration
  • Dynamic Tool Loading
  • Thread-Aware Conversations
  • Intelligent Tool Use
  • MCP Capability Discovery

Pricing

Model
Free
Category
MCP Servers
Rating
No reviews yet

Use cases

Github Agent in support channel

The integration can be used to search existing issues and PRs and create a new issue if not found.

Search internet and post to a channel

The integration can be used to search the internet and post results to a Mattermost channel.

Pros & Cons

Pros

  • Intelligent interface for interacting with users and executing tools
  • Dynamic tool loading from connected MCP servers
  • Thread-aware conversations for coherent interactions

Cons

  • Requires configuration of MCP servers and Mattermost connection
  • Limited information on scalability and performance

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Q&A

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

Ask a question

MCP Servers alternatives