Skip to main content
Glama

Mattermost MCP Server

MCP server for Mattermost with npx support.

Installation and Usage

Via npx

MATTERMOST_URL=https://mattermost.company.com \
MATTERMOST_TOKEN=your-token \
npx github:anton-sobolev-zhr/mattermost-mcp

MCPHub Configuration

{
  "mcpServers": {
    "mattermost": {
      "command": "npx",
      "args": ["github:anton-sobolev-zhr/mattermost-mcp"],
      "env": {
        "MATTERMOST_URL": "https://mattermost.company.com",
        "MATTERMOST_TOKEN": "your-token",
        "MATTERMOST_KEEPALIVE_MS": "86400000"
      }
    }
  }
}

MATTERMOST_KEEPALIVE_MS defaults to 24 hours. The server makes GET /api/v4/users/me requests to keep the session alive in configurations with ExtendSessionLengthWithActivity.

Related MCP server: time-messenger-mcp-server

Available Tools

  • get_thread — get thread content by post ID

  • get_post — get single post by ID

  • get_channel_posts — get channel messages

  • search_posts — search messages

  • list_channels — list channels in team

  • get_user — get user info by ID

  • send_message — send message to channel

  • get_unread — get unread messages, threads, and channel summary

  • test_connection — test Mattermost connection

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/anton-sobolev-zhr/mattermost-mcp'

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