Skip to content
VS Code

Mattermost for VS Code

io.github.toffguy77/mattermost-mcp

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

client:VS Code transport:stdio runtime:pypi

Install Mattermost in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mattermost-url",
      "description": "MATTERMOST_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mattermost-access-token",
      "description": "MATTERMOST_ACCESS_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mattermost-enable-write",
      "description": "MATTERMOST_ENABLE_WRITE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mattermost-token",
      "description": "MATTERMOST_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mattermost-csrf",
      "description": "MATTERMOST_CSRF",
      "password": true
    }
  ],
  "servers": {
    "mattermost-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mattermost-mcp-server"
      ],
      "env": {
        "MATTERMOST_URL": "${input:mattermost-url}",
        "MATTERMOST_ACCESS_TOKEN": "${input:mattermost-access-token}",
        "MATTERMOST_ENABLE_WRITE": "${input:mattermost-enable-write}",
        "MATTERMOST_TOKEN": "${input:mattermost-token}",
        "MATTERMOST_CSRF": "${input:mattermost-csrf}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Mattermost in other clients