Orq MCP
Access the Orq.ai workspace directly from Cursor. Manage experiments, query traces, and configure agents using natural language.
MCP Gateway
Reach the tools, resources and prompts of the MCP servers behind a gateway.
AI Gateway
Route Cursor’s chat model calls through the AI Gateway for unified tracing and cost tracking.
Orq MCP
With the Orq MCP integration, access the Orq.ai workspace directly from Cursor’s chat interface and coding environment.Prerequisites
- Cursor IDE installed
- Active Orq.ai account
- Orq.ai API key
Installation
Add MCP Server
- Open Cursor Settings by clicking Cursor → Settings in the top-left menu
- Click Tools & MCP in the sidebar
- Click New MCP Server to open an empty mcp.json editor
- Paste the following configuration:
- Replace
YOUR_ORQ_API_KEYwith your actual API key from Workspace Settings → API Keys - Save the configuration
Verification
Open Cursor’s chat panel and ask:
Successfully connected Orq MCP in Cursor
Available Commands
Use natural language to ask Cursor to perform these operations:Agents
Agents
Create an agent with custom instructions and toolsGet agent configuration for [agent-key]Update agent [agent-key] with new instructions or modelConfigure agent with evaluators and guardrailsInvoke agent [agent-key] with input [message]Retrieve agent response [response-id]
Deployments
Deployments
Create a deployment called [deployment-key]Get deployment configuration for [deployment-key]
Skills
Skills
Create a skill called [skill-key]List all skills in my workspaceGet skill [skill-key]Update skill [skill-key]Delete skill [skill-key]
Analytics
Analytics
Get analytics overview for my workspaceShow me workspace metrics for the last 7 daysQuery analytics filtered by deployment ID
Datasets
Datasets
Create a dataset called "customer-queries"List all datapoints in dataset [dataset-key]Add datapoints to dataset [dataset-key]Update datapoint [datapoint-id]Delete specific datapoints in dataset [dataset-key]Delete dataset [dataset-key]
Experiments
Experiments
Create an experiment from dataset [dataset-key]List all experiment runsExport experiment run [run-id] as CSVRun experiment and auto-evaluate results
Evaluators
Evaluators
Get evaluator configuration for [evaluator-key]Create an LLM-as-a-Judge evaluator for toneCreate a Python evaluator to check response lengthAdd evaluator to experiment [experiment-key]Update evaluator [evaluator-key] with a new promptUpdate Python evaluator [evaluator-key] with revised code
Traces
Traces
List traces from the last 24 hoursShow me traces with errorsGet span details for trace [trace-id]Find the slowest traces from todayShow all traces for thread [thread-id]
Models
Models
List all available chat modelsList all available embedding modelsInvoke model [model-id] with prompt [message]
Search
Search
Search for datasets named "customer"Find experiments in project [project-id]List directories in project [project-id]
Documentation
Documentation
Search the Orq.ai docs for [topic]
Managing Entities
Managing Entities
Delete agent [agent-key]Delete experiment [experiment-key]Delete evaluator [evaluator-key]Delete prompt [prompt-key]Delete knowledge base [knowledge-base-key]
delete_dataset to delete a dataset along with all its datapoints.Troubleshooting
Orq MCP Not Responding
Orq MCP Not Responding
- Check Cursor’s Orq MCP status in Settings
- Verify the API key is correct
- Restart Cursor
- Check the Developer Console (Help > Toggle Developer Tools)
Authentication Errors
Authentication Errors
- Confirm the API key is valid
- Ensure the API key has the necessary permissions
- Try regenerating the API key
Tools Not Available
Tools Not Available
- Verify the Orq MCP server is running in Settings
- Check network connectivity
- Review any error messages in the Developer Console
Skills
Orq Skills add pre-built agentic workflows to Cursor for the full Build, Evaluate, Optimize lifecycle.Installation
Orq Skills
The full catalogue of skills and slash commands.
Slash commands (
/orq:orq-quickstart, /orq:traces, and others) are only available in Claude Code.MCP Gateway
The MCP Gateway serves the tools, resources and prompts of the MCP Servers linked to it. Add it in Cursor Settings → Tools & MCP → New MCP Server.- OAuth
- API key
401.AI Gateway
Route Cursor’s chat model calls through the Orq.ai AI Gateway by overriding the OpenAI base URL in Cursor Settings. Requests appear in Traces automatically.Select the custom model in Cursor’s chat panel. Tab completion uses Cursor’s built-in models.
Prerequisites
- Cursor Pro or higher
- Active Orq.ai account with AI Gateway access
- Orq.ai API key
- Model enabled in AI Gateway → Supported Models
Setup
1
Open Cursor Settings and navigate to Models
Open Cursor Settings (+, / Ctrl+,) and select the Models tab.
2
Set the base URL
Expand API Keys. Under OpenAI API Key, turn on Override OpenAI Base URL and enter the gateway base URL for the workspace.
3
Enter the API key
Paste the Orq.ai API key in the OpenAI API Key section and turn on Use OpenAI API Key.
4
Add a model
In Add or search model, enter a provider-prefixed model ID such as
anthropic/claude-sonnet-5-5. Choose Add Custom Model, then click Add.Add each AI Gateway model manually, then select the custom model in the chat model picker.Reasoning effort
Add a custom model with a supported reasoning suffix to set its effort. For Claude Sonnet 5.5, add one of these IDs in Cursor Settings → Models and select it in the chat model picker.anthropic/claude-sonnet-5-5, in Supported Models. The AI Gateway applies the suffix when Cursor sends the request. Use the base ID in Cursor for the default reasoning behavior.
Automatic prompt caching
A workspace admin can turn on Automatic prompt caching in the AI Gateway. Cursor uses the existing gateway connection. Continue the same chat to reuse an eligible prompt prefix. Open the follow-up request in Traces and check the model span for cached input tokens.Verification
Send a message with the custom model selected in the chat model picker. Confirm the response appears in Cursor and the request appears in Traces.Troubleshooting
Authentication error
Authentication error
Confirm Use OpenAI API Key is on and the API key belongs to the workspace served by the configured base URL.
Model not found or 404 error
Model not found or 404 error
Check that the provider prefix and base model ID match an enabled model in Supported Models.
No Traces appearing in Orq.ai
No Traces appearing in Orq.ai
Confirm Override OpenAI Base URL is on and the custom model is selected in the chat model picker.
Gateway model missing from the picker
Gateway model missing from the picker
Add the model manually in Cursor Settings → Models and confirm its toggle is on.