Skip to main content

Mattermost MCP

Kaji can read from and write to Mattermost on your behalf — sending messages, searching threads, managing channels, and more. This is particularly powerful when Kaji is already being used inside a Mattermost thread, since it can reference the ongoing conversation as context.


What Kaji can do

  • Send messages to any channel or direct message
  • Reply within threads
  • Search for messages across channels
  • Create new channels
  • Look up user information
  • React to messages with emoji
  • Find and summarize threads

Example prompts

Post a message in the #engineering channel: "Deployment complete ✅"
Summarize the last 20 messages in the #product thread and post a summary here
Find all messages from @alice in the last week that mention "Q1 report"
Create a channel called "project-alpha" in the shakudo-internal team
Send a direct message to @bob with the status update from this thread

Using Mattermost as Kaji's primary interface

Mattermost is also the easiest way to use Kaji — you don't need a full Code-Server session. Just start a thread, mention @kaji, and start working.

See Using Kaji in Mattermost for the full guide.


Configuration

The Mattermost MCP is pre-configured in all Kaji sessions using your Shakudo environment credentials. No additional setup is needed.

If you are setting up a custom Kaji environment, the required environment variables are:

VariableDescription
MATTERMOST_URLInternal URL of your Mattermost server
MATTERMOST_TOKENBot or user API token
MATTERMOST_TEAMDefault team name