mattermost-mcp-server
This project implements a Model Context Protocol (MCP) server for Mattermost integration. It connects to Mattermost API endpoints to retrieve and process various information, making it available through standard MCP transports.
Features
- Connects to Mattermost API endpoints
- Supports multiple transport modes:
- SSE (Server-Sent Events)
- Standard I/O
- Real-time message processing
- Team and channel-specific monitoring
- Secure token-based authentication
Requirements
- Node.js >= 22
- npm >= 10
- dotenvx
- dotenvx
Setup
- Clone this repository:
git clone https://github.com/kakehashi-inc/mattermost-mcp-server.git
cd mattermost-mcp-server
- Install dependencies:
npm install
- Set up your environment variables:
# Create .env file
cp .env.example .env
# Encrypt your .env file (optional but recommended for production)
dotenvx encrypt
Required environment variables:
MCP_PORT
: Port number for SSE transport mode (default: 8201)MATTERMOST_ENDPOINT
: Your Mattermost server URLMATTERMOST_TOKEN
: Your Mattermost authentication tokenMATTERMOST_TEAM_ID
: The ID of the team to monitorMATTERMOST_CHANNELS
: Comma-separated list of channel names to monitor
- Build the server:
npm run build
Usage
The server can be run in two transport modes:
SSE Transport Mode
npm start
Standard I/O Transport Mode
npm start -- --stdio
Development
npm run dev
: Start the server in development mode with hot reloadnpm run lint
: Run ESLintnpm run format
: Format code using Prettiernpm test
: Run testsnpm run inspect
: Run MCP inspector
References
- Model Context Protocol TypeScript SDK
- MCP inspector
License
MIT
Mattermost MCP Server
Project Details
- kakehashi-inc/mcp-server-mattermost
- MIT License
- Last Updated: 3/31/2025
Recomended MCP Servers

MCP Server allowing AI agents to control Google Chrome via the CodingBaby Extension
Cloudflare MCP server for IDE ( Cline, Windsurf, Cursor, etc )
MCP server helping models to understand your Vite/Nuxt app better.
An MCP server that provides LLMs with the latest stable package versions when coding
Created with StackBlitz

Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support,...
Prompt, run, edit, and deploy full-stack web applications using any LLM you want!
一次性获取 GitHub 当日可选个数的热门仓库的详细信息,包括名称、链接、描述和 README 内容,这样你就不用一篇一篇的翻README来总结博客了,可以节省AI 的 Tokens。
MCP Server for public disclosure information of Korean companies, powered by the dartpoint.ai API.