Home / Servers / GitHub API / repos_create_for_authenticated_user
Create a repository for the authenticated user
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a repository for the authenticated user Creates a new repository for the authenticated user. OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create… [POST /user/repos]
Name on the gateway: github_api__repos_create_for_authenticated_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | The name of the repository. |
description | string | A short description of the repository. |
homepage | string | A URL with more information about the repository. |
private | boolean | Whether the repository is private. |
has_issues | boolean | Whether issues are enabled. |
has_projects | boolean | Whether projects are enabled. |
has_wiki | boolean | Whether the wiki is enabled. |
has_discussions | boolean | Whether discussions are enabled. |
team_id | integer | The id of the team that will be granted access to this repository. This is… |
auto_init | boolean | Whether the repository is initialized with a minimal README. |
gitignore_template | string | The desired language or platform to apply to the .gitignore. |
license_template | string | The license keyword of the open source license for this repository. |
allow_squash_merge | boolean | Whether to allow squash merges for pull requests. |
allow_merge_commit | boolean | Whether to allow merge commits for pull requests. |
allow_rebase_merge | boolean | Whether to allow rebase merges for pull requests. |
allow_auto_merge | boolean | Whether to allow Auto-merge to be used on pull requests. |
delete_branch_on_merge | boolean | Whether to delete head branches when pull requests are merged |
squash_merge_commit_title | PR_TITLE | COMMIT_OR_PR_TITLE | Required when using squash_merge_commit_message. The default value for a… |
squash_merge_commit_message | PR_BODY | COMMIT_MESSAGES | BLANK | The default value for a squash merge commit message: - PR_BODY - default to… |
merge_commit_title | PR_TITLE | MERGE_MESSAGE | Required when using merge_commit_message. The default value for a merge commit… |
merge_commit_message | PR_BODY | PR_TITLE | BLANK | The default value for a merge commit message. - PR_TITLE - default to the pull… |
has_downloads | boolean | Whether downloads are enabled. |
is_template | boolean | Whether this repository acts as a template that can be used to generate new… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__repos_create_for_authenticated_user",
"arguments": {
"name": "…"
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a repository for the authenticated user tool with name set to ….