# Mattermost

The Mattermost MCP server for Claude Code connects external clients to workspace messages, search, and collaboration tools.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 257 repo stars
- Author: mattermost
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mattermost/mattermost-plugin-agents
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/mattermost

## What it does

The built-in plugin server exposes more than 100 tools for reading chats, managing tasks, and handling attachments under the authenticated user's permissions. Clients connect via streamable HTTP using personal access tokens or OAuth. The setup requires Mattermost Server v12.0.0 or higher with a PostgreSQL database and the pgvector extension.

The system supports local models via OpenAI-compatible APIs alongside major cloud providers. Administrators manage tool approval policies and access controls across channels and teams.

Users can summarize threads, perform semantic searches, and process meeting recordings directly through connected agents.

## Requirements
- Remote server: `https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp`

## Install

### Claude Code (native platform)

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http mattermost-plugin-agents https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp
```

### Codex

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
codex mcp add mattermost --url https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp
```

### Cursor

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mattermost": {
            "url": "https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp"
        }
    }
}
```

### GitHub Copilot

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mattermost": {
            "type": "http",
            "url": "https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp"
        }
    }
}
```

### Gemini CLI

1. **Template address**
- The server address is a template: replace {…} or […] with your own values

2. **Platform CLI: remote server**
```bash
gemini mcp add -t http mattermost https://{mattermost_host}/plugins/mattermost-ai/mcp-server/mcp
```

## When to use it
- search and read workspace messages
- post messages and schedule reminders
- summarize discussion threads
- manage user access controls

## Example prompts
- Connect the Mattermost MCP server
- Find the latest message in the channel
- Summarize the current thread

## Similar
- [postgres](https://affpapa.org/en/nevibecode/skills/postgres.md) — skill · 1500 installs
- [postgres-hybrid-text-search](https://affpapa.org/en/nevibecode/skills/postgres-hybrid-text-search.md) — skill · 411 installs
- [neon](https://affpapa.org/en/nevibecode/skills/neon.md) — skill · 268000 installs
- [insforge-debug](https://affpapa.org/en/nevibecode/skills/insforge-debug.md) — skill · 63100 installs
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16928 repo stars
- [drizzle-orm-patterns](https://affpapa.org/en/nevibecode/skills/drizzle-orm-patterns.md) — skill · 5900 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
