mattermost-mcp-服务器
该项目实现了一个用于 Mattermost 集成的模型上下文协议 (MCP) 服务器。它连接到 Mattermost API 端点以检索和处理各种信息,并通过标准 MCP 传输提供这些信息。
特征
连接到 Mattermost API 端点
支持多种传输模式:
SSE(服务器发送事件)
标准 I/O
实时消息处理
团队和渠道特定监控
基于令牌的安全身份验证
要求
Node.js >= 22
npm >= 10
dotenvx
设置
克隆此存储库:
安装依赖项:
设置环境变量:
所需的环境变量:
MCP_PORT
:SSE 传输模式的端口号(默认值:8201)MATTERMOST_ENDPOINT
:您的 Mattermost 服务器 URLMATTERMOST_TOKEN
:您的 Mattermost 身份验证令牌MATTERMOST_TEAM_ID
:要监控的团队的 IDMATTERMOST_CHANNELS
:要监控的通道名称的逗号分隔列表
构建服务器:
用法
该服务器可以以两种传输模式运行:
SSE 传输模式
标准 I/O 传输模式
发展
npm run dev
:使用热重载以开发模式启动服务器npm run lint
:运行 ESLintnpm run format
:使用 Prettier 格式化代码npm test
:运行测试npm run inspect
:运行 MCP 检查器
参考
执照
麻省理工学院
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.
Tools
连接到 Mattermost 的模型上下文协议服务器,允许 AI 模型通过 SSE 或标准 I/O 传输模式实时监控和处理来自特定团队和渠道的消息。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA 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 -2515
- -securityAlicense-qualityA server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.Last updated -010MIT License
- -securityFlicense-qualityA basic Model Context Protocol server implementation that demonstrates core functionality including tools and resources for AI chat applications.Last updated -