# Connect an agent with MCP

> Connect Claude, ChatGPT, Codex, Cursor or any MCP client to Hyperdesk - the endpoint, signing in, the default tools, toolsets, discovery and approvals.

Source: https://hyperdesk.com/docs/mcp | Updated 2026-12-06 | Docs index: https://hyperdesk.com/llms.txt

## Before you start

> **Note:** **MCP needs a Hyperdesk account.** The agent signs in as a person on your team, so that person must have a Hyperdesk user. Access is by invitation, people sign in at [app.hyperdesk.com/ats](https://app.hyperdesk.com/ats), and the way to get an account is to [book a demo](https://hyperdesk.com/book-demo).

A request without a sign-in or an API key gets `401` and this header, which MCP clients follow to sign the person in:

```
WWW-Authenticate: Bearer resource_metadata="https://<your-hyperdesk-address>/.well-known/oauth-protected-resource/api/mcp/v1"
```

## Endpoint

> **Note:** `<your-hyperdesk-address>` stands for your team's Hyperdesk address. It comes with your account, and Hyperdesk shows it, filled in, under **Settings > Claude, MCP and API**.

| | |
|---|---|
| URL | `https://<your-hyperdesk-address>/api/mcp/v1` |
| Transport | Streamable HTTP. `POST` a JSON-RPC 2.0 message (or a batch) and get JSON back. There is no server-initiated stream: `GET` with `Accept: text/event-stream` returns `405`. |
| Protocol versions | `2025-06-18`, `2025-03-26`, `2024-11-05` |
| Server info | A plain `GET` returns the server, who you're acting as and the tool list |
| Simple form for scripts | `POST {"tool": "candidate_search", "arguments": {"query": "stripe"}}` returns the tool result without JSON-RPC |

## Signing in

Both ways act as one person, with that person's current role and access.

1. **OAuth (for people).** The client opens a page where the person signs in with their Hyperdesk account. Hyperdesk publishes OAuth protected-resource metadata at `/.well-known/oauth-protected-resource/api/mcp/v1` (and at `/.well-known/oauth-protected-resource`), naming Hyperdesk's sign-in service as the authorization server; `/.well-known/oauth-authorization-server` passes that service's metadata through for clients that look there. Scopes: `profile` and `email`. Someone who signs in without having been invited gets `403`: "Your Hyperdesk account isn't part of a team yet."
2. **API key (for servers and CI).** Send `Authorization: Bearer hd_live_...`. Keys are made in Hyperdesk under **Settings > Claude, MCP and API**; see [API keys](https://hyperdesk.com/docs/api#auth).

## Connect a client

Hyperdesk shows these steps, with your own URL, under **Settings > Claude, MCP and API**.

### Claude Code

Run this once; Claude Code opens a page to sign in:

```
claude mcp add --transport http hyperdesk https://<your-hyperdesk-address>/api/mcp/v1
```

Or with an API key in `HYPERDESK_API_KEY`:

```
claude mcp add --transport http hyperdesk https://<your-hyperdesk-address>/api/mcp/v1 --header "Authorization: Bearer $HYPERDESK_API_KEY"
```

### Claude (claude.ai and the apps)

1. In Claude, open Settings > Connectors and choose Add custom connector.
2. Name it Hyperdesk and paste `https://<your-hyperdesk-address>/api/mcp/v1` as the URL.
3. Choose Connect and sign in with your Hyperdesk account.

### ChatGPT, Codex, Cursor and other clients

Any MCP client that speaks Streamable HTTP can connect: add Hyperdesk as a remote MCP server with the URL `https://<your-hyperdesk-address>/api/mcp/v1`, then sign in with OAuth when the client offers it, or send `Authorization: Bearer <API key>`. Where these settings live differs by client; Hyperdesk's side is the same for all of them.

## Tools

Tool names are capability ids with the dots turned into underscores: `application.changeStage` is the tool `application_changeStage`.

**Listed by default.** To keep an agent's context small, `tools/list` returns 44 core tools and `capability_run`:

- `whoami`: Who you are acting as, in which organization, with which role
- `capability_search`: Find the right capability (tool) for a task, in plain words
- `capability_describe`: Input schema, examples and behavior of one capability
- `proposal_list`: Writes waiting for approval
- `proposal_approve`: Approve a proposed write and run it
- `proposal_reject`: Reject a proposed write
- `action_undo`: Undo a write using the undoToken it returned
- `candidate_search`: Search candidates by name, email, company, title, resume, job, status or tag
- `candidate_info`: A candidate's full profile: contact, applications, notes, messages, files, resume text, projects
- `candidate_create`: Add a candidate (then use application.create to put them on a job)
- `candidate_createNote`: Add a note to a candidate, optionally @mentioning teammates (they get notified)
- `application_list`: List applications by job, candidate, stage, section or status
- `application_info`: One application with its job's stages and its stage history
- `application_create`: Consider a candidate for a job (starts in Application Review unless you pick a stage)
- `application_changeStage`: Move an application to another stage of its job's interview plan
- `application_archive`: Archive (reject or close) an application with a reason
- `job_list`: List the jobs you can see, newest change first
- `job_info`: One job with its hiring team, interview stages, postings, openings, application counts and AI review criteria
- `job_create`: Create a job as a draft, with an unpublished posting
- `job_setStatus`: Open, close, archive or move a job back to draft
- `interviewSchedule_list`: List interview schedules with their interviews, by application or status
- `interviewSchedule_create`: Schedule interviews for an application and send the calendar invites
- `applicationFeedback_list`: Interview feedback on an application that you're allowed to see
- `offer_list`: List offers by application, candidate, job or status, newest change first
- `offer_info`: An offer with every version, its approvals, the band check, the letter and how it would be sent
- `offer_create`: Make a draft offer for an application, from an offer template and its fields
- `approval_decideStep`: Approve or decline the current step of an approval (assigned approvers only)
- `communicationTemplate_list`: Email and SMS templates, with the tokens they can use
- `email_render`: Fill a template's tokens for one candidate, to see exactly what would be sent
- `project_addCandidates`: Add candidates to a project in bulk (people already in it, or not found, are reported)
- `dnc_check`: Can we contact this candidate, email or domain? Says why not
- `rediscovery_run`: Find past candidates (archived or silver medalists) who match a job, and why each matched
- `report_query`: Run any report: count, convert or time anything, grouped and filtered, without saving it
- `report_templates`: The standard reports, each as a spec you can run with report.query or save with report.create
- `report_run`: Run a saved report and get its rows (Ashby: report.synchronous, report.generate)
- `analytics_pipelineSummary`: Home's numbers: open jobs, active applications, interviews this week, offers out, median time to hire, stalled applications
- `task_list`: What's waiting on me: approvals, feedback I owe, follow-ups, mentions, agent proposals, replies, surveys, reviews
- `user_search`: Find teammates by email, or by name or title
- `user_invite`: Invite someone to your team (admins only)
- `auditLog_list`: Who did what, when and through which channel (admins only; no candidate personal data)
- `events_list`: Your organization's events in order, from a cursor (admins only; for agents that poll)
- `peopleWorkflow_list`: Onboarding workflows, with their steps and how many people are in each
- `agent_list`: Agents you can see: your own and shared ones, with their last run
- `apps_list`: Apps you can connect, whether each is connected, and the actions each offers

**Toolsets.** Add `?toolsets=` to the URL to list whole areas up front, for example `https://<your-hyperdesk-address>/api/mcp/v1?toolsets=offers,sourcing`, or `?toolsets=all` for everything. The areas: `candidates`, `applications`, `jobs`, `interviews`, `offers`, `communication`, `sourcing`, `reports`, `tasks`, `admin`, `people`, `ai`, `integrations`, `meta`.

**Discovery.** Any capability can be used without listing it first:

- `capability_search`: describe the task in plain words ("reschedule an interview") and get matching capability ids.
- `capability_describe`: the input schema, examples and behavior of one capability.
- `capability_run`: run any capability by id, with its `input` and an optional `dryRun`.

**Resources and prompts.** The resource `hyperdesk://capabilities` lists every capability with its input schema, whether it needs approval and whether it can be undone. The prompts are Hyperdesk's 14 agent templates (`debrief_prep`, `pipeline_health`, `feedback_evaluator`, `late_stage_overview`, `offer_email`, `interviewer_performance`, `reference_check`, `application_screener`, `outreach_drafter`, `scheduling_coordinator`, `offer_closer`, `weekly_hm_update`, `data_hygiene`, `headcount_planner`), each with an optional `about` argument naming what to work on.


## Results and approvals

- **Reads** run at once: `status: "done"` with the `result`.
- **Writes** come back as `status: "needs_approval"` with a `proposal`: its `id`, a `preview` (summary, how many records, the changes and side effects such as an email to a candidate), when it expires and a link to it in Hyperdesk. Show the person the preview. Only if they agree, call `proposal_approve` with the `proposalId`; they can also approve it in Hyperdesk under Home > Approvals. Never approve on your own: MCP clients mark `proposal_approve` and `action_undo` as actions that need the person's OK.
- **Dry run:** add `"_dryRun": true` to a write's arguments to get `status: "preview"` and change nothing.
- **Undo:** writes that can be reversed return an `undoToken`; `action_undo` reverses them for 7 days.
- **Retries:** add `"_idempotencyKey": "<your key>"` so a retried write happens once.
- **Errors** come back with `isError: true` and `{ "error": { "code", "message", "data" } }`, for example `needs_connection` when an app such as Google Calendar must be connected first.

More in [Approvals and undo](https://hyperdesk.com/docs/approvals).

## Limits

- 120 requests a minute per connection.
- A work budget of 240 a minute per person: most tools count 1, heavier ones (AI, agent runs, finding times and some reports) count 2 to 5.
- 1,000 requests a minute per API key or per signed-in person.

Over a limit, the tool returns the code `rate_limited`; wait a moment and try again.

---
Every surface needs a Hyperdesk account; access is by invitation. Get one: https://hyperdesk.com/book-demo. Help center for app users: https://app.hyperdesk.com/help
