GitHub MCP Server

fork_repository

Copy a GitHub repository to your account or organization using the GitHub API. Specify the owner, repository name, and optional target organization to create a new fork.

Instructions

Fork a GitHub repository to your account or specified organization

Input Schema

NameRequiredDescriptionDefault
organizationNoOptional: organization to fork to (defaults to your personal account)
ownerYesRepository owner (username or organization)
repoYesRepository 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" }

Other Tools from GitHub MCP Server

Related Tools

ID: bnif4b1rh6