Supported clients
Claude Desktop
Claude Desktop
- Open Claude Desktop
- Go to Settings → Connectors
- Click Add connector
- Enter the server URL:
https://mcp.relevanceai.com/ - Follow the authentication prompts to connect your Relevance AI project
Claude Web
Claude Web
- Navigate to the Connectors page in Claude.ai
- Click Add connector
- Enter the server URL:
https://mcp.relevanceai.com/ - Follow the authentication prompts
ChatGPT
ChatGPT
- Open ChatGPT Settings
- Go to Connectors → Advanced → Developer Mode
- Click Add connector
- Enter the server URL:
https://mcp.relevanceai.com/ - Set Authentication to OAuth and follow the login flow
Cursor
Cursor
- Open Cursor Settings
- Navigate to the MCP tab
- Click Add new MCP server
- Use the following configuration in your
mcp.json:
VS Code / Copilot
VS Code / Copilot
.vscode/mcp.json):Windsurf
Windsurf
Codex
Codex
Zed
Zed
settings.json):v0 by Vercel
v0 by Vercel
Claude Code (manual)
Claude Code (manual)
/mcp from within Claude Code. You will see the new MCP server in the list. Select it to connect and follow the authentication steps.Other clients
Other clients
npx command, use:Authentication
When you first connect, you will be prompted to authenticate with your Relevance AI account via an OAuth consent page. Authentication is per project — you will be connected to a specific Relevance AI project after logging in.OAuth consent and access control
The OAuth consent page lets you review the access being granted to the connecting AI client before completing authentication. It includes a Run-only access toggle that controls what the connected AI agent can do within your project. When run-only access is enabled, the connected AI agent can view and execute agents, tools, and workforces — but write and delete tools are entirely absent from the MCP tool list, not just blocked. The agent cannot create, edit, publish, or delete any assets. When run-only access is disabled, the agent has the same capabilities your account role allows.Roles and access levels
Your project role determines the default access mode and whether you can change it:Working with multiple projects
If you work across multiple Relevance AI projects, add a separate MCP server entry for each:Add agent skills
The MCP server gives your AI assistant the ability to call Relevance AI tools, but it doesn’t know how to use them well. For better results, pair it with the agent skills repository — a local reference that teaches your assistant how to work with agents, tools, workforces, knowledge, and more.Handling long-running agent executions
Triggering an agent via MCP never blocks on the agent finishing.relevance_trigger_agent returns immediately, and you poll for the result separately — so the pattern is the same whether an agent takes two seconds or twenty minutes.
Execution workflow
Trigger the agent
relevance_trigger_agent with the agent ID and your message. It returns immediately with a conversation_id — the same value other agent task tools call task_id. It does not wait for the agent to finish.Poll for results
relevance_poll_agent_result with the agent_id and conversation_id. Pass wait_seconds to long-poll until the run reaches a terminal state — the default window is 50 seconds and the maximum is 300. Pass 0 for a single-shot check.Read the status
in_progress means keep polling. completed means the response contains the agent’s output. failed means the agent itself terminated. pending_approval means a human needs to act — the response includes the conversation URL to visit.completed or in_progress and the response includes had_recoverable_tool_errors: true. That flag reflects only the most recent messages inspected, so treat its presence as a positive signal and not its absence as proof no tool ever failed.Running evaluations
relevance_run_evaluation starts an evaluation run against an agent or workforce, so you can score changes without leaving your AI client.
test_set_id or scenario_ids, not both. Poll for the outcome with relevance_poll_eval_batch_result, and stop a run in progress with relevance_cancel_eval_batch.
version_id pins the graph topology only — nested agents still run their latest version.Cancelling executions
Three tools stop in-progress work:relevance_cancel_agent_task
relevance_cancel_agent_task
task_id — the conversation_id returned by relevance_trigger_agent. New turns are blocked and the run halts at its next step boundary: the in-flight step finishes first, so there is no hard abort mid-step. The task stays stopped.relevance_cancel_workforce_task
relevance_cancel_workforce_task
workforce_id and task_id.relevance_cancel_tool_run
relevance_cancel_tool_run
task_id, the run ID from relevance_list_tool_runs.Troubleshooting
Authentication issues
Authentication issues
- Make sure you have an active Relevance AI account
- Check that you have access to the project you are trying to connect to
- Try removing and re-adding the MCP server connection
Tools not appearing
Tools not appearing
- Verify that you have tools configured in your Relevance AI project
- Check that you are authenticated to the correct project
- Try disconnecting and reconnecting the MCP server
Connection errors
Connection errors
- Ensure you have a stable internet connection
- Check that
https://mcp.relevanceai.com/is accessible from your network - Try removing and re-adding the MCP server connection in your client
- Try clearing the auth cache:
rm -rf ~/.mcp-auth
An agent run never seems to finish
An agent run never seems to finish
relevance_trigger_agent returns as soon as the run starts, so a long-running agent is expected rather than a timeout. Poll with relevance_poll_agent_result and a wait_seconds window (up to 300) until the status becomes completed, failed, or pending_approval — in_progress means keep polling. A run sitting at pending_approval is waiting on a human, not stuck; the poll response includes the conversation URL to visit. To stop a run outright, see cancelling executions.Frequently asked questions (FAQs)
What is MCP?
What is MCP?
Is the MCP server free to use?
Is the MCP server free to use?
Can I use multiple AI clients at the same time?
Can I use multiple AI clients at the same time?
Does authentication expire?
Does authentication expire?
Can I restrict which tools are available via MCP?
Can I restrict which tools are available via MCP?

