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-teams-and-groupsgit 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-teams-and-groups)<a href="https://agentmods.dev/skills/knuckles-team/mattermost-mcp/mattermost-api-teams-and-groups"><img src="https://agentmods.dev/badge/skills/knuckles-team/mattermost-mcp/mattermost-api-teams-and-groups/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-teams-and-groups"><img src="https://agentmods.dev/badge/skills/knuckles-team/mattermost-mcp/mattermost-api-teams-and-groups.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.00066 | $0.01493 |
| Opus 5.5 | $0.00026 | $0.00597 |
| Sonnet 5.5 | $0.00013 | $0.00299 |
| Haiku 4.5 | $0.00007 | $0.00149 |
Grade A, and why
mattermost-api-teams-and-groups 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mattermost teams and groups API
Teams, team members and invites, user groups and their syncables, LDAP group links.
Steps
- Resolve the team with
mattermost_get_team_by_name(team_name) and verify the returned team_id and display name match the request. - Read the membership with
mattermost_get_team_members(team_id, page, per_page) and verify whether the target user is already a member. - Add the person with
mattermost_add_team_member(team_id, user_id) after approval, and verify the response echoes both ids. - Review user groups with
mattermost_get_groups_by_team(team_id) and verify the group the person belongs in is listed. - Read the team statistics with
mattermost_get_team_stats(team_id) and verify the member count increased by one.
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 |
mattermost_get_team_by_name returns 404 |
The team name is not the URL name of the team | List candidates with mattermost_get_teams_for_user(user_id) and use the name it returns |
mattermost_add_team_member is refused |
The user is already a member or the team is closed to invites | Check mattermost_get_team_member(team_id, user_id), and use mattermost_invite_users_to_team(team_id) for a closed team |
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_accept_remote_cluster_invite |
Accept a remote cluster invite code. |
mattermost_add_group_members |
Adds members to a custom group |
mattermost_add_team_member |
Add user to team |
mattermost_add_team_member_from_invite |
Add user to team from invite |
mattermost_add_team_members |
Add multiple users to team |
mattermost_add_user_to_group_syncables |
Create memberships for LDAP configured channels and teams for this user |
mattermost_create_group |
Create a custom group |
mattermost_create_team |
Create a team |
mattermost_delete_group |
Deletes a custom group |
mattermost_delete_group_members |
Removes members from a custom group |
mattermost_generate_remote_cluster_invite |
Generate invite code. |
mattermost_get_all_teams |
Get teams |
mattermost_get_c_p_a_group |
Get Custom Profile Attribute property group data |
mattermost_get_group |
Get a group |
mattermost_get_group_stats |
Get group stats |
mattermost_get_group_syncable_for_team_id |
Get a team syncable for a group |
mattermost_get_group_syncables_teams |
Get team syncables for a group |
mattermost_get_group_users |
Get group users |
mattermost_get_groups |
Get groups |
mattermost_get_groups_by_names |
Get groups by name |
mattermost_get_groups_by_team |
Get team groups |
mattermost_get_groups_by_user_id |
Get groups for a userId |
mattermost_get_ldap_groups |
Returns a list of LDAP groups |
mattermost_get_team |
Get a team |
mattermost_get_team_by_name |
Get a team by name |
mattermost_get_team_icon |
Get the team icon |
mattermost_get_team_invite_info |
Get invite info for a team |
mattermost_get_team_member |
Get a team member |
mattermost_get_team_members |
Get team members |
mattermost_get_team_members_by_ids |
Get team members by ids |
mattermost_get_team_members_for_user |
Get team members for a user |
mattermost_get_team_policies_for_user |
Get the policies which are applied to a user's teams |
mattermost_get_team_stats |
Get a team stats |
mattermost_get_teams_for_user |
Get a user's teams |
mattermost_get_teams_usage |
Get current usage of teams |
mattermost_ingest_teams |
Ingest Mattermost teams into medulla as typed :Team nodes. |
mattermost_invalidate_email_invites |
Invalidate active email invitations |
mattermost_invite_guests_to_team |
Invite guests to the team by email |
mattermost_invite_users_to_team |
Invite users to the team by email |
mattermost_link_group_syncable_for_team |
Link a team to a group |
mattermost_link_ldap_group |
Link a LDAP group |
mattermost_patch_group |
Patch a group |
mattermost_patch_group_syncable_for_team |
Patch a team syncable for a group |
mattermost_patch_team |
Patch a team |
mattermost_regenerate_team_invite_id |
Regenerate the Invite ID from a Team |
mattermost_remote_cluster_confirm_invite |
Confirm an invite with a remote cluster. |
mattermost_remove_team_icon |
Remove the team icon |
mattermost_remove_team_member |
Remove user from team |
mattermost_restore_group |
Restore a previously deleted group. |
mattermost_restore_team |
Restore a team |
mattermost_search_teams |
Search teams |
mattermost_set_team_icon |
Sets the team icon |
mattermost_soft_delete_team |
Delete a team |
mattermost_team_exists |
Check if team exists |
mattermost_team_members_minus_group_members |
Team members minus group members. |
mattermost_unlink_group_syncable_for_team |
Unlink a team from a group |
mattermost_unlink_ldap_group |
Delete a link for LDAP group |
mattermost_update_team |
Update a team |
mattermost_update_team_member_roles |
Update a team member roles |
mattermost_update_team_privacy |
Update teams's privacy |
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 1ad06d547dd2
- 18d ago Changed e37af7b3a966
- 23d ago First seen · 82 lines · 66 tokens per session scan A e6b013ff482c
mattermost-api-teams-and-groups is a skill published in the GitHub repository Knuckles-Team/mattermost-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 66 tokens to every session and 1,493 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-teams-and-groups compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mattermost-api-teams-and-groupsKnuckles-Team/mattermost-mcp | Skill | 0 | 4d ago | MIT | A | 66 | Claude Code, Codex |
| querying-indonesian-gov-datasuryast/indonesia-gov-apis | Skill | 177 | yesterday | MIT | A | 61 | Claude Code, Codex |
| slackdumprusq/slackdump | Skill | 2.9k | 2d ago | AGPL-3.0 | A | 15 | Claude Code, Codex |
| slackdump-sqlite3rusq/slackdump | Skill | 2.9k | 2d ago | AGPL-3.0 | A | 25 | Claude Code, Codex |
| slackdump-sourcerusq/slackdump | Skill | 2.9k | 2d ago | AGPL-3.0 | A | 14 | Claude Code, Codex |
| jamdeskjamdesk/jamdesk-claude-plugin | Skill | 3 | 22d ago | Apache-2.0 | A | 57 | Claude Code |
| royalti-apiRoyalti-io/royalti-api-skill | Skill | 4 | 2mo ago | MIT | A | 96 | Claude Code |