GET requests to the API, so an agent connected here cannot create, change or message anyone. To write, call the REST API from your own code.
Before you start
- Create an API key in Developer Settings. The same key works for the REST API and the MCP server.
- Put it in an environment variable. The configs below that read it keep the key out of files you commit:
Install
- Claude Code
- Cursor
- VS Code
- Codex
- Claude Desktop
- Other clients
CLASSET_API_KEY is not set in the shell where you run it, an empty header is saved and every call returns 401; remove the server with claude mcp remove classet and add it again. After you rotate a key, do the same.To share the server with your team, or to keep the key out of the settings file, commit a .mcp.json at the project root instead. Each person sets CLASSET_API_KEY in their own shell:/mcp in Claude Code to confirm classet is connected.Authentication
Sign-in with OAuth is not available yet, so connectors that only offer OAuth (the connector screens in claude.ai and ChatGPT) cannot connect. Requests from a browser page are refused.
get_organization. It returns the organization the key belongs to.
Available tools
Read tools
List tools return
{ data, meta }. On search_candidates and list_all_applications, pass meta.next_cursor back as cursor until it is null. Every page starts at 1 and every limit is capped at 50 (100 on get_candidate_messages). Date filters named created_* and interview_sent_* take YYYY-MM-DD; updated_since, start_date and end_date take an ISO-8601 timestamp. outcome takes an interview outcome such as qualified, unqualified or candidate_not_responsive.
get_candidate and get_interview report job_id as the job’s shortcode, while get_application and get_call report the v2 jobs.id. The job_id filter on search_candidates and list_all_applications accepts either.
Prompts
Example prompts
Once configured, you can ask your AI agent things like:- “Show me all open jobs” (
list_jobswithstate: published) - “Search for candidates named Sarah” (
search_candidates) - “What were the results of the last call for candidate X?” (
get_interview) - “Compare qualified rate by source for screens created this month” (
list_all_applicationswithcreated_after, grouped bysource) - “Which extracted certifications are most associated with a qualified outcome?” (
list_all_applications, comparinginterview_custom_datawithinterview_outcome)
Troubleshooting
401: Send your Classet API key
401: Send your Classet API key
The request had no key. Check that the
Authorization header is set and that the environment variable it reads is exported in the shell that starts your client.A tool returns 401 Invalid API key or API key expired
A tool returns 401 Invalid API key or API key expired
The key reached Classet and was rejected. Create a new one in Developer Settings and update your client’s config. Retrying with the same key will not help.
Every tool returns 404 Not found
Every tool returns 404 Not found
The key is valid but the v2 API is not turned on for your organization yet. Ask success@classet.ai to enable it.
403: Origin not allowed
403: Origin not allowed
The request came from a browser page. Connect from a desktop or command-line client, or from your own server.
405: Method not allowed
405: Method not allowed
The server answers
POST /mcp only. A client set to the older SSE transport sends a GET; switch it to Streamable HTTP ("type": "http").There are no tools for creating or updating
There are no tools for creating or updating
That is by design. The hosted server is read-only. Use the REST API for writes.
A tool returns 429
A tool returns 429
You hit your organization’s rate limit. See Rate limits and ask the agent for fewer, larger pages.
Related
Build with an AI agent
The agent skill,
llms.txt and the OpenAPI spec, for agents that write integration code.Connect Classet to your ATS
Send applicants in, get interview results back.