Mattermost MCP Server
Comprehensive Mattermost administration and operations, including system configuration, user management, team and channel management, messaging, and plugin management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mattermost MCP Serverlist all users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mattermost MCP Server
MCP server for comprehensive Mattermost administration and operations, with priority focus on admin console functionality.
Features
Admin Console Operations
System Configuration: Get and update all system settings
System Status: Monitor system health and status
Analytics: Access system analytics and metrics
Logs: View server logs
User Management
List, create, and manage users
Update user roles (make admins)
Deactivate user accounts
Filter users by team and role
Team Management
List and create teams
Add users to teams
Manage team settings
Channel Management
List and create channels (public/private)
Add users to channels
Manage channel settings
Messaging
Send messages to channels
Retrieve channel posts
Plugin Management
List installed plugins
Enable/disable plugins
Upload new plugins
Related MCP server: Systems Manager
Installation
cd /Users/franksimpson/CascadeProjects/mattermost-mcp-server
npm installConfiguration
Add to your MCP settings file (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"mattermost": {
"command": "node",
"args": ["/Users/franksimpson/CascadeProjects/mattermost-mcp-server/index.js"],
"env": {
"MATTERMOST_URL": "https://docker-production-a32b.up.railway.app",
"MATTERMOST_TOKEN": "tfszhco5sfy1jbfif9cfyz4gyy"
}
}
}
}Available Tools
Admin Console
get_system_config- Get entire system configurationupdate_system_config- Update system settingsget_system_status- Get system health statusget_analytics- Get system analyticsget_logs- View server logs
Users
list_users- List all users with filteringget_user- Get specific user detailscreate_user- Create new userupdate_user_roles- Update user roles (admin access)deactivate_user- Deactivate user account
Teams
list_teams- List all teamscreate_team- Create new teamadd_user_to_team- Add user to team
Channels
list_channels- List channelscreate_channel- Create new channeladd_user_to_channel- Add user to channel
Messages
send_message- Send message to channelget_channel_posts- Get posts from channel
Plugins
list_plugins- List installed pluginsenable_plugin- Enable a plugindisable_plugin- Disable a plugin
Usage Examples
After configuration, you can use these tools through the MCP interface:
// Get system configuration
mcp_mattermost_get_system_config()
// List all users
mcp_mattermost_list_users({ page: 0, per_page: 100 })
// Create a new user
mcp_mattermost_create_user({
email: "user@example.com",
username: "newuser",
password: "securepassword123"
})
// Make a user admin
mcp_mattermost_update_user_roles({
user_id: "user_id_here",
roles: "system_admin system_user"
})
// Send a message
mcp_mattermost_send_message({
channel_id: "channel_id_here",
message: "Hello from MCP!"
})Requirements
Node.js 18+
Mattermost server with API access
Valid Mattermost API token with admin permissions
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/klogins-hash/mattermost-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server