Mattermost integration that connects to MCP servers, enabling AI-driven tool use and conversations within Mattermost channels and threads.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Mattermost MCP Host.
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.


mcp-servers.json.#).The integration works as follows:
mattermost_client.py): Connects to the Mattermost server via API and WebSocket to listen for messages in a specified channel.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/llm_agent.py): A LangGraphAgent is created, configured with the chosen LLM provider and the dynamically loaded tools from all connected MCP servers.main.py):
#), it's parsed as a direct command to list servers/tools or call a specific tool via the corresponding MCPClient.LangGraphAgent.MCPClient instances, and generates a response.Clone the repository:
Install:
Configure Environment (.env file):
Copy the .env.example and fill in the values or
Create a .env file in the project root (or set environment variables):
See .env.example for more options.
Configure MCP Servers:
Edit src/mattermost_mcp_host/mcp-servers.json to define the MCP servers you want to connect to. See src/mattermost_mcp_host/mcp-servers-example.json.
Depending on the server configuration, you might npx, uvx, docker installed in your system and in path.
Start the Integration:
mcp-servers.jsonTAVILY_API_KEY in .env fileOnce the integration is running and connected:
#) for specific actions:
#help - Display help information.#servers - List configured and connected MCP servers.#<server_name> tools - List available tools for <server_name>.#<server_name> call <tool_name> <json_arguments> - Call <tool_name> on <server_name> with arguments provided as a JSON string.
#my-server call echo '{"message": "Hello MCP!"}'#<server_name> resources - List available resources for <server_name>.#<server_name> prompts - List available prompts for <server_name>.
Please feel free to open a PR.
This project is licensed under the MIT License - see the LICENSE file for details.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/jagan-shanmugam-mattermost-mcp-host)<a href="https://allmcps.com/mcp/jagan-shanmugam-mattermost-mcp-host"><img src="https://allmcps.com/api/badge/jagan-shanmugam-mattermost-mcp-host?style=directory" alt="Mattermost MCP Host on AllMCPs" /></a>