Skip to content

feat: add experimental MCP Events push subscriptions - #4895

Merged
rumpl merged 1 commit into
docker:mainfrom
rumpl:feat/experimental-mcp-events
Nov 23, 2026
Merged

rumpl merged 1 commit into
docker:mainfrom
rumpl:feat/experimental-mcp-events

Conversation

@rumpl

@rumpl rumpl commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Implement experimental SEP-3415 event discovery and push subscriptions over stdio and Streamable HTTP, using the existing MCP SDK custom-call APIs without a dependency upgrade or fork.
  • Route untrusted event payloads through recall/steering, with cancellation, heartbeat monitoring, cursor tracking, bounded buffering, and deduplication.
  • Gate capability advertisement, adapters, and event tools behind per-toolset experimental.mcp_events: true (disabled by default), including shared MCP definition inheritance.
  • Add runnable Go stdio/HTTP demo servers, HTTP request and event lifecycle logging, agent configurations, documentation, schemas, and generated TypeScript types.

Scope

Targets proposal revision b08e4f9dd684f39d846d94089487fbeb28e666f5. Polling, webhooks, legacy SSE event delivery, durable cursors, and subscription restoration after connection replacement are not implemented.

Try it

go run ./examples/mcp-events -listen 127.0.0.1:8080
# In another terminal:
./bin/docker-agent run examples/mcp-events/agent-http.yaml

Ask: "Subscribe to demo.message with interval_seconds 5 and count 3."

@rumpl
rumpl requested a review from a team as a code owner November 10, 2026 12:43
Copilot AI balanced review requested due to automatic review settings November 10, 2026 12:43
@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 46d5495 to d0d117f Compare November 10, 2026 12:44

This comment was marked as outdated.

Copilot AI balanced review requested due to automatic review settings November 10, 2026 12:52

This comment was marked as outdated.

@aheritier aheritier added area/config For configuration parsing, YAML, environment variables area/docs Documentation changes area/mcp MCP protocol, MCP tool servers, integration area/tools For features/issues/fixes related to the usage of built-in and MCP tools kind/feat PR adds a new feature (maps to feat:). Use on PRs only. labels Nov 10, 2026
aheritier

This comment was marked as outdated.

@aheritier
aheritier marked this pull request as draft November 11, 2026 23:33
@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from d0d117f to 00f5401 Compare November 23, 2026 21:24
Copilot AI balanced review requested due to automatic review settings November 23, 2026 21:24
@rumpl
rumpl marked this pull request as ready for review November 23, 2026 21:25
@rumpl
rumpl requested a review from aheritier November 23, 2026 21:25

This comment was marked as outdated.

@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 00f5401 to 144f073 Compare November 23, 2026 21:46
Copilot AI balanced review requested due to automatic review settings November 23, 2026 21:46

This comment was marked as outdated.

@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 144f073 to 45a6520 Compare November 23, 2026 21:58
Copilot AI balanced review requested due to automatic review settings November 23, 2026 21:58

This comment was marked as outdated.

@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 45a6520 to 216d0cc Compare November 23, 2026 22:13
Copilot AI balanced review requested due to automatic review settings November 23, 2026 22:13
@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 216d0cc to c7d44ef Compare November 23, 2026 22:16

This comment was marked as outdated.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 22:25
@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from c7d44ef to 43a546a Compare November 23, 2026 22:32

This comment was marked as outdated.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 22:34
@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 43a546a to 7c97ed3 Compare November 23, 2026 22:37
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@rumpl
rumpl force-pushed the feat/experimental-mcp-events branch from 7c97ed3 to 515fab3 Compare November 23, 2026 22:37

This comment was marked as outdated.

Copilot AI balanced review requested due to automatic review settings November 23, 2026 22:43

This comment was marked as outdated.

@rumpl
rumpl added this pull request to the merge queue Nov 23, 2026
Merged via the queue into docker:main with commit af7c8a6 Nov 23, 2026
23 checks passed
@rumpl
rumpl deleted the feat/experimental-mcp-events branch November 23, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config For configuration parsing, YAML, environment variables area/docs Documentation changes area/mcp MCP protocol, MCP tool servers, integration area/tools For features/issues/fixes related to the usage of built-in and MCP tools kind/feat PR adds a new feature (maps to feat:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants