Skip to content

v0.7.4 — Account-bound state, bot mention inbox, Agent Skills and host exports

Choose a tag to compare

@akougkas akougkas released this 09 Oct 17:28
· 113 commits to main since this release
3adc1a8

ZulipChat MCP 0.7.4 hardens credential and session handling, adds a durable bot-mention inbox, packages four Agent Skills, and exports native configuration for seven host families. The 20-tool core and 60-tool extended surfaces are unchanged.

uvx zulipchat-mcp --zulip-config-file ~/.zuliprc

Full details: CHANGELOG · Evidence and limits: v0.7.4 audit

Security

  • Companion commands (zulipchat-mcp-setup, -integrate, -hook) are now documented and templated as uvx --from zulipchat-mcp .... Without --from, uvx infers a package from the executable name, which could resolve to an unrelated package. CI and release preflight now reject unsourced companion commands.
  • Environment-based bot credentials resolve against the selected user's realm, not an unrelated ambient ZULIP_SITE.
  • Persistent state is bound to a fingerprint of the effective realm and principals. Default databases are account-scoped and mismatched explicit paths fail startup.
  • --force exports replace exporter-owned Claude hooks that referenced old credentials.

Added

  • Bot mention inbox. poll_agent_events(mentions_stream=...) reads an event-fed, durable local inbox of Generic-bot mentions with message-ID recovery, numeric bot verification, and a single-producer lease. The server is the transport. It does not ship a host adapter, launch coding processes, or provide an autonomous runner.
  • Efficient reads. Identity-scoped 15-second message snapshots with hashes and UTC freshness metadata, fresh=True bypass, and a shared per-principal request budget that honors Zulip rate-limit headers. Writes are never transparently retried.
  • --tool-profile read-only: 9 core or 23 extended reads, with filtered discovery and enforced denials.
  • Agent Skills. Four bundled skills served as MCP Resources and through SEP-2640 skills/list/skills/get on MCP 2026-07-28.
  • Integration exports for Claude Code, Codex, OpenCode, Copilot CLI, VS Code Copilot, Antigravity CLI, Clio Coder, and generic hosts, plus an Agent Plugins 1.0.0 package. Exported files do not change host trust.
  • Replay-safe scoped event acknowledgement (auto_ack=False, ack_event_ids) and bounded binary uploads via file_content_base64.

Fixed

  • Listener recovery uses Zulip's date anchor (feature level 445+) or message-ID paging, registers the replacement queue before backfill, and deduplicates overlap.
  • Same-account owner replies are accepted; outbound echoes are suppressed across MCP and hook processes.
  • /reply REQUEST_ID answer for questions; bounded waits return status="timeout" with the request still pending.
  • Application failures set MCP isError; partial deliveries keep their message IDs and unsafe-retry guidance.
  • Corrected stream lookup, subscription-property, and topic-mute endpoints; paginated message flags; raw-Markdown cross-posting; task-local client binding for compound operations.

Migration

Fresh default state lives under .mcp/zulipchat/accounts/<fingerprint>/. Existing legacy state is not adopted automatically. To keep a verified legacy database, set ZULIPCHAT_DB_PATH to it and pass --associate-existing-db once. See configuration.

Dependencies

FastMCP range relaxed to fastmcp[tasks]>=4.0.4,<5; lock refreshed to FastMCP 4.1.0, mcp-types 2.3.0, Anthropic 1.12.1, DuckDB 1.5.6. Python 3.10–3.14 are tested, with a weekly minimum/latest FastMCP matrix.

Validation and limits

938 deterministic tests pass on Python 3.10/FastMCP 4.0.4 and Python 3.14/FastMCP 4.1.0 (74% branch coverage). Source and installed-wheel stdio smokes cover legacy and 2026-07-28 protocols across both tool tiers and both profiles. Clio Coder's actual config parser, plugin validator, and stdio client were exercised with fake credentials.

Live testing was deliberately narrow: read-only Clio sessions, and four real mention-to-reply round trips through a private, unshipped Clio adapter, including a bounded five-message summary on the final wheel. Other hosts were validated through export formats and schemas, not live sessions. Sessions and the mention inbox remain single-instance.

Thanks

  • Olivier Durif (@odurif0) relaxed the FastMCP pin in #22. That commit is merged with original authorship. Thank you, and sorry it waited as long as it did.
  • The private reporter of the uvx companion-command issue.
  • Earlier community work from @lloydhazlett (#13, #14) and @aurelien-eveil (#15) carries forward.