The quick decision
Use MCP when a compatible assistant should discover and call Graviola tools during an interactive workflow. Use REST when your application or service needs to make explicit HTTP requests, control its own user interface and orchestrate each step in code.
Both paths connect to the Graviola service. Workspace permissions, available fields, plan limits and required approvals still apply. The MCP tool catalog and the live OpenAPI specification define the supported operations for each integration; do not assume they offer identical features.
What MCP changes in an AI workflow
MCP gives a compatible client a standard way to discover and call server tools. The client can present Graviola operations to an assistant, which can plan a sequence of requests and show results in the conversation. The client must support remote Streamable HTTP connections and the applicable authentication flow. Client menus, OAuth support and workspace policies vary.
https://mcp.graviola.dev/api/mcpWhat the REST API changes
The REST API gives a program explicit routes, request bodies and JSON responses. Your application owns orchestration, validation, error handling, user confirmation and presentation. This is useful when an engineering team needs to integrate defined Graviola operations into an existing service or workflow. A key is a credential for a workspace, not a replacement for account permissions or plan limits.
REST API: https://api.graviola.dev/api/v1
OpenAPI: https://api.graviola.dev/api/v1/openapi.jsonCompare the integration choices
| Question | MCP | REST API |
|---|---|---|
| Who calls Graviola? | A compatible MCP client and its assistant | Your application or service |
| How does a developer connect? | Configure the remote endpoint, then complete OAuth in a supported client; secure API-key use is an alternative where supported | Call the REST base URL from a trusted server using a workspace-issued Bearer key |
| Who orchestrates steps? | The assistant and client, within discovered tools and user review | Your code, according to your application logic |
| What is the source of truth? | The authenticated MCP tool catalog and tool schemas | The published OpenAPI specification and route schemas |
| Best first test | Read workspace details and inspect available tools without searching or writing | Call the read-only usage route and inspect the JSON response |
| Main engineering responsibility | Confirm client support, OAuth, user confirmation and tool permissions | Protect secrets, validate input, handle retries, request IDs, errors and user consent |
Keep authentication tied to the right workspace
An unauthenticated MCP health response does not prove the service is unavailable. Protected operations require an authorized connection. Use the current client setup guide and API specification rather than weakening production authentication for a directory badge or connectivity test.
- For MCP, select the intended Graviola workspace and complete the client OAuth flow when available. Do not paste a key into the conversation.
- For REST, create a key in the intended workspace with the minimum access needed. Keep it in a server-side environment variable or secret manager; never put it in browser code, a public repository or an AI prompt.
- Check expiry, scopes and workspace access before testing. Revocation of an API key and disconnection of an OAuth client are separate operations.
Run a small read-only pilot
- Write down one recruiting task, the intended workspace, the allowed data and the decision a human will make.
- Connect using one path first. Avoid implementing MCP and REST simultaneously before the workflow requirements are clear.
- Verify workspace identity and current limits without starting a people search, revealing contact details or sending email.
- Inspect the current MCP tools or OpenAPI routes, then choose one low-risk read operation supported by that interface.
- Record client support, setup steps, required permissions, returned evidence, error handling and engineering effort.
- Only add search, record changes, contact reveal or outreach after the user-facing approvals and operational safeguards are designed.
curl --fail-with-body \
https://api.graviola.dev/api/v1/usage \
-H "Authorization: Bearer $GRAVIOLA_API_KEY"Choose by scenario
| Scenario | Starting point | Reason |
|---|---|---|
| A recruiter wants to ask an assistant for a small, reviewed shortlist | MCP, if the chosen client supports remote MCP and OAuth | The assistant can call discovered tools within the conversation and show results for review |
| A product team is adding people search to an existing application | REST API | The application controls the UI, request flow, logging and error handling |
| A team needs a scheduled or repeatable service workflow | REST API, after checking route support and plan limits | The application can manage schedule state, request IDs, retries and audit records |
| A developer is comparing an assistant workflow with a custom integration | Pilot MCP and REST separately against the same bounded read-only task | The comparison measures setup and control without assuming feature parity or equal cost |
Check the contract before committing
API routes, MCP tools, plan allowances and client capabilities can change. Check the live contract before implementation, and verify the workspace and permissions at runtime. A successful integration test does not prove profile coverage, candidate fit, contact deliverability, hiring outcomes or sales results.
Graviola is a product of Heuv Technologies. For detailed implementation steps, use the linked connection and REST API guides.