Repository navigation
Conversation
This was referenced Oct 28, 2026
alexluong
force-pushed
the
feat/mcp-destination
branch
from
October 30, 2026 13:15
22e738d to
3fb2119
Compare
alexluong
force-pushed
the
feat/mcp-schemas
branch
from
October 30, 2026 13:15
d4f4d08 to
c0dbca8
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alexluong
force-pushed
the
feat/mcp-destination
branch
from
October 30, 2026 20:51
95221ef to
defdad2
Compare
alexluong
force-pushed
the
feat/mcp-schemas
branch
from
October 30, 2026 20:51
f486fc3 to
6129b03
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let an operator define the events MCP Events (draft SEP-3415) clients can subscribe to, serve them as an MCP
events/listcatalog, and turn a subscription'sargumentsinto a delivery filter. Experimental, behindEXPERIMENTAL_MCP_ENABLED.Stacked on #1181. Deviations from the draft: see #1181.
Definitions use the draft's
events/listshape, so a list from another MCP server can be loaded as is. The operator declares each event'sinputSchema; Outpost checks it can be mapped to a filter and refuses it otherwise. A subscription must target a defined event, itsargumentsare checked against that event'sinputSchema, and only events matching the arguments are delivered.Changes
EXPERIMENTAL_MCP_EVENTS_SCHEMA(experimental.mcp.events_schemain YAML) holds{"events": [{name, description?, inputSchema, payloadSchema, delivery?, _meta?}]}. In the environment, a value starting with{is the definitions as inline JSON, parsed as strictly as a.jsonfile, and any other value is a path to a JSON or YAML file. In the YAML config a mapping is inline definitions and a string is always a path. URLs are rejected. Every name must be inTOPICSwhen that is set,deliverymust includewebhookwhen present,_metais passed through, duplicate names and unknown fields are errors. An invalid definition fails startup with a message that names the setting. YAML definitions are parsed with YAML 1.2 rules, so values such as2026-01-01oryesin an enum stay strings, and duplicate keys are errors.inputSchemais declared by the operator, so editingpayloadSchemanever changes which arguments clients may send. Each argument is a string, number, integer or boolean with nodefault, and must name a top-levelpayloadSchemaproperty of a compatible type.additionalPropertiesmust befalseor absent, and everyrequiredname must be a property. Outpost matches each argument against thedatafield of the same name by equality.{"type": "object", "properties": {}}is the form for an event without arguments.422,topics/not_found),config.argumentsmust satisfy theinputSchema, and an argument the schema doesn't list is refused. The arguments become the destination'sfilter, which can't be set directly or changed afterwards. This uses a new optional provider interface,CreateValidator, that runs before the verification call.GET /api/v1/mcp/events(Admin API key) returns the events in configured order as anevents/listresult:name,description,inputSchema,payloadSchema,delivery: ["webhook"], plusresultTypeandnextCursor.topics=a,b,limitandcursorselect and page. It returns404while MCP is off or no events are defined.Behavior changes
mcpdestination is refused andGET /mcp/eventsreturns404. (feat: add experimental mcp destination type for MCP Events webhooks #1181 alone accepts any allowed topic.)github.com/santhosh-tekuri/jsonschema/v6.Not in this PR
listChanged(optional in the draft).🤖 Generated with Claude Code