MCPInstall
Mattermost logo

Mattermost

by mattermost 257 stars mattermost/mattermost-plugin-agents

Official Mattermost MCP server, built into the Mattermost Agents plugin. Read, search and post.

READMEmaster

Mattermost Agents Plugin Download Latest Master Build

Self-hosted AI agents for Mattermost that act on your behalf through tools and MCP servers, plus a built-in Mattermost MCP server for external AI clients such as Claude Code, Claude Desktop, Cursor, and VS Code.

Mattermost Agents workspace showing specialized agents, multi-tool execution, and an interactive HTML artifact

Mattermost Agents (plugin ID mattermost-ai) adds AI agents to a Mattermost server. Talk to an agent in the Agents workspace, the Agents pane, a direct message, or a channel. Agents search and post in Mattermost, call external tools through the Model Context Protocol (MCP), and create files and interactive HTML artifacts using your permissions. You choose the LLM, including on-premises and self-hosted models so conversations and data stay in your environment.

Key features

  • Sovereign AI: Connect on-premises and self-hosted models (Ollama, vLLM, and OpenAI-compatible servers) for air-gapped or private deployments, or choose OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, Google Gemini, Vertex AI, Cohere (including Cohere North), and Mistral. See Sovereign AI deployments and Provider configuration.
  • Tools and MCP: Use built-in Mattermost tools, remote MCP servers with per-user OAuth or service accounts, and tools registered by other Mattermost plugins. See Use tools and approve actions.
  • Built-in Mattermost MCP server: Connect Claude Code, Claude Desktop, Cursor, VS Code, or any streamable HTTP MCP client to /plugins/mattermost-ai/mcp-server/mcp using OAuth or a personal access token, with over 100 tools running under the signed-in user's permissions. See Mattermost MCP server.
  • Governance and observability: Per-tool approval policies, user/team/channel and attribute-based access controls, delegated settings access, server audit logging, token usage logs, and OpenTelemetry tracing. See the Admin guide.
  • Summaries, search, and meetings: Summarize threads, channels, unread messages, and Mattermost Calls or Zoom recordings, and search with keyword and semantic search. See Summaries and AI search and Meeting summaries.
  • Files and HTML artifacts: Read attachments, analyze images with vision models, attach generated text files, and render sandboxed interactive HTML artifacts in the conversation. See Secure AI-generated links and HTML.
  • Dedicated Agents workspace: Create and manage multiple agents with custom instructions, models, version history, and conversation history from the Agents product view. See Use Mattermost Agents.
  • Channels and Skills: @mention agents or configure channel auto-reply with private/shared tool results, and save, pin, share, or auto-load reusable Skills.

Some features depend on your Mattermost license level. See License requirements.

Documentation

Product documentation lives in docs/ and is published on docs.mattermost.com (User guide, Admin guide).

For users

For admins

For developers

Installation and quick start

Check the system requirements in the Admin guide before installing.

  1. Download the latest release from the releases page (or the experimental latest master build).
  2. Upload and enable the plugin in System Console > Plugins > Plugin Management.
  3. Open Agents from the product switcher, go to Settings > AI services, and select Add an AI Service.
  4. Select All agents > Create agent, choose a username and service, and save.
  5. Start a conversation from the Agents page, the Agents pane, or a direct message.

See the Admin guide for full configuration details.

Development

Requires Go 1.27+ and Node.js 24.11+. Follow the Mattermost Server and Plugin setup guides, then build and deploy to a local or remote server:

export MM_SERVICESETTINGS_SITEURL=http://localhost:8065
export MM_ADMIN_USERNAME=<username>
export MM_ADMIN_PASSWORD=<password>
make deploy

Common commands (make help lists all targets):

  • make check: Run linters, unit tests, and drift checks
  • make test: Run Go and webapp unit tests
  • make e2e: Run Playwright end-to-end tests
  • make evals: Run prompt evaluations (see cmd/evalviewer/README.md)

License

This repository is licensed under Apache-2, except for the enterprise directory which is licensed under the Mattermost Source Available License. See Mattermost Source Available License to learn more.

More Communication MCP servers

Similar servers from the same category.

Meeting BaaS logo

Meeting BaaS

meeting-baas

Automates meeting management across Zoom, Google Meet, and Microsoft Teams with tools for recording, transcribing, searching, and sharing meeting content without manual note-taking.

search
Votars logo

Votars

scarletlabs-ai

Integrates with Votars platform to provide access to meeting transcripts, enabling retrieval and analysis of voice recordings through transcript fetching tools.

Communication
Nylas logo

Nylas

nylas-samples

Bridges email, calendar, and contact APIs across multiple providers, enabling dynamic code generation and authentication abstraction for unified communication integrations.

authentication
Slack logo

Slack

modelcontextprotocol

Channel management and messaging capabilities

managementmessaging