MetorialDocs

Set up Hacker Rank Work in Metorial for AI agents

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'll 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

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokenapiToken

API Token

To connect, a person enters:

  • apiToken

Admin: share Hacker Rank Work in a portal

In the dashboard

Open Shared Resources

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

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.

Limit the tools

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

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:

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

Employee: connect Hacker Rank Work

In the portal

Open Hacker Rank Work in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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.

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.

Check it worked

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