Home / Servers / GitHub API / orgs_create_invitation
Create an organization invitation
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create an organization invitation Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner. This… [POST /orgs/{org}/invitations]
Name on the gateway: github_api__orgs_create_invitation · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
invitee_id | integer | **Required unless you provide email**. GitHub user ID for the person you are… |
email | string | **Required unless you provide invitee_id**. Email address of the person you… |
role | admin | direct_member | billing_manager | reinstate | The role for the new member. * admin - Organization owners with full… |
team_ids | array | Specify IDs for the teams you want to invite new members to. |
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__orgs_create_invitation",
"arguments": {
"org": "…"
}
}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 an organization invitation tool with org set to ….