delete_repository
Permanently delete an allowed GitHub repository. Requires confirming the repository's numeric ID and canonical owner/name to complete the removal, which cannot be undone.
Instructions
Permanently delete an allowed repository. Both its stable numeric ID and canonical owner/name confirmation are required. This operation cannot be undone by this MCP server.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"repository": "<repository>",
"expectedRepositoryId": "<expectedRepositoryId>",
"confirmRepository": "<confirmRepository>"
},
"name": "delete_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| hostname | No | ||
| repository | Yes | Repository in owner/name format | |
| confirmRepository | Yes | Repeat the canonical owner/name returned by get_repository | |
| expectedRepositoryId | Yes |