Skip to content

feat: add MCP tools for message operations#16

Open
echowxsy wants to merge 1 commit intocv-cat:masterfrom
echowxsy:feat/mcp-message-tools
Open

feat: add MCP tools for message operations#16
echowxsy wants to merge 1 commit intocv-cat:masterfrom
echowxsy:feat/mcp-message-tools

Conversation

@echowxsy
Copy link
Copy Markdown

Summary

Add 8 new MCP-exposed tools for message manipulation, enabling LLM agents to perform advanced operations through the Model Context Protocol:

  • recall_message — Recall/delete a message
  • edit_message — Edit message content
  • add_reaction / remove_reaction — Emoji reactions
  • pin_message / unpin_message — Pin/unpin messages
  • mark_read — Mark messages as read
  • reply_in_thread — Reply in thread/topic

All tools follow the existing @register_tool decorator pattern and include Chinese descriptions for better LLM tool selection.

Dependencies

Test plan

  • Verify all tools appear in list_tools output
  • Verify each tool returns success/failure messages correctly
  • Test MCP tool invocation via /run trigger in chat

🤖 Generated with Claude Code

Add MCP-exposed tools for recall, edit, reaction, pin/unpin,
mark-read, and thread reply operations. These tools enable LLM
agents to perform advanced message manipulation through the
MCP protocol.

Depends on: feat/message-operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant