Integration

Mattermost integration

Team collaboration and messaging platform API. Manage users, teams, channels, and messages programmatically. Build integrations, automate workflows, and extend Mattermost functionality. Perfect for team communication, DevOps integrations, and enterprise chat automation.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Mattermost.Built from the 39 Mattermost tools below, on the connection you add once.

Common Mattermost use cases

  • Navigation
  • User management
  • Team roster
  • Cleanup
  • Member management
  • Configuration check
  • Invitations
  • Start DM
  • File info
  • Reactions

What you can do with Mattermost

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Post, 9 operations

  • create_postCreate postPOSTAgents: ask firstCreates a new message post in a channel.
  • delete_postDelete postDELETEAgents: ask firstDeletes a post from a channel.
  • get_postGet postGETAgents: ask firstRetrieves a specific post by ID.
  • get_posts_for_channelGet posts for channelGETAgents: ask firstRetrieves posts from a channel.
  • get_post_threadGet post threadGETAgents: ask firstRetrieves a post and its entire thread.
  • pin_postPin postPOSTAgents: ask firstPins a post to its channel.
  • search_postsSearch postsPOSTAgents: ask firstSearches for posts matching the query.
  • unpin_postUnpin postPOSTAgents: ask firstUnpins a post from its channel.
  • update_postUpdate postPUTAgents: ask firstUpdates an existing post.

Channel, 8 operations

  • create_channelCreate channelPOSTAgents: ask firstCreates a new channel in a team.
  • create_direct_channelCreate direct channelPOSTAgents: ask firstCreates a direct message channel between two users.
  • create_group_channelCreate group channelPOSTAgents: ask firstCreates a group message channel.
  • delete_channelDelete channelDELETEAgents: ask firstArchives (soft deletes) a channel.
  • get_channelGet channelGETAgents: ask firstRetrieves details of a specific channel.
  • get_user_channelsGet user channelsGETAgents: ask firstRetrieves all channels a user belongs to in a team.
  • list_channelsList channelsGETAgents: ask firstRetrieves public channels in a team.
  • patch_channelPatch channelPUTAgents: ask firstPartially updates a channel.

User, 6 operations

  • create_userCreate userPOSTAgents: ask firstCreates a new user account.
  • get_meGet meGETAgents: ask firstRetrieves the current authenticated user's details.
  • get_userGet userGETAgents: ask firstRetrieves a user's profile by their ID.
  • get_user_by_usernameGet user by usernameGETAgents: ask firstRetrieves a user's profile by their username.
  • list_usersList usersGETAgents: ask firstRetrieves a paginated list of users.
  • update_userUpdate userPUTAgents: ask firstPartially updates a user's profile.

Team, 5 operations

  • create_teamCreate teamPOSTAgents: ask firstCreates a new team.
  • delete_teamDelete teamDELETEAgents: ask firstDeletes (archives) a team.
  • get_teamGet teamGETAgents: ask firstRetrieves details of a specific team.
  • get_user_teamsGet user teamsGETAgents: ask firstRetrieves all teams a user is a member of.
  • list_teamsList teamsGETAgents: ask firstRetrieves all teams the user has access to.

File, 3 operations

  • get_fileGet fileGETAgents: ask firstDownloads a file by its ID.
  • get_file_infoGet file infoGETAgents: ask firstRetrieves metadata for a file.
  • upload_fileUpload filePOSTAgents: ask firstUploads files to a channel for later attachment.

Channel member, 2 operations

  • add_channel_memberAdd channel memberPOSTAgents: ask firstAdds a user to a channel.
  • get_channel_membersGet channel membersGETAgents: ask firstRetrieves paginated list of channel members.

Reaction, 2 operations

  • add_reactionAdd reactionPOSTAgents: ask firstAdds an emoji reaction to a post.
  • get_reactions_for_postGet reactions for postGETAgents: ask firstRetrieves all reactions for a post.

Status, 2 operations

  • get_user_statusGet user statusGETAgents: ask firstRetrieves a user's current online status.
  • update_user_statusUpdate user statusPUTAgents: ask firstManually sets a user's status.

Team member, 2 operations

  • add_team_memberAdd team memberPOSTAgents: ask firstAdds a user to a team.
  • get_team_membersGet team membersGETAgents: ask firstRetrieves paginated list of team members.

Use Mattermost from Claude Code, Cursor or Codex

Connect Mattermost in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Mattermost operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Mattermost

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Mattermost once

    Add your Mattermost connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Mattermost integration FAQ

What can you do with the Mattermost integration?

LiveContext exposes 39 operations on Mattermost, covering post, channel, user and team. Common uses include Navigation, User management and Team roster.

Popular integrations

Browse the whole catalog