create-repository
Create and configure new GitHub repositories with custom names, descriptions, visibility, README, .gitignore, and license templates directly via the GitHub Enterprise MCP Server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auto_init | No | Initialize with README | |
description | No | Repository description | |
gitignore_template | No | Add .gitignore template | |
license_template | No | Add a license template | |
name | Yes | Repository name | |
org | No | Organization name (if creating in an organization) | |
private | No | Whether the repository is private |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"auto_init": {
"description": "Initialize with README",
"type": "boolean"
},
"description": {
"description": "Repository description",
"type": "string"
},
"gitignore_template": {
"description": "Add .gitignore template",
"type": "string"
},
"license_template": {
"description": "Add a license template",
"type": "string"
},
"name": {
"description": "Repository name",
"minLength": 1,
"type": "string"
},
"org": {
"description": "Organization name (if creating in an organization)",
"type": "string"
},
"private": {
"description": "Whether the repository is private",
"type": "boolean"
}
},
"required": [
"name"
],
"type": "object"
}