Home / Servers / PagerDuty API / get_current_user

Get the current user

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

Get the current user Get details about the current user. This endpoint can only be used with a user-level API key or a key generated through an OAuth flow. This will not work if the request is made with an account-level… [GET /users/me]

Name on the gateway: pagerduty_api__get_current_user · read-only.

Parameters

NameTypeDescription
include[]contact_methods | notification_rules | teams | subdomains | calendar_urlsArray of additional Models to include in response. Use calendar_urls 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:

call_tool arguments
{
  "name": "pagerduty_api__get_current_user",
  "arguments": {}
}

Or connect the PagerDuty API server directly, which lists 459 tools including this one:

Run in your terminal
claude mcp add --transport http hj-pagerduty-api https://mcp.hjlabs.in/mcp/pagerduty-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get the current user tool with include[] set to ….

More from PagerDuty API