getRepoExtensionMcpUiAtBranch
Read one MCP UI under the extension's ui/mcp/ at a branch's head commit, never its uncommitted edits: its description, the version that published it, and the script its build compiled.
GET
/repos/{repo_id}/branches/{branch}/extensions/{name}/mcp-uis/{mcp_ui}Path parameters
Returns
200
ExtensionMcpUiScript
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
BranchNotFound | ExtensionNotFound | ExtensionMcpUiNotFound | RepoNotFound
JSON
One of the following:
- BranchNotFoundEncoded
- ExtensionNotFoundEncoded
- ExtensionMcpUiNotFoundEncoded
- RepoNotFoundEncoded
409
ExtensionPublicationPending | ExtensionNameTaken | ExtensionVersionNotNewer
JSON
One of the following:
- ExtensionPublicationPendingEncoded
- ExtensionNameTakenEncoded
- ExtensionVersionNotNewerEncoded
422
ExtensionBuildFailed | ExtensionNotSelfContained | ExtensionRequiredFieldWithoutDefault | ExtensionDependencyRefused
JSON
One of the following:
- ExtensionBuildFailedEncoded
- ExtensionNotSelfContainedEncoded
- ExtensionRequiredFieldWithoutDefaultEncoded
- ExtensionDependencyRefusedEncoded
500
OrgFailure | RepoFailure
JSON
One of the following:
- OrgFailureEncoded
- RepoFailureEncoded
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded