Repository navigation
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Reword endpoint mcp_url descriptions to reflect head-following host selection and default-host fallback when no version is live. Co-authored-by: Cursor <cursoragent@cursor.com>
The endpoint insight log and trace properties and the session parent ID properties composed scalar schemas through allOf without a matching type, which the generated-client precheck rejects. State the scalar type on the composed properties and inline the session parent ID shapes.
Document endpoint-level Insights consent on create, PATCH, and endpoint responses, and make PATCH a partial update that accepts a name, Insights signals, or both. Mark version Insights deprecated and point it at the endpoint. Add endpoint search and session conversion, document that service-managed endpoints behave like unknown IDs, and drop endpoint fields and a session 410 response that the runtime does not return. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove POST /v2/action-gateway/endpoints:fromSession with its request model, examples, curl sample, and contract tests. Tool Registry is removing the public route, so the spec must not document it. Session routes stay documented and deprecated. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
This adds the public API spec for Action Gateway endpoints and endpoint versions, and marks the legacy session routes deprecated. An endpoint is a named series of immutable versions with a live MCP URL that follows the head and a pinned URL for each version. The spec follows Tool Registry's merged REST contract, so docs and generated clients describe what the service returns.
Scope
Reviewer callouts
deprecatedand keep their current behavior.insightsis on create,PATCH, and endpoint responses. Versioninsightsisdeprecated: true; requests may send it and the service ignores it, and responses never include it.PATCHacceptsname,insights, or both and mergesinsightsper signal. A body with neither returns 400endpoint_update_empty; the schema can only approximate that withminProperties: 1.DELETEreturns the same 204 and changes nothing.spectral/ruleset.ymlexempts thatDELETEfrom the required-404 rule.head_versionusesnullablewithallOf, like other schemas in this repo. The service sendsnullonce no live version remains.