Skip to content
Graviola
All guides

MCP or REST API?
Choose the right recruiting search integration.

If you are connecting candidate sourcing to an AI assistant or a recruiting application, MCP and REST solve different integration problems. This guide explains when each fits, how they can work together, and what to verify before searching external professional data. It is product guidance from Graviola, not an independent benchmark.

The short answer: assistant-led workflow or application-led integration

Choose MCP when a compatible AI client should discover Graviola tools and coordinate a task with you, such as checking the workspace, inspecting supported search filters, then preparing a small sourcing search for review. MCP gives the client a tool interface; the client and its permissions still determine what it can call.

Choose REST when your application or backend needs to make explicit HTTP requests, validate structured inputs, control retries, and decide how results move through your own workflow. REST is a good fit for a recruiting product, internal service, or automation that owns the request lifecycle.

You can use both: an application can call REST for deterministic system operations while an MCP-connected assistant helps a recruiter plan or review a task. Keep one source of truth for permissions, request IDs, and audit records.

Compare the integration choices

The table is a workflow guide, not a claim that one interface is faster, cheaper, or returns better matches. Both interfaces remain subject to the connected Graviola account, workspace permissions, current allowances, and action-specific approval requirements.

MCP and REST API at a glance

Decision | MCP | REST API
Primary caller | Compatible AI client | Your application or server
Best fit | Interactive, tool-using assistant workflows | Explicit requests in product code or backend jobs
Interface | Discover and call available tools | HTTP routes and request/response schemas
Control point | Client connection plus workspace and tool permissions | API key scope plus application authorization and validation
Current Graviola entry | https://mcp.graviola.dev/api/mcp | https://api.graviola.dev/api/v1
Schema reference | Discover tools after connecting | https://api.graviola.dev/api/v1/openapi.json

Keep saved-contact lookup separate from external talent search

A common integration mistake is treating every people search as the same operation. Graviola's `GET /contacts/search` searches saved workspace contacts. External talent discovery is an action, exposed through MCP tools such as `talent_search` and through the corresponding REST action route documented in the current OpenAPI specification.

Before building against a route, read the live OpenAPI schema and confirm the exact action name, request body, limits, and response shape. Do not infer a route from a UI label or copy a stale example into production. Read-only usage checks such as `GET /usage` can help confirm current allowance before planning a search.

Current Graviola REST API and OpenAPI referenceGraviola API setup and key security guide

Example: an assistant-led recruiter workflow with MCP

A recruiter using a compatible MCP client can ask it to inspect supported filters for a narrowly scoped brief, show the intended workspace and available allowance, then wait for approval before running a search. Afterward the recruiter can review source evidence and decide whether to save a shortlist. A connected badge alone does not prove the right workspace or permissions are selected.

MCP does not bypass permissions. Graviola documents that `talent_search` may consume data or AI credits and can require exact-action approval. Keep search separate from profile loading, contact reveal, record changes, and outreach.

Step-by-step people search MCP tutorialConnect Graviola to your AI client

Try this request with your AI

Use Graviola to plan a search for up to 5 backend engineers with production Rust and PostgreSQL experience in Brazil. First check the connected workspace, current usage, and supported filters. Show the exact proposed filters and expected action. Do not run the search, load profiles, reveal contact details, change records, or send outreach until I approve the specific action.

Example: an application-led recruiter workflow with REST

A recruiting application can validate a hiring brief, bind it to an authorized project, fetch current usage, and then submit the action using the exact schema in OpenAPI. Store the API key in a server-side secret manager or environment variable. Never put it in browser JavaScript, a public repository, or an AI chat.

For supported idempotent actions, generate a UUID request ID and preserve the same ID and exact input when retrying an identical request. Use a new request ID for a changed request. Handle documented statuses explicitly, including a `202` response when a human approval is required; do not treat that response as completed search results.

People search API workflow tutorialOpenAPI specification

Safe API integration outline

1. Read GET /api/v1/usage with a server-side API key.
2. Fetch the current OpenAPI document and validate the hiring brief against its schema.
3. Show the workspace, filters, limit, and expected allowance to the recruiter.
4. Submit only after the required authorization; use a UUID requestId when the schema requires it.
5. If the response requests human approval, pause and surface that exact review.
6. Store the returned operation reference and inspect its result instead of blindly repeating the search.

Choose MCP, REST, or both with this checklist

Use MCP if your main user is working interactively in a supported AI client and wants the assistant to discover and call tools. Use REST if your product code needs explicit schemas, application-level validation, and a controlled request lifecycle. Use both when the recruiter needs an assistant experience and your product needs deterministic backend integration.

Before launch, test with read-only workspace and usage checks, verify the selected workspace, confirm key scope and secret handling, read the current schemas, define a search budget, and decide how human approval is surfaced. Do not equate a successful connection with authorization to reveal contact details or send email.

Compare recruiting MCP serversFind people with the Graviola workflowAPI authentication, limits, and retriesCreate a Graviola account

Set up your workflow

Use the current documentation to confirm connection steps, availability and allowances before executing a workflow.

Graviola API and OpenAPI referenceConnect Graviola MCP to an AI clientPeople search MCP tutorialPeople search API workflow tutorialRecruiting MCP servers comparison

More ways to use Graviola

People Search API Workflow: Search & Reuse Results

Design a Graviola REST API workflow around account checks, bounded searches, saved results and explicit contact and email actions.

People Search MCP Tutorial: Reviewed Shortlist

Connect Graviola's OAuth-based people search MCP server, translate a hiring brief into supported filters, review profile evidence and save a shortlist before revealing contacts.

Recruiting MCP Servers: Candidate Search & ATS

Compare recruiting MCP servers by candidate search, ATS access, shortlist review, outreach, authentication and plan limits with a repeatable pilot.

Get started with Graviola