Skip to content

shipper_delete_repository

Delete every registration for one canonical repository after existing work drains. Requires confirm:true; dry_run is always passive and takes precedence. Turns Auto-ship off, stops automatic work at safe checkpoints, lets admitted manual work and live questions finish, refuses fresh work/add/enable, and retains issue content/history, settings and checkouts. Operates independently of the active repository.

Explicitly remove every registration for a canonical identity after drain. Call directly with confirm:true; no preview handshake is required. Dry-run wins over confirm and starts no host or migration. Auto-ship turns off and automatic work stops at checkpoints; admitted manual work, queues and live questions finish. Fresh work, add and enable refuse while pending. Content/history, settings and checkouts remain. Works with unavailable checkouts and independently of active selection. Observe deleting with list/status; after a lost acknowledgement inspect and retry the same identity. Current Shipper builds durably admit repository work before effects: pending deletion drains admitted manual queues and live questions, while automatic work stops at existing safe checkpoints. Normal Desktop Quit may close the UI while its main process or a capable daemon keeps deletion and protected sessions alive; reopening reattaches those sessions. Older unadmitted builds are outside this execution guarantee. Builds containing df2234313 refuse incompatible saved records before access or repair; this does not promise uninterrupted legacy execution. An unregistered identity returns unchanged without starting a host. After completion, register an alias again to use retained content/history with Auto-ship off.

  • readOnlyHint: false — The tool may intentionally modify repository or workflow state.
  • destructiveHint: true — The tool can remove or rewrite workflow artifacts and should be used carefully.
  • idempotentHint: true — Retrying the same call is expected to be safe once the target state is reached.
  • openWorldHint: false — The tool does not reach GitHub or other external systems outside the MCP server.
NameTypeRequiredDefaultDescription
repositorystringyes-Retained registration key, owner/name or local checkout path; resolved once independently of the active repository.
confirmbooleanno-Explicitly accept every deletion effect. Required unless dry_run is true.
dry_runbooleanno-Preview aliases and effects without writes or hosting, even when confirm is true.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {},
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "uncertain"
},
"observation": {
"oneOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "active"
}
},
"required": ["status"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "deleting"
},
"requestId": {
"type": "string",
"minLength": 1
},
"requestedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"diagnostics": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["status", "requestId", "requestedAt", "diagnostics"],
"additionalProperties": false
}
]
}
},
"required": ["status"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "preview"
},
"repository": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": ["named", "lineage"]
},
"repo": {
"type": "string",
"minLength": 1
},
"storageKey": {
"type": "string",
"minLength": 1
}
},
"required": ["kind", "repo", "storageKey"],
"additionalProperties": false
},
"aliases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"address": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "named"
},
"repo": {
"type": "string"
}
},
"required": ["kind", "repo"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "local"
},
"path": {
"type": "string"
}
},
"required": ["kind", "path"],
"additionalProperties": false
}
]
},
{
"type": "null"
}
]
}
},
"required": ["key", "address"],
"additionalProperties": false
}
},
"effects": {
"type": "array",
"items": {
"type": "string"
}
},
"lifecycle": {
"oneOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "active"
}
},
"required": ["status"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "deleting"
},
"requestId": {
"type": "string",
"minLength": 1
},
"requestedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"diagnostics": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["status", "requestId", "requestedAt", "diagnostics"],
"additionalProperties": false
}
]
}
},
"required": ["status", "repository", "aliases", "effects", "lifecycle"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "deleted"
},
"repository": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": ["named", "lineage"]
},
"repo": {
"type": "string",
"minLength": 1
},
"storageKey": {
"type": "string",
"minLength": 1
}
},
"required": ["kind", "repo", "storageKey"],
"additionalProperties": false
}
},
"required": ["status", "repository"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "unchanged"
},
"reason": {
"type": "string",
"const": "unregistered"
},
"repository": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": ["named", "lineage"]
},
"repo": {
"type": "string",
"minLength": 1
},
"storageKey": {
"type": "string",
"minLength": 1
}
},
"required": ["kind", "repo", "storageKey"],
"additionalProperties": false
}
},
"required": ["status", "reason", "repository"],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "deleting"
},
"repository": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": ["named", "lineage"]
},
"repo": {
"type": "string",
"minLength": 1
},
"storageKey": {
"type": "string",
"minLength": 1
}
},
"required": ["kind", "repo", "storageKey"],
"additionalProperties": false
},
"requestId": {
"type": "string",
"minLength": 1
},
"requestedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"diagnostics": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["status", "repository", "requestId", "requestedAt", "diagnostics"],
"additionalProperties": false
}
],
"x-shipper-expanded-docs": true
}
{
"repository": "owner/repo",
"dry_run": true
}
Preview: Auto-ship off, drain existing work, remove every registration, retain content/history.
  • Confirmation required: confirm must be true unless dry_run is true.
  • Background drain unavailable: No capable host accepted the request; deletion not started.
  • Uncertain acknowledgement: Deletion may have started. Inspect status and retry the same confirmed identity.