PM

pvev/mattermost-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

44 stars 31 forks 品質 63 トレンド 20

pvev/mattermost-mcp は [https://github.com/pvev/mattermost-mcp.] からインポートされた MCP サーバー候補です

概要

pvev/mattermost-mcp は [https://github.com/pvev/mattermost-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

MCPの特長 ほとんどの API 用の Server は、Claude や他の MCP クライアントが、ほとんどの作業スペースとやり取りできるようにします。

##特徴

このMCPサーバーは、次のような事項を含むMCPサーバーと連携するためのツールを提供しています。

トピック監視

サーバには、次のようなトピック監視システムが含まれます。

  • 関心のあるトピックを含むメッセージの指定されたチャンネルを監視
  • 設定可能なスケジュールで実行(cron構文を使用して)
  • 関連するトピックが議論されたときに通知を送信する
  • トピックが見つかったときに指定されたチャンネルであなたに言及

チャネルツール

###メッセージツール

  • [mattermost_post_message: チャンネルに新しいメッセージを投稿する
  • [mattermost_add_reaction]: emoji 反応をメッセージに追加する

監視ツール

ユーザーツール

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Title changed by Matty

MCP Server for the Mattermost API, enabling Claude and other MCP clients to interact with Mattermost workspaces.

Features

This MCP server provides tools for interacting with Mattermost, including:

Topic Monitoring

The server includes a topic monitoring system that can:

  • Monitor specified channels for messages containing topics of interest
  • Run on a configurable schedule (using cron syntax)
  • Send notifications when relevant topics are discussed
  • Mention you in a specified channel when topics are found

Channel Tools

  • mattermost_list_channels: List public channels in the workspace
  • mattermost_get_channel_history: Get recent messages from a channel

Message Tools

  • mattermost_post_message: Post a new message to a channel
  • mattermost_reply_to_thread: Reply to a specific message thread
  • mattermost_add_reaction: Add an emoji reaction to a message
  • mattermost_get_thread_replies: Get all replies in a thread

Monitoring Tools

  • mattermost_run_monitoring: Trigger the topic monitoring process immediately

User Tools

  • mattermost_get_users: Get a list of users in the workspace
  • mattermost_get_user_profile: Get detailed profile information for a user

Setup

  1. Clone this repository:
git clone https://github.com/yourusername/mattermost-mcp.git
cd mattermost-mcp
  1. Install dependencies:
npm install
  1. Configure the server:

    The repository includes a config.json file with placeholder values. For your actual configuration, create a config.local.json file (which is gitignored) with your real credentials:

{
  "mattermostUrl": "https://your-mattermost-instance.com/api/v4",
  "token": "your-personal-access-token",
  "teamId": "your-team-id",
  "monitoring": {
    "enabled": false,
    "schedule": "*/15 * * * *",
    "channels": ["town-square", "off-topic"],
    "topics": ["tv series", "champions league"],
    "messageLimit": 50
  }
}
This approach keeps your real credentials out of the repository while maintaining the template for others.
  1. Build the server:
npm run build
  1. Run the server:
npm start

Topic Monitoring Configuration

The monitoring system can be configured with the following options:

  • enabled (boolean): Whether monitoring is enabled
  • schedule (string): Cron expression for when to check for new messages (e.g., “*/15 * * * *” for every 15 minutes)
  • channels (string[]): Array of channel names to monitor
  • topics (string[]): Array of topics to look for in messages
  • messageLimit (number): Number of recent messages to analyze per check
  • notificationChannelId (string, optional): Channel ID where notifications will be sent. If not provided, the system will automatically use a direct message channel.
  • userId (string, optional): Your user ID for mentions in notifications. If not provided, the system will automatically detect the current user.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →