groupme-mcp-server
This MCP server lets an AI assistant read, search, and post to your GroupMe groups, topics, and direct messages as your account.
List conversations — merge groups and DMs into one recency-sorted inbox with last-message previews, member counts, and each group's topics.
Read messages — page through a group, topic, or DM oldest-first with limits,
before_id/since_idcursors, and anext_before_idfor the next page.Get conversation context — fetch a group's (or topic's) metadata, member list, and recent messages in one call.
Search messages — client-side substring search over message text and sender names, with honest scan accounting (
messages_scanned,oldest_message_reached, truncation notes).Get highlights — a group's or topic's top-liked messages for a day/week/month plus a per-member summary.
Send messages — post to a group, topic, or DM, optionally as a threaded reply or with an image from a public URL (re-hosted on GroupMe).
React to messages — like or unlike a specific message on your behalf.
Flexible output — read tools offer
concise(default) ordetailedresponse formats with full ids and ISO timestamps.
Provides tools for interacting with GroupMe, enabling listing conversations, reading and searching messages, fetching highlights, sending messages, and reacting to messages as the configured GroupMe account.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@groupme-mcp-server search for "weekend plans" in my family group"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
groupme-mcp-server
An MCP server that lets Claude, Cursor and other AI assistants read, search and send your GroupMe messages. Built with FastMCP.
It is a set of agentic tools, not an endpoint wrapper: instead of mirroring the GroupMe API v3 route-for-route, each tool does one job an assistant actually needs, such as merging groups and DMs into a single inbox, paginating history with cursors, searching client-side because GroupMe has no search endpoint, and saying so when a result is truncated.
Ask things like:
"What did I miss in the Family group this week?"
"Did anyone mention the retreat date?"
"Reply to Sam's last message in Trip Planning: sounds good, I'm in."
"Post this photo to the Announcements topic."
Get started
There are two ways to run it. Both need your GroupMe access token.
1. Get your GroupMe token
Sign in at https://dev.groupme.com, click Access Token in the top right, and copy it. Treat it like a password: anyone who has it can read your chats and send messages as you.
2a. Run it on your computer
Best if you use a desktop client such as Claude Desktop, Claude Code or Cursor. The server runs locally over stdio through uv, and nothing leaves your machine except calls to GroupMe.
Claude Code:
claude mcp add groupme -e GROUPME_ACCESS_TOKEN=your-token -- uvx groupme-mcp-serverClaude Desktop, Cursor and most other clients take the same JSON in their MCP settings:
{
"mcpServers": {
"groupme": {
"command": "uvx",
"args": ["groupme-mcp-server"],
"env": {
"GROUPME_ACCESS_TOKEN": "your-token"
}
}
}
}If the token is missing or malformed, the server still starts but logs a warning on stderr saying what to fix.
2b. Host your own on FastMCP Gateway
Best if you want the same server from several devices, or from clients that only connect to remote MCP servers. FastMCP Gateway (formerly Prefect Horizon) hosts it for free on its personal tier, behind its own sign-in.
Use the groupme-mcp-server-template repository:
Click Use this template to create your own copy.
Deploy that copy from https://horizon.prefect.io with entrypoint
server.py:mcp, Authentication on, andGROUPME_ACCESS_TOKENset as an environment variable.Add your server's
https://<name>.fastmcp.app/mcpURL to your MCP client.
Your copy updates itself: a daily workflow moves it to the newest release once it checks the server still loads, and the Gateway redeploys. The template's README has the details.
Each deployment serves one GroupMe account, the one whose token it holds. There is no shared, multi-user server.
Related MCP server: iMessage Max
Tools
Tool | What it does |
| Merge groups and DMs into one recency-sorted list with last-message previews; groups list their topics. |
| Read one group, topic, or DM, oldest first, with a |
| One group's (or topic's) metadata, member list, and recent messages in a single call. |
| Search a conversation's history client-side (GroupMe has no search API), with honest scan accounting. |
| A group's or topic's top-liked messages for a day/week/month plus a member summary. |
| Post to a group, topic, or DM, optionally as a reply or with an image from any public URL. |
| Like or unlike one message (ids from |
The read tools accept response_format: "concise" (default, human-readable)
or "detailed" (full ids and metadata).
Group topics
A GroupMe group can contain topics: separate chats such as "Announcements" that sit inside the group. A group's main chat does not contain its topics' messages, so the tools address topics explicitly.
list_conversations lists each group's topics under the group, most recently
active first, with their own last-message previews:
{
"kind": "group",
"name": "Trip Planning",
"group_id": "12345678",
"topics": [
{
"topic_id": "23456789",
"parent_group_id": "12345678",
"name": "Announcements",
"type": "announcement",
"last_message": "Ada: Trip details are ready.",
"last_active": "2h ago"
}
]
}Pass a topic to read_messages, search_messages, or send_message as a
conversation:
{"kind": "topic", "parent_group_id": "12345678", "topic_id": "23456789"}get_conversation_context and get_highlights take an optional topic_id
next to the parent's group_id. Before sending to a topic, send_message
checks that the topic belongs to the stated parent; a failed send is never
redirected to the parent's main chat. GroupMe enforces who may post, for
example in announcement topics.
Topics come from GroupMe's undocumented GET /groups/{id}/subgroups
route, which the GroupMe web client uses. If it fails, list_conversations
still lists the group (without its topics) and says so in its note.
Creating, editing, and deleting topics is not supported.
Images
send_message accepts an image_url. GroupMe can only attach images hosted
on its own image service, so a https://i.groupme.com/... URL is attached
as-is and any other URL is downloaded and re-hosted there first. Because the
server fetches a URL the caller chose, the download is locked down:
only
http/httpsURLs without embedded credentials;the host must resolve only to public addresses (no loopback, private, link-local, or cloud-metadata ranges), and the connection goes to the address that was checked, so DNS cannot redirect it internally;
at most 3 redirects, each checked again;
at most 15 MB, within 10 seconds, of a raster
image/*type (no SVG);the GroupMe token is never sent to the image's host.
The download happens only after the message text (and, for a topic, the topic) has been validated, so a send that would fail fetches nothing.
Configuration
Everything is configured through environment variables (GROUPME_* may also
come from a local .env file — see .env.example).
Variable | Default | Description |
| (unset) | GroupMe API token from https://dev.groupme.com. Optional at startup; required when a tool calls the API. |
|
| Verbosity of the server's own loggers: |
|
| GroupMe REST API base URL (override mainly for testing). |
|
| GroupMe image service base URL, where |
| (unset) | OTLP/HTTP collector endpoint. Setting it turns tracing on. |
| (unset) | Extra headers for the OTLP exporter (e.g. |
|
| The |
| (unset) | Set to |
|
| Verbosity of FastMCP's own |
Security and privacy
One account per server. A server holds exactly one GroupMe token, and every tool acts as that token's owner: reading their conversations, posting as them, liking as them. Anyone who can connect gets that full identity, so keep a hosted server's authentication on.
The token never crosses the MCP boundary. Clients never send or receive it. It goes to GroupMe only as the
X-Access-Tokenrequest header (never in URLs), is excluded from tool output and error messages, and is registered for redaction if OTel header capture is enabled.Outbound image downloads are restricted. Re-hosting an
image_urlis the only time the server fetches a caller-chosen URL; it refuses private and internal addresses, caps size and time, and never forwards the GroupMe token (see Images).A hosted server's traffic passes through the host. On FastMCP Gateway, tool requests and responses pass through Prefect's infrastructure and may appear in its request logs. Run the server locally if that is not acceptable.
Report vulnerabilities through private vulnerability reporting, not public issues. See SECURITY.md.
Observability
Logs are structured single lines on stderr (stdout would corrupt the stdio transport), each carrying the current OTel
trace_id/span_idwhen a span is active.GROUPME_LOG_LEVELcontrols the server's own loggers.Traces are opt-in: when
OTEL_EXPORTER_OTLP_ENDPOINTis set (andOTEL_SDK_DISABLEDis not truthy), the server installs an OTLP/HTTP span exporter. FastMCP emits a span for everytools/call, and outbound GroupMe HTTP requests get client spans via instrumentedhttpx2transports — without an endpoint everything no-ops.
Contributing
Issues and pull requests are welcome. CONTRIBUTING.md covers setup, the local checks, testing, releases and how the maintainer's own deployment is built.
License
MIT © Dariel Dato-on
Available Tools
7 toolsget_conversation_contextGet Conversation ContextARead-onlyIdempotent
Get one group's metadata, member list, and recent messages in one call.
Use this to orient yourself in a group before reading further or
replying: it bundles what would otherwise take several calls. For a
group's main chat it also lists the group's topics; pass topic_id to
get a topic's details and recent messages instead (members are then the
parent group's). For direct-message chats or for paging deeper into
history, use read_messages instead.
Inputs: group_id (required), topic_id, response_format, recent_message_count. Returns: The result of ``get_conversation_context``. For a group's main chat, ``topics``…
get_highlightsGet HighlightsARead-onlyIdempotent
Summarize what mattered in a group or topic: its most-liked recent messages.
Use this to catch up on a busy group without reading everything: it
wraps GroupMe's likes leaderboard into the period's top-liked messages
(sender, like count, text preview) plus a per-member summary of who was
most liked and most represented among them. The member summary covers
only the leaderboard's messages, not the group's full history. The
leaderboard endpoint is undocumented; if GroupMe has retired it, this
tool fails with guidance rather than guessing. A group's leaderboard
covers its main chat only; pass topic_id for a topic's.
Inputs: group_id (required), period, topic_id, response_format. Returns: The result of ``get_highlights``: what mattered in one group or topic. Built fr…
list_conversationsList ConversationsARead-onlyIdempotent
List the user's GroupMe conversations, most recently active first.
Use this first, whenever you need to find a conversation or the ids the
other tools take: it merges groups and direct-message chats into one
recency-sorted list with last-message previews and member counts. Every
entry carries the group_id or other_user_id that read_messages
and get_conversation_context need. Groups with topics (separate chats
inside a group, such as announcements) list them under topics, most
recently active first; address one as {"kind": "topic", "parent_group_id": ..., "topic_id": ...}. A group's main chat does not
contain its topics' messages.
Inputs: kind, limit, response_format. Returns: The result of ``list_conversations``: most recently active first.
react_to_messageReact To MessageAIdempotent
Like a GroupMe message, or remove your like from one.
Use this to react to a specific message on the authenticated user's
behalf — acknowledging something without posting a reply.
Both actions are idempotent: liking an already-liked message (or
unliking one you never liked) leaves it in the requested state. Ids come
from read_messages with response_format="detailed": use its
conversation_id (a group id, or a composite direct-chat id like
"123+456") and message id.
Inputs: action (required), message_id (required), conversation_id (required). Returns: Confirmation returned by ``react_to_message``.
read_messagesRead MessagesARead-onlyIdempotent
Read messages from one GroupMe conversation, oldest first.
Use this to read or page through the history of a specific group, topic,
or direct-message chat once you know its id (from list_conversations,
which also lists each group's topics). Sender names are resolved and
attachments are normalized (image URLs, reply/mention summaries). An
empty page is a normal answer, not an error: it means the conversation
has no messages in the requested range.
Inputs: conversation (required), limit, since_id, before_id, +1 more. Returns: The result of ``read_messages``: oldest first. ``next_before_id`` is the oldest…
search_messagesSearch MessagesARead-onlyIdempotent
Search a group, topic, or direct-message chat for matching messages.
Use this to find specific messages ("who mentioned pizza?", "what did
Ada say last week?") instead of paging manually with read_messages.
GroupMe has no search API, so this scans backwards from the newest
message, matching query against message text and sender_name
against sender names (both case-insensitive substrings), until limit
matches are found, the oldest message is reached, or
max_messages_scanned messages have been examined. The result reports
exactly how far the scan got — check oldest_message_reached and
note before concluding something was never said.
Inputs: query (required), conversation (required), limit, sender_name, +2 more. Returns: The result of ``search_messages``: matches in scan order (newest first). The sc…
send_messageSend MessageA
Send a message to a GroupMe group, topic, or direct-message chat.
Use this to post as the authenticated user once you know where to send
(ids come from list_conversations). Each call sends a new message —
calling twice posts twice. A topic is checked against its parent group
before posting, and a failed send is never redirected to the parent's
main chat. Announcement topics may only accept posts from some members;
GroupMe enforces that. To reply to a specific message, pass its id
(from read_messages) as reply_to_message_id.
Inputs: text (required), conversation (required), image_url, reply_to_message_id. Returns: Confirmation returned by ``send_message``. ``conversation_id`` is the id the re…
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a distinct role: list, read, context, search, highlights, send, react. The only mild overlap is between read_messages and get_conversation_context (both return recent messages), but the descriptions explicitly delineate orientation vs. paging.
All seven tools follow a consistent snake_case verb_noun pattern (list_conversations, read_messages, get_conversation_context, search_messages, get_highlights, send_message, react_to_message). No mixing of conventions.
Seven tools is well-scoped for a chat platform: one per major operation with no obvious bloat or thinness. Each tool earns its place.
The surface covers discovery, reading, search, highlights, sending, and reactions, with member info folded into get_conversation_context. Minor gaps remain (no group creation or message edit/delete), but core read/send workflows are covered.
Maintenance
Related MCP Connectors
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Group chat for AI agents: 15 tools for messages, replies, approvals, joining and agent email.
Messaging for AI agents: DMs, groups, presence, contacts and files between agents.
Read conversations and reply from AI assistants with scoped access to your Message.com workspace.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI models to interact with messages from various messaging platforms (Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger) through a standardized interface.316MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read, search, and send iMessages with features like contact name resolution, session grouping, and attachment listing. It provides intent-aligned tools to efficiently navigate conversation history and manage messages through natural language queries.7MIT
- FlicenseBqualityCmaintenanceAn MCP server that integrates with the GroupMe API v3 to allow AI assistants to manage groups, messages, members, and bots. It enables comprehensive interaction with the GroupMe platform, including sending direct messages, liking content, and managing user blocks.29-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to triage and act on Instagram DMs, comments, and mentions with token-light overviews, unread lists, search, thread summaries, drafting replies or moderation actions, and human-approved sending.MIT