Skip to content

docs: announce MCP Events and document them on the MCP server page - #14466

Merged
atharvadeosthale merged 11 commits into
mainfrom
blog/announcing-mcp-events
Oct 19, 2026
Merged

atharvadeosthale merged 11 commits into
mainfrom
blog/announcing-mcp-events

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

Adds a blog post announcing MCP Events for the Appwrite MCP server (mcp.appwrite.io). An agent can subscribe to project events such as new users, failed function executions, finished deployments and new documents. Events then arrive either over a push stream (events/stream) or at the agent's own webhook.

The post covers:

  • the event catalog
  • push vs. webhook delivery
  • how subscriptions map to managed Appwrite webhooks
  • the sealed subscription envelope and signature verification
  • permissions and plan limits
  • a step-by-step "try it with Pi" section

It includes a 58s demo video. In the video, Pi subscribes to users.user.created, Codex creates a user, Pi wakes up within about a second and reports the user, then unsubscribes.

Files:

  • apps/console/src/content/blog/posts/announcing-mcp-events.markdoc
  • apps/console/public/images/blog/announcing-mcp-events/:
    • cover (1920x1080, from the /generator/cover cli-code template)
    • the demo video
    • 3 screenshots taken from it
  • apps/console/src/content/docs/tooling/ai/mcp-servers/index.markdoc: new Events section covering available events, delivery modes, subscriptions and permissions, limits, and a Pi walkthrough. Also adds Events to the feature list.
  • apps/console/src/content/docs/advanced/self-hosting/mcp/index.markdoc: notes that the local stdio server does not support Events.
  • Regenerated manifest.ts and cover-dimensions.json. This also picks up 2 Firewall post title updates and a changelog cover entry that earlier merges never regenerated.

Preview

Deployed from this branch to an Appwrite Sites preview:

Screenshots

Cover

Cover

Pi subscribes to users.user.created

Pi subscribed

Codex creates a user, Pi wakes up and reports it

Pi event wake-up

Pi unsubscribes and confirms no managed webhooks remain

Pi unsubscribed

Demo video: mcp-events-demo.mp4

Test Plan

  • bun run lint:content and bun run lint:removed-blog-links pass.
  • Rendered the post on the local dev server in light and dark mode:
    • all images load
    • the video plays
    • the table of contents is in order

Related PRs and Issues

Closes appwrite/mcp#127

@luxor-code-review

luxor-code-review Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Align the tool name used for the user lookup (announcing-mcp-events.markdoc:73) — The demo walkthrough names two different tools for the same step: the body says Pi calls users_get to look up the user, while the image caption immediately below says the lookup happened via appwrite_call_tool (apps/console/src/content/blog/posts/announcing-mcp-events.markdoc:73).

This PR publishes a new blog post (announcing-mcp-events) on the console app, plus its cover and screenshot assets and a demo video. Generated artifacts — the blog manifest and SEO cover dimensions — are updated to match the new post and sort order.

