from the team behind Truto
Connect Clockwork to ChatGPT: Manage Talent Sourcing & Pipelines
Roopendra Talekar
9 min read
The best way to connect Clockwork to ChatGPT is Elaichi: connect Clockwork to Elaichi once, then add Elaichi to ChatGPT as a connector. Two steps, about a minute, with a 14‑day free trial and no credit card required.
-
Start your free trial
14 days free, no credit card required.
-
Connect Clockwork
Once, in Elaichi. ChatGPT never gets more access than you have.
-
Add Elaichi to ChatGPT
In ChatGPT, open Plugins, press +, and paste the URL into Server URL. Sign in and approve.
https://api.elaichi.ai/mcp
Building Clockwork into your own product? The guide below is for you. Read the guide ↓ Start free on Truto →
The developer guide
Learn how to build a secure, authenticated MCP server to connect Clockwork to ChatGPT. Automate executive search, talent pipelines, and candidate sourcing.
If you need to connect Clockwork to ChatGPT to automate talent sourcing, manage executive search pipelines, or update candidate records via natural language, you need a Model Context Protocol (MCP) server. This server acts as the translation layer between ChatGPT's tool calls and Clockwork's REST API. You can either spend weeks building and maintaining this infrastructure yourself, or use a managed integration platform like Truto to dynamically generate a secure, authenticated MCP server URL.
If your team uses Claude, check out our guide on connecting Clockwork to Claude or explore our broader architectural overview on connecting Clockwork to AI Agents.
Giving a Large Language Model (LLM) read and write access to an executive search platform like Clockwork is a massive engineering challenge. You have to handle complex relational data payloads, polymorphic custom fields, and deeply nested candidacy lifecycles. Every time a recruiter needs a new workflow, your custom server code must be updated, redeployed, and tested.
This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for Clockwork, connect it natively to ChatGPT, and execute complex executive search workflows using natural language.
The Engineering Reality of the Clockwork API
A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable way for models to discover tools, implementing it against Clockwork's highly specific relational architecture is exceptionally painful.
If you decide to build a custom MCP server for Clockwork, you own the entire API lifecycle. Here are the specific integration challenges that break standard CRUD assumptions when working with Clockwork:
Deeply Nested Candidacy Lifecycles
In standard CRMs, a contact is linked to a deal. In Clockwork, the hierarchy is much stricter and deeply nested. A candidate is a Person. To track their involvement in a search, they must have a Candidacy linked to a Project. Extracting a candidate's pipeline state requires traversing nested endpoints like /projects/{project_id}/candidacies/{candidacy_id}/status_history. Your MCP server must maintain this context across multiple tool calls - if ChatGPT tries to add a note to a person instead of a candidacy, the workflow fails.
Polymorphic Firm Fields
Clockwork relies heavily on the Firm context, but custom fields are polymorphic. The /firm_fields endpoint returns custom fields where the object_type can be project, person, deal, or company. An LLM cannot just guess the schema; it needs dynamic mapping. Your MCP server has to parse these polymorphic definitions and present them to ChatGPT as explicit JSON schemas, otherwise the model will hallucinate field payloads during candidate updates.
Strict Rate Limit Headers and Pass-Through
Clockwork enforces strict API rate limits to protect its infrastructure. A critical architectural note: Truto does not retry, throttle, or apply backoff on rate limit errors. When the upstream Clockwork API returns an HTTP 429 (Too Many Requests), Truto passes that error directly to the caller. Truto normalizes the upstream rate limit information into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) per the IETF spec. The caller - meaning your LLM orchestration layer or ChatGPT client - is entirely responsible for reading these headers and implementing retry or backoff logic.
How to Generate a Clockwork MCP Server
Instead of building a custom Node.js or Python server to handle Clockwork's quirks, you can use Truto to auto-generate a documentation-driven MCP server. Truto derives tool definitions directly from Clockwork's resource schemas.
You can generate the MCP server in two ways: via the Truto UI or programmatically via the API.
Method 1: Via the Truto UI
For teams testing workflows or doing manual setup, the UI is the fastest path.
- Log into your Truto dashboard and navigate to the Integrated Accounts page for your Clockwork connection.
- Click the MCP Servers tab.
- Click Create MCP Server.
- Select your desired configuration. You can name the server (e.g., "ChatGPT Talent Sourcing"), filter allowed methods (like
read,write), and apply resource tags. - Click Save, and copy the generated MCP server URL. It will look like
https://api.truto.one/mcp/<token>.
Method 2: Via the Truto API
For production deployments, you should generate MCP servers programmatically. One POST call scopes an MCP endpoint to a specific integrated account.
You will need the integrated_account_id for the authenticated Clockwork tenant.
curl -X POST https://api.truto.one/integrated-account/$INTEGRATED_ACCOUNT_ID/mcp \
-H "Authorization: Bearer $TRUTO_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Clockwork for ChatGPT",
"config": {
"methods": ["read", "write"],
"tags": ["projects", "people", "candidacies"]
}
}'The API validates the configuration, generates a secure token, and returns a ready-to-use URL. This single URL handles all routing, authentication, and schema translation.
Connecting the MCP Server to ChatGPT
Once you have the Truto MCP URL, you can connect it to ChatGPT. You can do this through the ChatGPT interface for end-users, or via a manual configuration file if you are running a custom headless agent using the MCP Server SSE transport.
Method A: Via the ChatGPT UI
If you are using ChatGPT Pro, Plus, Business, Enterprise, or Education accounts with Developer mode enabled:
- Open ChatGPT and navigate to Settings -> Apps -> Advanced settings.
- Ensure Developer mode is enabled.
- Under MCP servers / Custom connectors, click Add new server.
- Enter a name (e.g., "Clockwork Sourcing").
- Paste the Truto MCP URL into the Server URL field.
- Save the configuration. ChatGPT will immediately connect, perform the MCP initialization handshake, and list the available Clockwork tools.
Method B: Via Manual Config File (SSE Transport)
If you are orchestrating ChatGPT via an API script, a custom LangChain agent, or an IDE like Cursor, you connect via a JSON configuration file. Truto supports Server-Sent Events (SSE) for remote MCP transport.
Create an mcp-config.json file:
{
"mcpServers": {
"clockwork": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sse",
"--url",
"https://api.truto.one/mcp/<your-token-here>"
]
}
}
}When your agent boots up, it will execute the npx command, establish an SSE connection to the Truto URL, and dynamically load the Clockwork tools into the LLM's context window.
Clockwork Hero Tools for AI Agents
Truto exposes Clockwork's API surface as discrete, well-documented JSON-RPC tools. Below are the highest-leverage tools for talent sourcing workflows. We have omitted generic CRUD operations in favor of the endpoints that actually drive executive search mechanics.
Search Projects
Tool Name: clockwork_projects_search
Before adding candidates, an agent needs to find the active search project. This tool supports fuzzy matching by client company name, ID, or LinkedIn URL, making it highly resilient to imprecise LLM prompts.
"Find the active executive search project we are running for the client 'Acme Corp' and give me its ID."
Find All People
Tool Name: list_all_clockwork_people
Returns the list of all People within the Firm. This is the primary directory lookup tool used before creating new candidates, ensuring the agent doesn't create duplicate records.
"Search our firm's directory to see if we already have a person record for 'Jane Doe' who works at Initech."
Create a Person
Tool Name: create_a_clockwork_person
Creates a new person record. This requires mapping standard fields (name, email) into Clockwork's strict JSON structure. It returns the newly created ID, which is immediately required for the next step of the workflow.
"Create a new person record for John Smith, currently the VP of Engineering at Pied Piper, and return his new ID."
Add Candidacy to Project
Tool Name: create_a_clockwork_projects_candidacy
This is the core mapping action in Clockwork. It links a Person to a Project, establishing them as an active candidate for that specific search.
"Take person ID 89123 and add them as a candidate to project ID 445. Set their initial status to 'Identified'."
Find All Source Companies
Tool Name: list_all_clockwork_projects_source_companies
Returns the source (target) companies of a Project across all of its target lists, including coverage status and comment counts. This is critical for generating status reports on where the firm is hunting for talent.
"List all the target source companies for the Chief Revenue Officer project. Filter out the ones that have already been fully covered."
Create a Candidacy Note
Tool Name: create_a_clockwork_projects_candidacies_note
Creates a note specifically attached to the candidate's involvement in a project, rather than a generic note on their global person record. Essential for logging interview feedback or screening calls.
"Log a note on Jane Doe's candidacy for the Acme Corp project. Note content: 'Completed initial phone screen. Very strong technical background, but salary expectations are 20% above our target band.'"
To view the complete inventory of available Clockwork tools and their exact JSON schema definitions, visit the Clockwork integration page.
Workflows in Action
Exposing individual tools is only half the battle. The real value of an MCP server is enabling ChatGPT to orchestrate multi-step, stateful workflows. Here is how the server handles complex sourcing scenarios.
Scenario 1: Sourcing and Adding a New Executive
An IT recruiter wants to add a new prospect they found on LinkedIn into an active search project, without breaking their chat interface.
"I just found a great prospect for the VP of Engineering search at Pied Piper. Her name is Sarah Connor, she's currently at Cyberdyne Systems. Check if she is in our system. If not, create a record for her, add her as a candidate to the Pied Piper project, and log a note saying 'Sourced via LinkedIn, strong AI background.'"
Execution Steps:
clockwork_projects_search: The agent searches for "Pied Piper" to grab theproject_id.list_all_clockwork_people: The agent queries the directory for "Sarah Connor" to prevent duplicates.create_a_clockwork_person: Finding no match, the agent creates the new person record and extracts the resultingperson_id.create_a_clockwork_projects_candidacy: The agent passes both theproject_idandperson_idto establish the relationship, returning acandidacy_id.create_a_clockwork_projects_candidacies_note: The agent posts the text payload to the specific candidacy.
Result: The user gets a plain-text confirmation: "Sarah Connor has been added to the system and attached to the Pied Piper VP of Engineering search. I have also logged your note on her candidacy record."
sequenceDiagram
participant User as "User"
participant GPT as "ChatGPT Agent"
participant Truto as "Truto MCP Server"
participant API as "Clockwork API"
User->>GPT: "Add Sarah Connor to the Pied Piper project..."
GPT->>Truto: clockwork_projects_search (Pied Piper)
Truto->>API: GET /projects/search
API-->>Truto: Return project_id: 884
Truto-->>GPT: JSON Result
GPT->>Truto: list_all_clockwork_people (Sarah Connor)
Truto->>API: GET /people
API-->>Truto: Return empty array (Not found)
Truto-->>GPT: JSON Result
GPT->>Truto: create_a_clockwork_person
Truto->>API: POST /people
API-->>Truto: Return person_id: 9912
Truto-->>GPT: JSON Result
GPT->>Truto: create_a_clockwork_projects_candidacy
Truto->>API: POST /projects/884/candidacies
API-->>Truto: Return candidacy_id: 4432
Truto-->>GPT: JSON Result
GPT->>Truto: create_a_clockwork_projects_candidacies_note
Truto->>API: POST /projects/884/candidacies/4432/notes
API-->>Truto: Success
Truto-->>GPT: JSON Result
GPT-->>User: "Done. Sarah is in the project pipeline."Scenario 2: Project Status and Target List Audit
A search partner wants a quick briefing on the status of a retained search before jumping on a client call.
"Get me a summary of the source companies for the Acme Corp project. Tell me how many companies we are targeting, how many are marked as covered, and if we have any candidates currently in the 'Interview' stage."
Execution Steps:
clockwork_projects_search: The agent resolves "Acme Corp" to itsproject_id.list_all_clockwork_projects_source_companies: The agent pulls the target list, reading the coverage status and comment counts for the project.list_all_clockwork_projects_candidacies: The agent fetches the list of candidacies attached to the project, filtering the JSON response for those with a current status matching 'Interview'.
Result: The user receives a synthesized report: "For the Acme Corp search, we are currently targeting 45 source companies. 12 of those have been fully covered. We currently have 3 candidates in the Interview stage: Mark Johnson, Emily Chen, and David Wright."
Security and Access Control
When you give an LLM access to a firm's executive search database, security is non-negotiable. Truto provides several mechanisms to lock down your Clockwork MCP server at generation time:
- Method Filtering (
methods): Restrict the server to specific operations. Passingmethods: ["read"]ensures ChatGPT can search projects and read candidate profiles, but cannot create, update, or delete records under any circumstances. - Tag Filtering (
tags): Restrict the server to specific functional areas. By passingtags: ["candidacies", "projects"], you prevent the LLM from accessing billing data, users, or webhooks. - Extra Authentication (
require_api_token_auth): By default, the MCP URL acts as the bearer token. Enabling this flag requires the connecting client to also pass a valid Truto API token in theAuthorizationheader, adding a second layer of security. - Time-to-Live (
expires_at): Set an ISO datetime to create temporary servers. Once the time expires, the URL is destroyed automatically. This is ideal for giving a contractor or an automated script temporary MCP access for a specific sprint.
Moving Forward with Agentic Sourcing
Connecting Clockwork to ChatGPT transforms your executive search database from a static repository into an active, agentic participant in your sourcing workflows. By utilizing a managed MCP server via Truto, you bypass the friction of custom schema mapping, dynamic endpoint resolution, and raw API maintenance.
You handle the prompting; Truto handles the integration layer.
FAQ
- What is the easiest way to connect Clockwork to ChatGPT?
- The best way to connect Clockwork to ChatGPT is Elaichi: connect Clockwork to Elaichi once, then add Elaichi to ChatGPT as a connector. Two steps, about a minute, with a 14-day free trial and no credit card required.
- How does Truto handle Clockwork API rate limits?
- Truto does not retry, throttle, or apply backoff on rate limit errors. It passes the HTTP 429 error directly to the caller and normalizes upstream rate limit info into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) per the IETF spec. The caller is responsible for implementing retry logic.
- Can I prevent ChatGPT from deleting Clockwork data?
- Yes. When generating the MCP server via Truto, you can use Method Filtering to restrict the server to 'read' or 'write' (create/update only) operations, ensuring the LLM cannot execute destructive actions.
- Does this work with custom fields in Clockwork?
- Yes. Truto's proxy API handlers execute tool calls directly against the integration's native resources, meaning the LLM receives the exact JSON schemas for your firm's polymorphic custom fields.