Home / Servers / GitHub API / users_set_primary_email_visibility_for_authenticated_user
Set primary email visibility for the authenticated user
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Set primary email visibility for the authenticated user Sets the visibility for your primary email addresses. [PATCH /user/email/visibility]
Name on the gateway: github_api__users_set_primary_email_visibility_for_authenticated_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
visibility required | public | private | Denotes whether an email is publicly visible. |
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__users_set_primary_email_visibility_for_authenticated_user",
"arguments": {
"visibility": "…"
}
}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 set primary email visibility for the authenticated user tool with visibility set to ….