Home / Servers / GitHub API / copilot_spaces_create_for_user
Create a Copilot Space for a user
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a Copilot Space for a user Creates a new Copilot Space owned by a user. Only the authenticated user can create spaces for their own account. Users can create personal Copilot Spaces for their individual use. OAuth app tokens… [POST /users/{username}/copilot-spaces]
Name on the gateway: github_api__copilot_spaces_create_for_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
username required | string | The handle for the GitHub user account. |
name required | string | The name of the Copilot Space. |
description | string | A description of the Copilot Space. |
general_instructions | string | General instructions for the Copilot Space. |
base_role | reader | no_access | The base role that determines default permissions for the space. - no_access… |
resources_attributes | array | Resources to attach to the space. |
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__copilot_spaces_create_for_user",
"arguments": {
"username": "…",
"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 copilot space for a user tool with username set to ….