Cover image
Try Now
2025-03-31

3 years

Works with Finder

0

Github Watches

0

Github Forks

1

Github Stars

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

Setup

  1. Clone this repository:
git clone https://github.com/kakehashi-inc/mattermost-mcp-server.git
cd mattermost-mcp-server
  1. Install dependencies:
npm install
  1. 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 URL
  • MATTERMOST_TOKEN: Your Mattermost authentication token
  • MATTERMOST_TEAM_ID: The ID of the team to monitor
  • MATTERMOST_CHANNELS: Comma-separated list of channel names to monitor
  1. 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 reload
  • npm run lint: Run ESLint
  • npm run format: Format code using Prettier
  • npm test: Run tests
  • npm run inspect: Run MCP inspector

References

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    2 (1)
    Avatar
    user_oloKXJH0
    2025-04-15

    I've recently started using MCP_Servers by Baptoshi and I'm highly impressed with its performance. The servers are incredibly reliable, with excellent uptime and speed. Easy to set up and manage, perfect for both beginners and experienced users. For anyone looking for top-notch server solutions, MCP_Servers is definitely worth checking out!