Files Change
apps/console/src/content/blog/posts/announcing-mcp-events.markdoc New blog post announcing MCP events, including a Pi walkthrough and FAQ.
apps/console/public/images/blog/announcing-mcp-events/* Adds cover AVIF, three screenshot AVIFs, and an MP4 demo used by the post.
apps/console/src/lib/blog/generated/manifest.ts Regenerates the blog manifest with the new post entry in date-sorted position.
apps/console/src/lib/seo/cover-dimensions.json Adds cover-image dimensions for the new post's images.

Reviewed commit: 12257c5

@ghost

ghost commented Oct 14, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The incremental changes show no behavior or documentation defects requiring follow-up.

Adds an MCP Events announcement with a Pi demo and expands the hosted MCP server documentation with event catalogs, delivery modes, subscription behavior, permissions, limits, and setup steps. It also clarifies that events are hosted-only, adds a changelog entry, and updates the generated blog metadata and cover dimensions.

Latest changes: The latest commits replace the article’s embedded video with light/dark demo GIFs, add the MCP Events changelog entry and a dark-mode docs screenshot, reorganize the event guidance, and refresh generated blog metadata.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 10
File Change
apps/console/public/images/blog/announcing-mcp-events/ Adds the post cover and Pi demo media, including light/dark animated demos and supporting screenshots.
apps/console/public/images/docs/mcp/events/ Adds light- and dark-mode screenshots for the Pi event walkthrough.
apps/console/scripts/lib/convert-images-to-avif.ts Excludes the two animated demo GIFs from conversion and content-reference rewriting.
apps/console/src/content/blog/posts/announcing-mcp-events.markdoc Publishes the MCP Events announcement, event catalog, delivery overview, demo, and Pi setup.
apps/console/src/content/changelog/entries/2026-10-19.markdoc Adds a changelog entry introducing MCP Events and linking to the announcement and docs.
apps/console/src/content/docs/advanced/self-hosting/mcp/index.markdoc Clarifies that MCP Events are supported only by the hosted MCP server.
apps/console/src/content/docs/tooling/ai/mcp-servers/index.markdoc Adds the hosted server’s event catalog, delivery modes, subscription and permission details, limits, and Pi walkthrough.
apps/console/src/lib/blog/generated/manifest.ts Regenerates blog metadata for the announcement and other updated posts.
apps/console/src/lib/seo/cover-dimensions.json Registers generated cover dimensions for the new announcement and another changelog cover.
apps/console/public/images/docs/mcp/events/pi-event-wakeup.avif Provides the Pi event screenshot used in the hosted MCP server documentation.

Reviewed the commits since 89f51d4 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ChiragAgg5k ChiragAgg5k self-assigned this Oct 14, 2026

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ChiragAgg5k ChiragAgg5k changed the title docs: announce MCP Events for the Appwrite MCP server docs: announce MCP Events and document them on the MCP server page Oct 14, 2026
Comment on lines +40 to +42
- **A catalog.** `events/list` tells the client which events exist and which arguments each one takes.
- **Subscriptions.** The client asks for an event with specific arguments, such as "new users in project X".
- **Delivery.** The server sends each matching event to the client as it happens, without the client asking again.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **A catalog.** `events/list` tells the client which events exist and which arguments each one takes.
- **Subscriptions.** The client asks for an event with specific arguments, such as "new users in project X".
- **Delivery.** The server sends each matching event to the client as it happens, without the client asking again.
- **Catalog:** `events/list` tells the client which events exist and which arguments each one takes.
- **Subscriptions:** The client asks for an event with specific arguments, such as "new users in project X".
- **Delivery:** The server sends each matching event to the client as it happens, without the client asking again.


# Events you can subscribe to {% #events %}

The Appwrite MCP server launches with six events. Every event takes a required `project_id`, and payloads carry IDs and metadata only, so the agent fetches the details it needs with a normal tool call.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we planning to add more events? If so, we should mention this.


Before the subscription is created, the server sends a verification challenge that the endpoint must echo back, so events can only go to an endpoint that asked for them. Every delivery is signed with the [Standard Webhooks](https://www.standardwebhooks.com/) scheme. A subscription lasts one hour by default (anywhere from 5 minutes to 24 hours on request), and the client refreshes it before it expires.

# How it works {% #how-it-works %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should merge the see it in action section with this one.

Having both feels redundant and unnecessary.


![Pi unsubscribes and confirms that no MCP events webhooks remain in the project](/images/blog/announcing-mcp-events/pi-unsubscribed.avif)

# Two ways to receive events {% #delivery %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be a subsection of the What are MCP Events section


Because subscriptions are ordinary webhooks, you can see them in the Appwrite Console under your project's webhooks, named `MCP events` or `MCP events push`. They are deleted when you unsubscribe or close the stream, and if a client disappears without cleaning up, the short lease means its webhook expires on its own and is removed the next time you subscribe.

# Security and permissions {% #security %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is not needed for the announcement. It can live in the docs

- **Untrusted by default.** Event payloads are external data. Clients such as `pi-mcp-events` hand them to the model as data rather than as new instructions, so a user's name cannot hijack your agent.

# Limits {% #limits %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is not needed in the announcement. It can live in the docs


Each user can keep up to 25 streams open on each server instance. Events that happen while a stream is reconnecting are not replayed, so for critical workflows, have the agent re-check the current state after it reconnects.

# Try it with Pi {% #try-it %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On second thought, I would not mind it if we shift the "How it works" section into the docs and just keep the "Try it out" section in the announcement. We can also probably have a separate blog on the details of how MCP events work if we need to but for the announcement this seems to be too long of a blog.

@atharvadeosthale what do you think?

@atharvadeosthale
atharvadeosthale removed the request for review from adityaoberai October 19, 2026 09:38
@atharvadeosthale
atharvadeosthale merged commit 649825c into main Oct 19, 2026
33 of 34 checks passed
@atharvadeosthale
atharvadeosthale deleted the blog/announcing-mcp-events branch October 19, 2026 09:48
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.

Support MCP events in the Appwrite MCP server

3 participants