Home / Servers / Sentry API / create_organization_external_user
Create an External User
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Create an External User Link a user from an external provider to a Sentry user. [POST /api/0/organizations/{organization_id_or_slug}/external-users/]
Name on the gateway: sentry_api__create_organization_external_user · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
user_id required | integer | The user ID in Sentry. |
external_name required | string | The associated name for the provider. |
provider required | github | github_enterprise | jira_server | slack | slack_staging | perforce | gitlab | cursor_origin | msteams | custom_scm | The provider of the external actor. * github * github_enterprise * jira_server… |
integration_id required | integer | The Integration ID. |
id required | integer | The external actor ID. |
external_id | string | The associated user ID for provider. |
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": "sentry_api__create_organization_external_user",
"arguments": {
"organization_id_or_slug": "…",
"user_id": 0,
"external_name": "…",
"provider": "…",
"integration_id": 0,
"id": 0
}
}Or connect the Sentry API server directly, which lists 272 tools including this one:
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create an external user tool with organization_id_or_slug set to ….