Skip to main content
Glama

Mattermost MCP Server

mattermost-mcp-服务器

该项目实现了一个用于 Mattermost 集成的模型上下文协议 (MCP) 服务器。它连接到 Mattermost API 端点以检索和处理各种信息,并通过标准 MCP 传输提供这些信息。

特征

  • 连接到 Mattermost API 端点
  • 支持多种传输模式:
    • SSE(服务器发送事件)
    • 标准 I/O
  • 实时消息处理
  • 团队和渠道特定监控
  • 基于令牌的安全身份验证

要求

  • Node.js >= 22
  • npm >= 10
  • dotenvx

设置

  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

用法

该服务器可以以两种传输模式运行:

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 检查器

参考

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

连接到 Mattermost 的模型上下文协议服务器,允许 AI 模型通过 SSE 或标准 I/O 传输模式实时监控和处理来自特定团队和渠道的消息。

  1. 特征
    1. 要求
      1. 设置
        1. 用法
          1. SSE 传输模式
          2. 标准 I/O 传输模式
        2. 发展
          1. 参考
            1. 执照

              Related MCP Servers

              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that enables AI models to interact with SourceSync.ai's knowledge management platform for managing documents, ingesting content from various sources, and performing semantic searches.
                Last updated -
                25
                723
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                A server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.
                Last updated -
                1
                8
                TypeScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                A basic Model Context Protocol server implementation that demonstrates core functionality including tools and resources for AI chat applications.
                Last updated -
                Python
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
                Last updated -
                1
                Python

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/kakehashi-inc/mattermost-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server