MA

Mattermost MCP Server

Published by toffguy77

Mattermost: read unreads, mentions, channels and threads; opt-in posting, edits, reactions

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.1.0
SOURCE CHECKED
Nov 29, 2026

Quick answers

How do I add Mattermost MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'MATTERMOST_URL=<your-mattermost-url>' --env 'MATTERMOST_ACCESS_TOKEN=<your-mattermost-access-token>' --env 'MATTERMOST_TOKEN=<your-mattermost-token>' --env 'MATTERMOST_CSRF=<your-mattermost-csrf>' --transport stdio mattermost -- uvx mattermost-mcp-server

Replace the <your-…> placeholder with your own MATTERMOST_URL and MATTERMOST_ACCESS_TOKEN and MATTERMOST_TOKEN and MATTERMOST_CSRF.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "mattermost": {
      "command": "uvx",
      "args": [
        "mattermost-mcp-server"
      ],
      "env": {
        "MATTERMOST_URL": "<your-mattermost-url>",
        "MATTERMOST_ACCESS_TOKEN": "<your-mattermost-access-token>",
        "MATTERMOST_TOKEN": "<your-mattermost-token>",
        "MATTERMOST_CSRF": "<your-mattermost-csrf>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own MATTERMOST_URL and MATTERMOST_ACCESS_TOKEN and MATTERMOST_TOKEN and MATTERMOST_CSRF.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add mattermost --env 'MATTERMOST_URL=<your-mattermost-url>' --env 'MATTERMOST_ACCESS_TOKEN=<your-mattermost-access-token>' --env 'MATTERMOST_TOKEN=<your-mattermost-token>' --env 'MATTERMOST_CSRF=<your-mattermost-csrf>' -- uvx mattermost-mcp-server

Replace the <your-…> placeholder with your own MATTERMOST_URL and MATTERMOST_ACCESS_TOKEN and MATTERMOST_TOKEN and MATTERMOST_CSRF.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "mattermost": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mattermost-mcp-server"
      ],
      "env": {
        "MATTERMOST_URL": "<your-mattermost-url>",
        "MATTERMOST_ACCESS_TOKEN": "<your-mattermost-access-token>",
        "MATTERMOST_TOKEN": "<your-mattermost-token>",
        "MATTERMOST_CSRF": "<your-mattermost-csrf>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own MATTERMOST_URL and MATTERMOST_ACCESS_TOKEN and MATTERMOST_TOKEN and MATTERMOST_CSRF.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "mattermost": {
      "command": "uvx",
      "args": [
        "mattermost-mcp-server"
      ],
      "env": {
        "MATTERMOST_URL": "<your-mattermost-url>",
        "MATTERMOST_ACCESS_TOKEN": "<your-mattermost-access-token>",
        "MATTERMOST_TOKEN": "<your-mattermost-token>",
        "MATTERMOST_CSRF": "<your-mattermost-csrf>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own MATTERMOST_URL and MATTERMOST_ACCESS_TOKEN and MATTERMOST_TOKEN and MATTERMOST_CSRF.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Mattermost MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Mattermost MCP Server need an API key?

To run it on your computer, set MATTERMOST_URL, MATTERMOST_ACCESS_TOKEN, MATTERMOST_TOKEN and MATTERMOST_CSRF first, with values from the publisher.

Is Mattermost MCP Server official?

It's published by toffguy77. The Official MCP Registry accepts names under io.github.toffguy77 only from the GitHub account or organisation toffguy77. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

pypi · mattermost-mcp-server@1.1.0
View source repository