Add list_messages tool — read group message history via MCP #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Companion to groupme-sdk#3. Remote SSH workflow needs GroupMe as bidirectional channel.
Repo
forgejo_admin/groupme-mcpUser Story
As platform operator working via SSH,
I want to read GroupMe message history via MCP tools,
So that I can see what Marcus sent (text, images, context) without leaving the terminal.
Context
The MCP can send messages but can't read them.
get_grouponly shows the latest message preview. For the SSH workflow, reading full message history is essential — including image attachment URLs.Depends on groupme-sdk#3 (
list_messagesmethod).File Targets
Files to modify:
src/groupme_mcp/tools/messages.py— ADDlist_messages(group_name, limit=20, before_id=None)tool. Uses_resolve_groupfor name-based resolution. Returns messages with sender name, text, timestamps, and attachment URLs.Files NOT to touch:
Acceptance Criteria
list_messages(group_name)returns recent messages (default 20)_resolve_groupfor name-based resolution (consistent with all other tools)before_idparam for paginationlimitparam (default 20, max 100)Test Expectations
cd ~/groupme-mcp && pytest tests/Constraints
_resolve_grouphelper (already exists)Checklist
Related
groupme-sdk#3— SDK dependency (must deploy first)project-groupme-westside— GroupMe project pageScope Review: READY
Review note:
review-379-2026-03-25Scope is solid — all 10 template sections present, all file targets verified in codebase, dependency on groupme-sdk#3 correctly documented and tracked (board item #378,
todocolumn). PreToolUse hook confirmed safe for new read-only tool. No action needed before execution; blocked only on SDK dependency shipping first.