Mattermost CLI for humans and agents
Project description
mattermost-cli
Mattermost CLI for humans and agents.
Install
# via uvx (recommended)
uvx mattermost-cli --help
# or pip
pip install mattermost-cli
Setup
# Interactive login (password + MFA)
mm login
# Or with a Personal Access Token
mm login --token <your-pat>
# Verify
mm whoami
Usage
# List channels
mm channels
# Show unread messages
mm unread
# Read messages from a channel
mm messages general
mm messages general --since 1h
mm messages @username # DM with a user
# Read a thread
mm thread <post-id>
# Search
mm search "deployment issue"
mm mentions
Options
--human Human-readable markdown output (default is JSON)
--team Filter to a specific team
--debug Enable debug output
Auth
Two methods supported:
Password + MFA (primary): mm login prompts interactively. Session token
is stored locally - password is never saved to disk. When the session expires,
run mm login again.
Personal Access Token (optional): mm login --token <pat>. Requires admin
to enable PATs on the Mattermost server. Tokens don't expire.
Credentials stored at ~/.config/mm/config.json (token only, 600 permissions).
Environment variables override config: MATTERMOST_URL, MATTERMOST_TOKEN,
MATTERMOST_TEAM.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mattermost_cli-0.0.2.tar.gz.
File metadata
- Download URL: mattermost_cli-0.0.2.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
992628494a9052fa927dfc2a46490ae01ed77048aadabb825dcd17cae5e17e67
|
|
| MD5 |
55f72f5edc6b028a01eff0187d3e8675
|
|
| BLAKE2b-256 |
3aa70465aa2f5bb5cba2a00062d5af065e0f2b4b344630aabe313d898ee34d85
|
Provenance
The following attestation bundles were made for mattermost_cli-0.0.2.tar.gz:
Publisher:
publish.yml on rhnvrm/mattermost-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mattermost_cli-0.0.2.tar.gz -
Subject digest:
992628494a9052fa927dfc2a46490ae01ed77048aadabb825dcd17cae5e17e67 - Sigstore transparency entry: 1040188669
- Sigstore integration time:
-
Permalink:
rhnvrm/mattermost-cli@e53a8e13a279103850ad60ccf16f89f9e4ac7a22 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/rhnvrm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e53a8e13a279103850ad60ccf16f89f9e4ac7a22 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mattermost_cli-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mattermost_cli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc1d129ef577fce6d23ad03edf5490d7fbf13928ab37a4a0e0099c6ff322fb5a
|
|
| MD5 |
a47a0a61c582d080d584e9a7653e7196
|
|
| BLAKE2b-256 |
43db4691385bf22bc130a9d743539822468fa46ad1271dc8ac59d71e711e872b
|
Provenance
The following attestation bundles were made for mattermost_cli-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on rhnvrm/mattermost-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mattermost_cli-0.0.2-py3-none-any.whl -
Subject digest:
bc1d129ef577fce6d23ad03edf5490d7fbf13928ab37a4a0e0099c6ff322fb5a - Sigstore transparency entry: 1040188728
- Sigstore integration time:
-
Permalink:
rhnvrm/mattermost-cli@e53a8e13a279103850ad60ccf16f89f9e4ac7a22 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/rhnvrm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e53a8e13a279103850ad60ccf16f89f9e4ac7a22 -
Trigger Event:
release
-
Statement type: