Home / Servers / GitHub API / orgs_remove_public_membership_for_authenticated_user
Remove public organization membership for the authenticated user
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Remove public organization membership for the authenticated user Removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. [DELETE /orgs/{org}/public_members/{username}]
Name on the gateway: github_api__orgs_remove_public_membership_for_authenticated_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
username required | string | The handle for the GitHub user account. |
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_remove_public_membership_for_authenticated_user",
"arguments": {
"org": "…",
"username": "…"
}
}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 remove public organization membership for the authenticated user tool with org set to ….