Skip to content

v0.7.6 — Owner-only bot inbox, bot DMs and send-once

Choose a tag to compare

@akougkas akougkas released this 09 Oct 19:04
· 108 commits to main since this release
31d4611

Found by running Clio Coder against a real Zulip organization. A local model repeated successful sends and posted as the user while presenting itself as the bot. Anyone in the organization could also steer a watcher on the owner's machine by mentioning the bot.

uv tool install zulipchat-mcp==0.7.6

Security

  • Owner-only bot inbox. Mention and direct-message polling now returns only senders admitted by --mention-allow / ZULIPCHAT_MENTION_ALLOW.
    • The default admits only the configured owner.
    • A list of emails and numeric user IDs adds senders.
    • everyone restores the old behavior.
    • Other senders appear in ignored_unauthorized with IDs and no content, and the cursor still advances past them.
    • Invalid entries fail startup.
  • The inbox never returns the bot's own messages, so a reply that mentions the bot cannot become new work.

Added

  • poll_agent_events(direct_messages=True) reads direct and group-direct messages to the bot, with the same durable inbox and cursor as channel mentions. Each event includes reply_to.
  • send_message(as_bot=True) sends one message as the bot over stdio.
  • Every tool advertises MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint, title), derived from the read-only profile.

Fixed

  • send_message suppresses an identical repeat of a send that succeeded within the last two minutes and returns the original message_id. Results report sent_as and a UTC timestamp.
  • Link-preview updates no longer delete a stored mention or direct message before the host reads it.
  • The packaged skill teaches sending once, speaking as the bot, and polling once per turn with a cursor.

Verified live

Verified against a real organization with Clio Coder. Owner-only filtering held on real direct messages, a non-owner's question was withheld, and a channel mention got exactly one reply as the bot with an advancing cursor.

Full notes: CHANGELOG