Claude, ChatGPT, Gemini CLI, and other MCP clients call the same account as the HTTP API, after an owner or admin approves the client. The assistant can order an invite and read status. It does not receive record rows, and it cannot recommend a hire.
Who it is for. An owner connecting an AI assistant or another MCP client.
Settings, then Integrations, shows one row per connected app, with its status and when it was last used. Activity lists recent requests from those apps. Disconnect turns off every token for that app.
Server address
https://www.prehirebadge.com/api/mcp. It speaks the MCP Streamable HTTP transport and answers each call with JSON.Connect an assistant
Menu names change often, so look for custom connectors or MCP servers in each product. Each one signs in with OAuth. The assistant finds the sign-in page by itself, so you only paste the server address.
Install with your AI
Copy one prompt and paste it into your assistant. It adds PreHireBadge to your user account, for every project, and signs in with OAuth.
Paste it into Cursor, Claude, ChatGPT, Gemini, or Copilot Studio.
Install the PreHireBadge MCP server on this computer for my user account, so it is available in every project. Merge it into the existing user-level MCP config. Do not replace other servers, and do not put it only in this project's folder.
Name: prehirebadge
URL: https://www.prehirebadge.com/api/mcp
Auth: OAuth only. Do not add an API key or Authorization header.
Use the URL field this app actually reads. A wrong field is valid JSON and is silently ignored.
- Cursor: "url" in ~/.cursor/mcp.json (on Windows, %USERPROFILE%\.cursor\mcp.json). Do not use "httpUrl".
- Claude (desktop or Claude Code): a custom connector or remote MCP entry with the URL above.
- Gemini CLI: "httpUrl" in the user mcpServers settings (often ~/.gemini/settings.json).
- ChatGPT: a custom connector with that URL and authentication set to OAuth. Developer mode must be on under Settings, then Connectors, then Advanced.
- Microsoft Copilot Studio: add a Model Context Protocol tool with that URL and OAuth 2.0 with dynamic discovery.
When the file or connector is saved, tell me the path you wrote and the one step I must do before the server shows up. For Cursor, that step is Reload Window. Then start OAuth and stop so I can sign in to PreHireBadge as an owner or admin and approve scopes.After it installs
- Cursor. Confirm
prehirebadgeunder Customize, then MCP. The entry usesurlin~/.cursor/mcp.json.httpUrlis ignored, so the server never appears. Reload the window, then approve the OAuth prompt as an owner or admin. - Claude. Confirm the custom connector points at
https://www.prehirebadge.com/api/mcp, then approve the scopes you want. - ChatGPT. Open Settings, then Connectors. Turn on developer mode under Advanced if it is off, create the connector with that address and OAuth, then approve. Custom connectors depend on your plan, and a workspace admin may need to allow them.
- Gemini CLI. Confirm
httpUrlis in your usermcpServerssettings, run/mcp auth prehirebadge, then approve. - Copilot Studio. On the agent, open Tools, add a Model Context Protocol tool with that address, choose OAuth 2.0 with dynamic discovery, then approve.
- Cursor. The prompt writes
urlin~/.cursor/mcp.json. Reload the window before you look for the server. - Claude. Add a custom connector, paste the server address, and approve the scopes you want.
- ChatGPT. Open Settings, then Connectors. Turn on developer mode under Advanced, then create a connector. Paste the server address, choose OAuth for authentication, and approve the scopes. Custom connectors depend on your ChatGPT plan, and a workspace admin may need to allow them.
- Gemini CLI. Add the server to the
mcpServersblock of your user settings, then run/mcp auth prehirebadgeto sign in. - Copilot Studio. Open the agent, then Tools, then Add a tool, then Model Context Protocol. Paste the server address and choose OAuth 2.0 with dynamic discovery.
Cursor reads url in ~/.cursor/mcp.json. Gemini CLI reads httpUrl. Using the other key leaves the file valid and the server missing.
Cursor:
{
"mcpServers": {
"prehirebadge": {
"url": "https://www.prehirebadge.com/api/mcp"
}
}
}Gemini CLI:
{
"mcpServers": {
"prehirebadge": {
"httpUrl": "https://www.prehirebadge.com/api/mcp"
}
}
}A client that cannot run OAuth can send an API key as Authorization: Bearer ... instead. For Gemini CLI, add a headers object with that header next to httpUrl.
No hire recommendation
What a client does
- It calls POST /api/mcp without a token. The answer is
401with aWWW-Authenticateheader whoseresource_metadatapoints at the discovery document. - It registers, then opens the approve page with a PKCE challenge. Sign in, choose scopes, and approve. The browser returns a one-time code.
- It exchanges the code for a bearer token, calls POST /api/mcp, and renews the token with the refresh token.
Discover and register
These routes are public and allow cross-origin reads:
GET /.well-known/oauth-authorization-serverlists the authorize, token, and registration URLs, response typecode, grantsauthorization_codeandrefresh_token, client authenticationnone, and PKCE methodS256.GET /.well-known/oauth-protected-resourcenames the resource/api/mcp. The path-suffixed form/.well-known/oauth-protected-resource/api/mcpreturns the same document.
Both documents list these scopes: checks:read, checks:write, checks:request, candidates:read, candidates:write, credits:read, reports:read, company:read, company:write, skills:read, skills:write, jobs:read, jobs:write, applications:read, applications:write, integrations:read, references:read, references:write, webhooks:write.
request_references and get_reference_status use references:write and references:read. The server tells every assistant: reference answers are never included, never characterize them, and never infer whether someone should be hired from a reference check. Answers stay in PreHireBadge.
POST /api/oauth/register takes JSON. redirect_uris is required, up to ten. Each URI is https, or http on localhost, 127.0.0.1, or [::1] for a local client, with no fragment. client_name is optional and is stored up to 80 characters. A bad URI returns 400 with invalid_redirect_uri. Success returns 201.
{
"client_id": "phb_client_...",
"client_id_issued_at": 1790000000,
"client_name": "My assistant",
"redirect_uris": ["https://example.com/callback"],
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"token_endpoint_auth_method": "none"
}There is no client secret. Keep the client_id.
Approve and exchange
Send the user to /oauth/authorize with client_id, redirect_uri, code_challenge (method S256), and state. An optional scope limits which boxes start checked. The page names the client and the address the browser returns to. An owner or admin signs in, leaves the scopes they want checked, and approves. The browser redirects to the registered URI with code and state. Choosing Cancel returns error=access_denied instead. The code lasts ten minutes and works once.
POST /api/oauth/token takes a form body, and also accepts JSON. To trade a code, send grant_type=authorization_code, code, client_id, redirect_uri, and code_verifier.
{
"access_token": "phb_oauth_...",
"refresh_token": "phb_refresh_...",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "checks:read checks:write"
}The access token expires in one hour. To renew it, send grant_type=refresh_token, refresh_token, and client_id. The reply has the same shape, with a new access token and a new refresh token. Each refresh token works once and lasts 30 days. A refresh can narrow the scopes with scope, and it cannot add any. A bad, used, or expired code or refresh token returns 400 with invalid_grant. Any other grant returns unsupported_grant_type. Errors include an error_description.
Call the tools
POST /api/mcp uses the bearer token and JSON-RPC 2.0. initialize negotiates protocol 2025-06-18, 2025-03-26, or 2024-11-05, and returns server prehirebadge version 1. ping returns an empty result. Notifications such as notifications/initialized get HTTP 202 with no body, and a batch array returns an array of answers. GET and DELETE return 405, because the server keeps no session and opens no stream.
tools/list returns every tool. Tools that change data are marked as writes, so an assistant can ask you to confirm before it drafts or publishes a job, adds an applicant or a candidate, moves a stage, adds a note, sends a skills test, assigns a course, or orders an invite. Jobs, applicants, candidates, notes, and connected apps are in MCP tools. tools/call takes params.name and params.arguments. Tool results are text that contains JSON. A failed call, such as a missing scope or an unknown check, returns that text with isError set to true. A bad envelope is code -32600, bad JSON is -32700, an unknown method is -32601, and an unknown tool is -32602.
| Tool | Scope | Arguments and result |
|---|---|---|
| request_background_check | checks:write | Requires firstName, lastName, email, locationId, positionTitle, payBand, conditionalOfferMade, and certifyPermissiblePurpose. requisitionId and sendInvite are optional. A live call returns ok, inviteId, inviteUrl, priceCents, and checkId. A duplicate sets duplicate true and inviteUrl to an empty string. |
| get_check_status | checks:read | Argument id. Returns id, status, and outcome. outcome is null without reports:read. An unknown check returns error Check not found. |
| list_candidates | candidates:read | No arguments. Returns up to 50 candidates as id, first_name, and last_name. Email is not included. A person who only has a skills quiz is not included. |
| get_credit_balance | credits:read | No arguments. Returns credits. |
| interpret_result | checks:read | Requires question. Optional outcome and checkId. Returns refusedVerdict, text, and steps. A question about hiring is refused. A clear result does not start adverse action. |
| list_locations | company:read | No arguments. Returns locations, including archived ones. |
| list_requisitions | company:read | No arguments. Returns up to 50 requisitions. |
| compliance_summary | checks:read | No arguments. Returns completion and outcome counts. Not legal advice. |
| list_skill_results | skills:read | No arguments. Returns scores without answer keys. Quiz-only people are listed here. |
| draft_document | company:read | Requires kind of offer or policy. Returns a draft for counsel. It is not a contract. |
A test API key used as the MCP bearer always finishes request_background_check as clear. The test-outcome header is not read on this route. Field rules match the invite model, except this tool's schema asks for email rather than a phone number.
Reference checks

See API keys and scopes.

