Add DM and file attachment tools to GroupMe MCP #7
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
Discovered during girls roster session 2026-03-28. Had to use raw curl for DMs and file uploads because MCP only has group messaging.
Repo
forgejo_admin/groupme-mcpUser Story
As an agent, I want to send direct messages and file attachments via MCP tools so that I don't have to fall back to raw curl for GroupMe operations (GM-5).
Context
The GroupMe MCP currently has tools for groups (list, create, get), members (list, add, remove), and messages (send, list). Missing: DMs and file attachments. Both endpoints work via the GroupMe API but are undocumented.
API discoveries from this session:
POST /direct_messageswithrecipient_id+textsends DMsGET /chatslists DM conversationsPOST file.groupme.com/v1/{group_id}/filesuploads files (any type)GET file.groupme.com/v1/{group_id}/uploadStatus?job={id}for upload completion{"type": "file", "file_id": "..."}attachment(at)and(dot) comSee
project-groupme-westsideKnown Behaviors section for full documentation.File Targets
Files the agent should create/modify:
src/groupme_mcp/tools/direct_messages.py-- new tool:send_dm(recipient_id, text),list_dm_chats()src/groupme_mcp/tools/files.py-- new tool:upload_file(group_name, file_path), returns file_id for attachmentsrc/groupme_mcp/tools/messages.py-- extendsend_messageto accept optionalattachmentsparam (file_id or image_url)src/groupme_mcp/server.py-- register new toolsFiles the agent should NOT touch:
Acceptance Criteria
send_dm(recipient_id, text)sends a direct message and returns message datalist_dm_chats()returns list of DM conversations with last messageupload_file(group_name, file_path)uploads a file and returns file_idsend_messagesupports optional file/image attachmentsTest Expectations
pytest tests/Constraints
GROUPME_ACCESS_TOKENenv var (already configured)Checklist
Related
project-groupme-westside-- parent projectboard-westside-basketball-- tracking boardScope Review: NEEDS_REFINEMENT
Review note:
review-586-2026-03-28Story label mismatch and undocumented SDK dependency require resolution before execution.
story:WS-S6is wrong (draft board story). Should bestory:GM-5(MCP tooling story).