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

参考

执照

麻省理工学院

-
security - not tested
A
license - permissive license
-
quality - not tested

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

              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.
                Last updated -
                19
                TypeScript
                • Apple
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides seamless interaction with Workato's API through custom AI tools, enabling management of recipes, connections, connectors, folders, and activity logs.
                Last updated -
                TypeScript
                MIT License
                • Apple
                • Linux
              • A
                security
                F
                license
                A
                quality
                A Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.
                Last updated -
                12
                194
                JavaScript
                • Apple
              • -
                security
                F
                license
                -
                quality
                A demonstration implementation of the Model Context Protocol server that facilitates communication between AI models and external tools while maintaining context awareness.
                Last updated -
                Python
                • Linux
                • Apple

              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