Repository navigation
gryt-mcp shows when it's working, and has a face (GRYT-2005) - #22
Merged
Merged
Conversation
- typing(): chat:typing, which lasts 8 seconds on the server. The show_typing tool repeats it every 6 seconds until the bot posts in that channel or thread, or 90 seconds pass. - setActivity(): presence:activity. Every tool that resolves a channel sets "Reading #<channel>" and it clears after two idle minutes, so the member list shows the bot is busy. - setAvatar(): POST /api/uploads/avatar with the bot's token, the route a person's app uses, behind upload_avatar_image. --avatar uploads once per picture per server; the hash of the last one sits next to the key. WANTS gains set_activity and upload_avatar_image. A bot that knocked before keeps its old list, so it needs a new key to ask for these. show_typing is marked read-only so it can be allowlisted with the reads: it posts nothing and ends on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server only stops typing on chat:stop_typing or after 8 seconds, and a person's app sends the stop itself. The bot didn't, so "typing…" outlived its own message. stopTyping() sends it, and show_typing calls it on send_message and when the 90 seconds run out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sivert asked for three things after trying the MCP on beta: show it's working, show typing, and give it a picture.
typing()sendschat:typing, which the server keeps for 8 seconds. Theshow_typingtool repeats it every 6 seconds until the bot posts in that channel or thread, or 90 seconds pass.setActivity()sendspresence:activity. Every tool that works in a channel sets "Reading #" under the bot's name, and it clears after two idle minutes.setAvatar()posts to/api/uploads/avatarwith the bot's token, the same route a person's app uses, behindupload_avatar_image.--avatar <file>uploads once per picture per server. The hash of the last upload sits next to the key.The bot now also asks for
set_activityandupload_avatar_imagewhen it knocks. A bot that knocked before keeps its old list, so it needs a new key to get these.Look at
show_typingis marked read-only, so it can be allowlisted with the reads. It posts nothing and ends on its own, but it is visible to people, so say if you'd rather it asked every time.Docs: Gryt-chat/docs#182
🤖 Generated with Claude Code