Skip to main content

Overview

Warp is a modern terminal with AI capabilities and native MCP support. With the Orq MCP integration, you can access your Orq.ai workspace directly from Warp’s AI features.

Prerequisites

Installation

Add MCP Server

  1. Open Warp Settings by clicking Warp in the top-left menu, then select Settings
  2. Click MCP Server in the sidebar
  3. Click the Add button
  4. Paste the following configuration:
{
  "mcpServers": {
    "orq": {
      "url": "https://my.orq.ai/v2/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_ORQ_API_KEY"
      }
    }
  }
}
  1. Replace YOUR_ORQ_API_KEY with your actual API key from Workspace Settings → API Keys
  2. Save the configuration
The MCP server should automatically connect. All Orq.ai tools will be available immediately.

Verify Installation

In Warp’s AI features, ask:
Can you list the available models from Orq?
If the integration is working, you’ll see a list of AI models from your Orq.ai workspace.
Warp MCP Success

Available Commands

Use natural language in Warp to perform these operations:
  • create an agent with custom instructions and tools
  • get agent configuration for [agent-id]
  • configure agent with evaluators and guardrails
  • get analytics overview for my workspace
  • show me workspace metrics for the last 7 days
  • query analytics filtered by deployment ID
  • create a dataset called "customer-queries"
  • list all datapoints in dataset [dataset-id]
  • add datapoints to dataset [dataset-id]
  • update datapoint [datapoint-id]
  • delete dataset [dataset-id]
  • create an experiment from dataset [dataset-id]
  • list all experiment runs
  • export experiment run [run-id] as CSV
  • run experiment and auto-evaluate results
  • create an LLM-as-a-Judge evaluator for tone
  • create a Python evaluator to check response length
  • add evaluator to experiment [experiment-id]
  • list traces from the last 24 hours
  • show me traces with errors
  • get span details for trace [trace-id]
  • find the slowest traces from today

Usage Examples

Chat Panel Commands

Use natural language in Warp’s chat panel:
create a dataset called "API Tests" with 20 synthetic API request examples
The assistant will:
  1. Generate 20 synthetic API request examples
  2. Use create_dataset to create a new dataset named “API Tests”
  3. Use create_datapoints to add all examples to the dataset
  4. Confirm creation with the dataset ID
show me errors from the last 24 hours
The assistant will:
  1. Calculate the time range for the last 24 hours
  2. Use list_traces with error status filter
  3. Display trace IDs, error messages, and timestamps
  4. Provide a summary of error types and frequency
create an experiment comparing GPT-5.2 and Claude Sonnet 4.6 using the "user-queries" dataset
The assistant will:
  1. Search for the “user-queries” dataset using search_entities
  2. Use create_experiment with two configurations (one for GPT-5.2, one for Claude Sonnet 4.6)
  3. Run the experiment against all datapoints in the dataset
  4. Display the experiment ID and status

Inline Code Integration

Warp can use the MCP context while you’re coding:
  1. Select code in your editor
  2. Open chat (⌘ + L)
  3. Ask about traces or analytics related to your code
Example:
# Select this function
def process_user_query(query):
    response = orq.deployments.invoke(...)
    return response
Then ask:
how has this endpoint performed over the last week?
The assistant will:
  1. Extract the deployment key from the selected code
  2. Use query_analytics with the deployment filter
  3. Set time range to the last 7 days
  4. Analyze performance metrics (requests, errors, latency, tokens)
  5. Provide insights and recommendations based on the data

Dataset Creation from Code

[
  {"input": "What is AI?", "expected_output": "Artificial Intelligence..."},
  {"input": "Explain ML", "expected_output": "Machine Learning..."}
]
create a dataset from the JSON array above and add it to my workspace
The assistant will:
  1. Parse the JSON array from your code
  2. Use create_dataset to create a new dataset with an auto-generated name
  3. Use create_datapoints to add each entry as a datapoint
  4. Confirm the dataset ID and number of datapoints added

Experiment Analysis

create an experiment using "customer-feedback" dataset, configure it with two prompts: one focused on empathy and one focused on brevity, then run it and summarize the results
The assistant will:
  1. Search for the “customer-feedback” dataset using search_entities
  2. Use create_experiment with two prompt variants (empathy-focused and brevity-focused) and auto-run enabled
  3. Execute both variants against all datapoints automatically via the auto-run option
  4. Use get_experiment_run to retrieve evaluation metrics
  5. Compare the two variants and provide a summary of which performed better

Performance Investigation

find the 5 slowest traces from today and show me their span details
The assistant will:
  1. Use list_traces with today’s date filter
  2. Sort traces by duration (descending)
  3. Retrieve the top 5 slowest traces
  4. Use list_spans to fetch span information for each trace
  5. Display latency breakdowns, bottlenecks, and performance insights

Synthetic Data Generation

generate 50 realistic customer support questions about a SaaS product and create a dataset called "Support Training Data"
The assistant will:
  1. Generate 50 synthetic customer support questions and expected responses
  2. Use create_dataset to create a dataset named “Support Training Data”
  3. Use create_datapoints to add all 50 examples to the dataset
  4. Confirm creation with the dataset ID and sample of generated questions

Troubleshooting

  1. Check Warp’s MCP status in Settings
  2. Verify your API key is correct
  3. Restart Warp
  4. Check the Developer Console (Help > Toggle Developer Tools)
  1. Confirm your API key is valid
  2. Ensure the API key has the necessary permissions
  3. Try regenerating the API key
  1. Verify the MCP server is running in Settings
  2. Check network connectivity
  3. Review any error messages in the Developer Console