Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Knuckles-Team/mattermost-mcp --skill mattermost-api-channelsgit clone --depth 1 https://github.com/Knuckles-Team/mattermost-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/knuckles-team/mattermost-mcp/mattermost-api-channels)<a href="https://agentmods.dev/skills/knuckles-team/mattermost-mcp/mattermost-api-channels"><img src="https://agentmods.dev/badge/skills/knuckles-team/mattermost-mcp/mattermost-api-channels/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/knuckles-team/mattermost-mcp/mattermost-api-channels"><img src="https://agentmods.dev/badge/skills/knuckles-team/mattermost-mcp/mattermost-api-channels.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01903 |
| Opus 5.5 | $0.00026 | $0.00761 |
| Sonnet 5.5 | $0.00013 | $0.00381 |
| Haiku 4.5 | $0.00006 | $0.00190 |
Grade A, and why
mattermost-api-channels scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mattermost channels API
Channel records, members, moderation, views, categories and sidebar, shared channels and direct and group messages.
Steps
- Locate the channel with
mattermost_get_channel(channel_id) and verify the returned name and team match the request. - Read its membership with
mattermost_get_channel_members(channel_id, page, per_page) and verify the target user is or is not listed. - Check the moderation settings with
mattermost_get_channel_moderations(channel_id) before changing permissions and verify the current values are recorded. - Apply the change with
mattermost_add_channel_member(channel_id, user_id) after the requester approved it, and verify the response echoes the user and channel ids. - Read the channel back with
mattermost_get_channel_members(channel_id) and verify the membership now matches the intended state.
Failure recovery
| Failure | Cause | Recovery |
|---|---|---|
| Request answers 401 or 403 | The credential is missing, expired or lacks the permission for this area | Confirm the acting identity with mattermost_get_user, then supply a token whose role covers the call and send it again with the corrected credential |
| A channel call returns 404 | The channel id is wrong or the channel is archived | Resolve the id with mattermost_get_channel_by_name(team_id, channel_name, include_deleted=true) and use the id it returns |
mattermost_delete_channel is refused |
The destructive call was sent without approval or confirm=true | Ask the requester to approve the channel id, then call mattermost_delete_channel(channel_id, confirm=true) |
Every operation is its own typed tool; arguments follow the upstream API (path parameters are required, filters are optional arguments). Read first (get, list, search), change second, and obtain approval before any delete, disable, revoke or reset.
| Tool | Summary |
|---|---|
mattermost_add_channel_member |
Add user(s) to channel |
mattermost_autocomplete_channels_for_team |
Autocomplete channels |
mattermost_autocomplete_channels_for_team_for_search |
Autocomplete channels for search |
mattermost_can_user_direct_message |
Check if user can DM another user in shared channels context |
mattermost_channel_members_minus_group_members |
Channel members minus group members. |
mattermost_convert_group_message_to_channel |
Convert group message to private channel |
mattermost_create_channel |
Create a channel |
mattermost_create_channel_view |
Create channel view |
mattermost_create_direct_channel |
Create a direct message channel |
mattermost_create_group_channel |
Create a group message channel |
mattermost_create_sidebar_category_for_team_for_user |
Create user's sidebar category |
mattermost_delete_channel |
Delete a channel |
mattermost_delete_channel_view |
Delete a channel view |
mattermost_get_all_channels |
Get a list of all channels |
mattermost_get_all_shared_channels |
Get all shared channels for team. |
mattermost_get_channel |
Get a channel |
mattermost_get_channel_by_name |
Get a channel by name |
mattermost_get_channel_by_name_for_team_name |
Get a channel by name and team name |
mattermost_get_channel_member |
Get channel member |
mattermost_get_channel_member_counts_by_group |
Channel members counts for each group that has at least one member in the channel |
mattermost_get_channel_members |
Get channel members |
mattermost_get_channel_members_by_ids |
Get channel members by ids |
mattermost_get_channel_members_for_user |
Get channel memberships and roles for a user |
mattermost_get_channel_members_timezones |
Get timezones in a channel |
mattermost_get_channel_members_with_team_data_for_user |
Get all channel members from all teams for a user |
mattermost_get_channel_moderations |
Get information about channel's moderation. |
mattermost_get_channel_policies_for_user |
Get the policies which are applied to a user's channels |
mattermost_get_channel_stats |
Get channel statistics |
mattermost_get_channel_view |
Get a channel view |
mattermost_get_channels_for_team_for_user |
Get channels for user |
mattermost_get_channels_for_user |
Get all channels from all teams |
mattermost_get_channels_member_count |
Get member counts for multiple channels |
mattermost_get_deleted_channels_for_team |
Get deleted channels |
mattermost_get_group_message_members_common_teams |
Get common teams for members of a Group Message. |
mattermost_get_group_syncable_for_channel_id |
Get a channel syncable for a group |
mattermost_get_group_syncables_channels |
Get channel syncables for a group |
mattermost_get_groups_associated_to_channels_by_team |
Get team groups by channels |
mattermost_get_groups_by_channel |
Get channel groups |
mattermost_get_private_channels_for_team |
Get private channels |
mattermost_get_public_channels_by_ids_for_team |
Get a list of channels by ids |
mattermost_get_public_channels_for_team |
Get public channels |
mattermost_get_recommended_channels_for_team |
Get recommended public channels for the current user |
mattermost_get_redirect_location |
Get redirect location |
mattermost_get_shared_channel_remotes |
Get remote clusters for a shared channel |
mattermost_get_shared_channel_remotes_by_remote_cluster |
Get shared channel remotes by remote cluster. |
mattermost_get_sidebar_categories_for_team_for_user |
Get user's sidebar categories |
mattermost_get_sidebar_category_for_team_for_user |
Get sidebar category |
mattermost_get_sidebar_category_order_for_team_for_user |
Get user's sidebar category order |
mattermost_get_users_by_group_channel_ids |
Get users by group channels ids |
mattermost_ingest_channels |
Ingest a team's channels as typed :Channel nodes (+ :inTeam links). |
mattermost_invite_remote_cluster_to_channel |
Invites a remote cluster to a channel. |
mattermost_link_group_syncable_for_channel |
Link a channel to a group |
mattermost_list_channel_views |
List channel views |
mattermost_mark_all_direct_messages_read |
Mark all direct and group messages as read |
mattermost_mark_all_team_channels_read |
Mark all channels and threads in a team as read |
mattermost_mark_channels_read_for_user |
Mark multiple channels as read |
mattermost_move_channel |
Move a channel |
mattermost_patch_channel |
Patch a channel |
mattermost_patch_channel_moderations |
Update a channel's moderation settings. |
mattermost_patch_group_syncable_for_channel |
Patch a channel syncable for a group |
mattermost_remove_sidebar_category_for_team_for_user |
Delete sidebar category |
mattermost_remove_user_from_channel |
Remove user from channel |
mattermost_restore_channel |
Restore a channel |
mattermost_search_all_channels |
Search all private and open type channels across all teams |
mattermost_search_channels |
Search channels |
mattermost_search_group_channels |
Search Group Channels |
mattermost_set_channel_members |
Set channel members |
mattermost_uninvite_remote_cluster_to_channel |
Uninvites a remote cluster to a channel. |
mattermost_unlink_group_syncable_for_channel |
Unlink a channel from a group |
mattermost_update_channel |
Update a channel |
mattermost_update_channel_member_autotranslation |
Update channel member autotranslation setting |
mattermost_update_channel_notify_props |
Update channel notifications |
mattermost_update_channel_privacy |
Update channel's privacy |
mattermost_update_channel_roles |
Update channel roles |
mattermost_update_channel_view |
Update a channel view |
mattermost_update_channel_view_sort_order |
Update a channel view's sort order |
mattermost_update_sidebar_categories_for_team_for_user |
Update user's sidebar categories |
mattermost_update_sidebar_category_for_team_for_user |
Update sidebar category |
mattermost_update_sidebar_category_order_for_team_for_user |
Update user's sidebar category order |
mattermost_view_channel |
View channel |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +16 lines 8f0803893bc8
- 23d ago First seen · 102 lines · 64 tokens per session scan A cf3b82d33133
mattermost-api-channels is a skill published in the GitHub repository Knuckles-Team/mattermost-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 64 tokens to every session and 1,903 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.
mattermost-api-channels compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mattermost-api-channelsKnuckles-Team/mattermost-mcp | Skill | 0 | 4d ago | MIT | A | 64 | Claude Code, Codex |
| mattermost-workflowsshanginn/codex-mattermost | Skill | 0 | 4mo ago | none | A | 72 | Codex |
| orbit-notionnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| agentmailpaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 30 | Claude Code, Codex |
| rowboat-spacesrowboatlabs/rowboat | Skill | 18k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 184 | Claude Code |
| feishuHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 33 | Claude Code, Codex |