Skip to main content
Glama
kakehashi-inc

Mattermost MCP Server

mattermost-mcp-server

このプロジェクトは、Mattermost統合のためのモデルコンテキストプロトコル(MCP)サーバーを実装します。Mattermost APIエンドポイントに接続して様々な情報を取得・処理し、標準のMCPトランスポートを介して利用できるようにします。

特徴

  • Mattermost APIエンドポイントに接続します

  • 複数のトランスポート モードをサポートします。

    • SSE (サーバー送信イベント)

    • 標準I/O

  • リアルタイムメッセージ処理

  • チームおよびチャネル固有の監視

  • 安全なトークンベースの認証

Related MCP server: Mattermost MCP Server

要件

設定

  1. このリポジトリをクローンします:

git clone https://github.com/kakehashi-inc/mattermost-mcp-server.git
cd mattermost-mcp-server
  1. 依存関係をインストールします:

npm install
  1. 環境変数を設定します。

# Create .env file
cp .env.example .env

# Encrypt your .env file (optional but recommended for production)
dotenvx encrypt

必要な環境変数:

  • MCP_PORT : SSEトランスポートモードのポート番号(デフォルト: 8201)

  • MATTERMOST_ENDPOINT : MattermostサーバーのURL

  • MATTERMOST_TOKEN : Mattermost認証トークン

  • MATTERMOST_TEAM_ID : 監視するチームのID

  • MATTERMOST_CHANNELS : 監視するチャンネル名のカンマ区切りリスト

  1. サーバーを構築します。

npm run build

使用法

サーバーは 2 つのトランスポート モードで実行できます。

SSEトランスポートモード

npm start

標準I/Oトランスポートモード

npm start -- --stdio

発達

  • npm run dev : ホットリロードで開発モードでサーバーを起動する

  • npm run lint : ESLint を実行する

  • npm run format : Prettier を使ってコードをフォーマットする

  • npm test : テストを実行する

  • npm run inspect : MCPインスペクターを実行する

参考文献

ライセンス

マサチューセッツ工科大学

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedmattermost_search

TDQS

B3.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as fetching messages with optional search, leaving no room for confusion or misselection.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare against. The name 'mattermost_search' follows a clear and descriptive pattern, but consistency cannot be assessed across a set of one.

Tool Count2/5

A single tool is too few for a server named 'Mattermost MCP Server', which implies broader functionality for interacting with Mattermost (e.g., posting messages, managing channels, users). This minimal toolset feels thin and incomplete for the apparent scope.

Completeness2/5

The tool surface is severely incomplete for a Mattermost integration. While 'mattermost_search' covers fetching messages, there are obvious gaps such as creating messages, managing channels, handling users, or other core Mattermost operations, which will likely cause agent failures in typical workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers