Home / Servers / GitHub API / copilot_spaces_add_collaborator_for_org

Add a collaborator to an organization Copilot Space

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Add a collaborator to an organization Copilot Space Adds a collaborator (user or team) to a specific Copilot Space owned by an organization. The authenticated user must have appropriate permissions to manage collaborators. **Note:** When adding users… [POST /orgs/{org}/copilot-spaces/{space_number}/collaborators]

Name on the gateway: github_api__copilot_spaces_add_collaborator_for_org · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
space_number requiredintegerThe unique identifier of the Copilot Space.
actor_type requiredUser | TeamThe type of actor (user or team).
actor_identifier requiredstringThe username (for users) or team slug (for teams). The numeric ID of a user or…
role requiredreader | writer | adminThe role to grant to the collaborator.

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:

call_tool arguments
{
  "name": "github_api__copilot_spaces_add_collaborator_for_org",
  "arguments": {
    "org": "…",
    "space_number": 0,
    "actor_type": "…",
    "actor_identifier": "…",
    "role": "…"
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
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 add a collaborator to an organization copilot space tool with org set to ….

More from GitHub API