MCP server bridging Claude Desktop with self-hosted Mattermost.
Strong tool naming (verb_noun pattern throughout) and comprehensive descriptions (avg 180 chars, well within 10-1024 range). All 20 tools have clear, actionable descriptions explaining WHAT, WHEN, and consequences. Input schemas present with type definitions for all parameters. Good parameter descriptions. However, output schemas are not explicitly documented in the source, responses are inferred from implementation. Error handling is present but generic (safe_call wrapper returns structured errors). Missing: per-tool output schema documentation, detailed parameter constraints (enums, ranges), and explicit recovery guidance in error messages.
Add an emoji reaction (e.g. "thumbsup", "heart") to a post. ⚠️ This is an immediate WRITE operation visible to other users. Show the user what reaction will be added and obtain explicit approval first.
Delete a message that you (the authenticated user) originally sent. The server enforces that you can only delete your own messages. ⚠️ This is an immediate, irreversible WRITE operation. Show the user the message that will be deleted and obtain explicit approval first.
Edit an existing message that you (the authenticated user) originally sent. The server enforces that you can only edit your own messages — attempts to edit another user's message return a permission error. ⚠️ This is an immediate, irreversible WRITE operation. Show the user the before/after preview and obtain explicit approval first.
Heuristically locate messages in a channel that match a free-text description. Tokenizes the description, drops stopwords, runs a scoped search on the channel, and returns the top 10 most recent matches. The LLM should pick the right one.
Search for Mattermost users by username, first name, last name, or nickname. Use this when the user refers to someone by name and you need a username or user_id before sending a DM or mentioning them.
Output schemas not documented. Tool descriptions explain inputs but do not specify return structure (fields, types, pagination). LLMs cannot plan downstream calls or extract data reliably without knowing what fields to expect.
Parameter constraints not formalized. 'limit' parameters lack min/max bounds (e.g., get_channel_messages accepts 1-200 but not stated in schema). 'hours' in get_my_mentions has max 168 mentioned in description but not in schema enum/constraint.
Error messages are generic. safe_call() returns structured errors (auth_not_configured, forbidden, not_found) but lacks recovery guidance. E.g., 'not_found' should suggest 'Try search_messages() or list_my_channels() to find the resource.'
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | <=2025-11-25 | v2 |
Fetch recent messages from a Mattermost channel, newest first. Use this when summarizing or quoting a channel's recent activity. Pagination: pass the oldest returned post_id back as before_post_id to fetch the next older page.
Find recent messages that mention the authenticated user across all teams. Useful for "find messages I was @-mentioned in that I haven't replied to".
Fetch a thread (root post + all replies) by any post ID in the thread. Use this to read the full conversation around a single message.
List channels with unread messages, sorted by mention count (descending). Use this to answer "what should I catch up on?" type questions before drilling into specific channels.
Get detailed profile information for a single user by exact username.
Join a public channel by its channel_id. ⚠️ This is an immediate WRITE operation that adds you as a channel member. You MUST confirm with the user first and only call again with confirm=True.
Leave a channel by its channel_id. ⚠️ This is an immediate WRITE operation that removes you from the channel. You MUST confirm with the user first and only call again with confirm=True.
List Mattermost channels the authenticated user is a member of. Use this when the user asks about their channels, wants to find a channel ID, or needs context before sending messages.
Open (or fetch) the direct-message channel between you and another user. This does NOT send a message — it only returns the channel_id so a subsequent send_message call can target the DM. Idempotent and safe to call without confirm.
Remove your own reaction (you can only remove your own) from a post. ⚠️ This is an immediate WRITE operation. Confirm with the user first.
Search Mattermost messages using the standard search syntax. Supports Mattermost search operators: - from:<username> messages from a specific user - in:<channel> messages in a specific channel (use the channel name) - on:YYYY-MM-DD messages on a date - before:YYYY-MM-DD messages before a date - after:YYYY-MM-DD messages after a date - "exact phrase" phrase match
Send a direct message to a user, identified by their Mattermost username. Internally opens (or fetches) the DM channel, then sends the message. ⚠️ This is an immediate, irreversible WRITE operation. Show the user a preview and obtain explicit approval before calling with confirm=True.
Send a message to a Mattermost channel or DM. ⚠️ This is an immediate, irreversible WRITE operation. You MUST first show the user a preview of the message and obtain explicit approval. Only call again with confirm=True after the user agrees.
Build a structured snapshot of unread messages across all channels, formatted for downstream summarization by the LLM. Use this when the user asks "what did I miss?" or "summarize my unreads".
Return the authenticated user's username and id. Use this to confirm which account the MCP server is connected as.
Confirmation pattern incomplete. join_channel, leave_channel, send_message, edit_message, delete_message all require confirm=True, but descriptions do not explain what happens if confirm=False (tool silently returns without executing). Should clarify: 'If confirm=False, returns a preview without executing.'
Tool annotations missing. No readOnlyHint, destructiveHint, or idempotentHint attributes visible in tool definitions. This prevents clients from rendering appropriate UI warnings (e.g., 'This will delete the message' for delete_message).