0.0.5 • Published 5 months ago

@dakatan/mcp-mattermost v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

MCP Mattermost Server

This is an MCP (Model Context Protocol) server for Mattermost, written in TypeScript. It provides various tools for interacting with the Mattermost API.

Installation

To run this tool, you need to set the following environment variables:

{
  ...
  "mcp-mattermost": {
    "command": "npx",
    "args": [
      "@dakatan/mcp-mattermost"
    ],
    "env": {
      "MCP_MATTERMOST_URL": "https://mattermost.x.y",
      "MCP_MATTERMOST_TOKEN": "",
      "MCP_MATTERMOST_TEAM_ID": "", // Optional: You can Use team ID instead of Team Name
      "MCP_MATTERMOST_TEAM_NAME": "" // Optional: You Use team name instead of Team ID
    }
  },
  ...
}

Configuration

To run this tool, you need to set the following environment variables:

Variable NameDescriptionRequired
MCP_MATTERMOST_URLThe URL of your Mattermost instanceYes
MCP_MATTERMOST_TOKENYour Mattermost personal access tokenYes
MCP_MATTERMOST_TEAM_IDThe ID of the Mattermost team you want to interact withNo*
MCP_MATTERMOST_TEAM_NAMEThe name of the Mattermost team you want to interact withNo*

* Either MCP_MATTERMOST_TEAM_ID or MCP_MATTERMOST_TEAM_NAME must be provided. If both are provided, MCP_MATTERMOST_TEAM_ID takes precedence.

Note: Using MCP_MATTERMOST_TEAM_ID is recommended as it's more reliable and efficient than using team names.

Tools Provided

The MCP server provides the following tools:

  • User management: mattermost_get_users, mattermost_search_users
  • Channel management: mattermost_search_channels, mattermost_get_channels, mattermost_get_my_channels
  • Post management: mattermost_search_posts, mattermost_get_posts, mattermost_create_post, mattermost_get_posts_thread, mattermost_pin_post, mattermost_unpin_post, mattermost_get_pinned_posts
  • Reaction management: mattermost_add_reaction, mattermost_remove_reaction, mattermost_get_reactions
0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago