> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Hacker Rank Work in Metorial for AI agents
URL: https://metorial.com/docs/integrations/hackerrank-work
Last updated: 2026-11-24

Share Hacker Rank Work with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 27 tools (15 read-only).

---

To give your team Hacker Rank Work in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Hacker Rank Work integration in a Metorial portal, and each person connects with an API token. Agents can manage technical assessments, invite candidates, review candidate results and downloadable PDF reports, schedule live coding interviews, and manage users and teams in HackerRank for Work. The integration has 27 tools, 15 read-only, 6 write and 6 destructive, plus 2 triggers.

**What you will learn**

- How an admin shares Hacker Rank Work in a portal and how each person connects
- How to keep the 15 read-only tools and reject the other 12

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API token from Hacker Rank Work for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Token** | API token | `apiToken` |

### API Token

To connect, a person enters:

- `apiToken`

## Admin: share Hacker Rank Work in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Hacker Rank Work. For how members connect, choose **Each person connects** so everyone enters their own API token, or **Shared connection** to enter one API token for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Hacker Rank Work.

4. **Choose who gets it**

   Add the access groups that should see Hacker Rank Work. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Hacker Rank Work integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "hacker rank work"
```

## Employee: connect Hacker Rank Work

### In the portal

1. **Open Hacker Rank Work in the catalog**

   Sign in to your portal and open Hacker Rank Work. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API token (apiToken).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "hacker rank work"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Hacker Rank Work connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "hacker rank work"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 15 read-only tools, such as `get_team` and `get_test`, and lose the 6 write tools, such as `create_test` or `add_team_member`, and the 6 destructive tools, such as `manage_team` or `manage_user`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "hacker rank work"
metorial tools <integration-id>
metorial call <integration-id> list_teams -d '{}'
```

`metorial tools` lists the 27 tools, minus any you rejected. `list_teams` takes no input. It lists all teams in your HackerRank for Work account.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (15)

- `list_tests`: List all coding assessment tests in your HackerRank for Work account.
- `list_teams`: List all teams in your HackerRank for Work account.
- `list_interviews`: List all live coding interview sessions.
- `list_questions`: List questions from your HackerRank question library.
- `list_candidates`: List all candidates for a specific test. Needs `testId`.
- `get_interview`: Retrieve details of a specific interview session including its status, participants, schedule, and optionally the interview transcript. Needs `interviewId`.
- `list_users`: List or search users in your HackerRank for Work account.
- `get_candidate_report`: Retrieve a candidate's test details and prepare their PDF report for download. Needs `testId` and `candidateId`.
- `get_test`: Retrieve detailed information about a specific coding assessment test, including its configuration, duration, questions, and status. Needs `testId`.
- `get_question`: Retrieve detailed information about a specific question from the question library, including its description, test cases, difficulty, and supported languages. Needs `questionId`.
- `get_team`: Retrieve a team by ID.
- `list_interview_templates`: List accessible interview templates and their IDs for creating invitations or interviews.
- `list_invite_templates`: List accessible invite templates and their IDs for creating invitations or interviews.
- `get_interview_template`: Retrieve a interview template by ID.
- `get_user`: Retrieve a user by ID.

### Write tools (6)

- `invite_candidate`: Invite a candidate to take a specific coding assessment test. Needs `testId` and `email`.
- `create_test`: Create a new coding assessment test. Needs `name`.
- `create_interview`: Create a new live coding interview session (CodePair/QuickPad).
- `update_interview`: Update a live coding interview, reschedule it, or replace its interviewers.
- `add_team_member`: Add an existing user to a team.
- `update_candidate`: Update candidate details, application state, invitation validity, tags, or extra test time for an existing test invitation.

### Destructive tools (6)

- `manage_user`: Create, update, or lock a user in your HackerRank for Work account.
- `update_test`: Update an existing coding assessment test. Needs `testId`.
- `manage_team`: Create, update, or delete a team in your HackerRank for Work account.
- `delete_interview`: Delete an existing live coding interview.
- `remove_team_member`: Remove an existing user from a team.
- `cancel_candidate_invite`: Cancel an existing candidate test invitation.

## Triggers

Hacker Rank Work has 2 triggers, which fire on events in Hacker Rank Work:

- `inbound_webhook`
- `candidate_status_change`: Polls for candidate status changes across all tests.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Hacker Rank Work there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Hacker Rank Work on metorial.com](https://metorial.com/integrations/hackerrank-work): the integration overview