fork_repository
Fork a GitHub repository to your account or a specified organization using the 'fork_repository' tool from the mcp-github server. Requires owner and repository name, with an optional organization parameter. Simplifies repository duplication for collaboration or personal use.
Instructions
Fork a GitHub repository to your account or specified organization
Input Schema
Name | Required | Description | Default |
---|---|---|---|
organization | No | Optional: organization to fork to (defaults to your personal account) | |
owner | Yes | Repository owner (username or organization) | |
repo | Yes | Repository name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"organization": {
"description": "Optional: organization to fork to (defaults to your personal account)",
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo"
],
"type": "object"
}