Back to Templates

🛠️ Mattermost Tool MCP Server 💪 all 19 operations

Created by

Created by: David Ashby || cfomodz

David Ashby

Last update

Last update 4 days ago

Categories

Share


🛠️ Mattermost Tool MCP Server

Complete MCP server exposing all Mattermost Tool operations to AI agents. Zero configuration needed - all 19 operations pre-built.

⚡ Quick Setup

  1. Import this workflow into your n8n instance
  2. Activate the workflow to start your MCP server
  3. Copy the webhook URL from the MCP trigger node
  4. Connect AI agents using the MCP URL

🔧 How it Works

MCP Trigger: Serves as your server endpoint for AI agent requests
Tool Nodes: Pre-configured for every Mattermost Tool operation
AI Expressions: Automatically populate parameters via $fromAI() placeholders
Native Integration: Uses official n8n Mattermost Tool tool with full error handling

📋 Available Operations (19 total)

Every possible Mattermost Tool operation is included:

📺 Channel (7 operations)

Add a user to a channel
Create a channel
Delete a channel
Get a page of members for a channel
Restore a soft-deleted channel
Search for a channel
Get statistics for a channel

💬 Message (3 operations)

Delete a message
Post a message
Post an ephemeral message

🔧 Reaction (3 operations)

Create a reaction
Delete a reaction
Get many reactions

👤 User (6 operations)

Create a user
Deactivate a user
Get a user by email
Get a user by ID
Get many users
Invite a user

🤖 AI Integration

Parameter Handling: AI agents automatically provide values for:
• Resource IDs and identifiers
• Search queries and filters
• Content and data payloads
• Configuration options

Response Format: Native Mattermost Tool API responses with full data structure

Error Handling: Built-in n8n error management and retry logic

💡 Usage Examples

Connect this MCP server to any AI agent or workflow:

Claude Desktop: Add MCP server URL to configuration
Custom AI Apps: Use MCP URL as tool endpoint
Other n8n Workflows: Call MCP tools from any workflow
API Integration: Direct HTTP calls to MCP endpoints

✨ Benefits

Complete Coverage: Every Mattermost Tool operation available
Zero Setup: No parameter mapping or configuration needed
AI-Ready: Built-in $fromAI() expressions for all parameters
Production Ready: Native n8n error handling and logging
Extensible: Easily modify or add custom logic

🆓 Free for community use! Ready to deploy in under 2 minutes.