> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oqoqo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Install the Oqoqo plugin

> Install the Oqoqo plugin in Codex, Claude Code, Cursor, or GitHub Copilot, sign in once, and work with Oqoqo from your AI assistant.

With the plugin, you ask your [AI assistant](https://docs.oqoqo.ai/reference/glossary.md#ai-assistant), such as Codex or Claude Code, in plain language to create tasks, launch experiments, and read results. You still read results and enter secrets in the dashboard.

The plugin has two parts:

* **A connection to the Oqoqo MCP server** at `https://mcp.oqoqo.ai/mcp`, with the same capabilities as the [CLI](https://docs.oqoqo.ai/operate/cli.md) and [Ask Oqo](https://docs.oqoqo.ai/operate/ask-oqo.md). This server operates your projects, and it's separate from the MCP servers that you add as [tools](https://docs.oqoqo.ai/experiments/tools.md). You sign in with OAuth, not an API key.
* **Four [skills](#skills-in-the-plugin)** that teach your AI assistant to build a good eval set, launch it safely, and read the results correctly.

## Prerequisites

* An Oqoqo account in an organization with at least one [project](https://docs.oqoqo.ai/setup/projects.md).
* ChatGPT (Codex), Claude Code, Cursor, or GitHub Copilot. If your host doesn't support plugins, [connect without the plugin](#connect-without-the-plugin).

## Install the plugin

Add the `oqoqo` marketplace (the plugin list your host installs from), then install the `oqoqo` plugin. Both come from the public [Oqoqo-Inc/agent-plugin](https://github.com/Oqoqo-Inc/agent-plugin) repository, so you don't need a GitHub sign-in.

> [tab] ChatGPT (Codex)
>
> ```bash theme={null}
> codex plugin marketplace add Oqoqo-Inc/agent-plugin \
>   --sparse .agents/plugins \
>   --sparse distributions/openai
> codex plugin add oqoqo@oqoqo
> ```

> [tab] Claude Code
>
> ```bash theme={null}
> claude plugin marketplace add Oqoqo-Inc/agent-plugin \
>   --scope user \
>   --sparse .claude-plugin distributions/claude-code
> claude plugin install oqoqo@oqoqo --scope user
> ```
>
> Then start Claude Code and run `/mcp` to [sign in](#sign-in).

> [tab] Cursor
>
> ```bash theme={null}
> cursor-agent plugin marketplace add https://github.com/Oqoqo-Inc/agent-plugin.git
> cursor-agent
> ```
>
> In Cursor Agent, type `/plugin`, open the **Marketplace** tab, select **oqoqo**, press Enter, and choose user scope. Cursor Agent has no command for this step.

> [tab] GitHub Copilot
>
> ```bash theme={null}
> copilot plugin marketplace add Oqoqo-Inc/agent-plugin
> copilot plugin install oqoqo@oqoqo
> ```
>
> Then start `copilot` and run `/mcp auth oqoqo` to [sign in](#sign-in).

The dashboard shows the same commands under **Automate → Oqoqo plugin**:

![Install the Oqoqo plugin page with a tab for each AI assistant, the plugin commands, and Or add MCP directly.](https://mintcdn.com/oqoqo/YO1ysyUx4SPwBwoz/images/screenshots/install-mcp-light.png?fit=max\&auto=format\&n=YO1ysyUx4SPwBwoz\&q=85\&s=231b77ef2792a2a6be86618667442ef0)

The plugin stores no credentials. Its skills read the public docs index at `https://docs.oqoqo.ai/llms.txt`.

## Sign in

The first time your host connects, it opens Oqoqo sign-in in your browser. After that, your AI assistant acts as you in your organization ([sign-in rules](https://docs.oqoqo.ai/mcp-server/overview.md#sign-in)).

| Host | How to sign in |
| - | - |
| ChatGPT (Codex) | If Codex does not open the sign-in page when it first connects, run `codex mcp login oqoqo`. |
| Claude Code | Start Claude Code, run `/mcp`, and complete sign-in for `plugin:oqoqo:oqoqo`. |
| Cursor | Start `cursor-agent`, enter `/mcp`, select **oqoqo**, and select **Login**. |
| GitHub Copilot | In an interactive `copilot` session, run `/mcp auth oqoqo`. |

To check the connection, start a new session and ask who you're signed in as. Your AI assistant calls **Get the signed-in user and organization** ([`get_identity`](https://docs.oqoqo.ai/mcp-server/tools#get_identity)) and shows your organization.

## Turn on tool approval

In your AI assistant's tool approval settings, don't auto-approve Oqoqo tools that change data, such as **Launch an experiment** ([`launch_experiment`](https://docs.oqoqo.ai/mcp-server/tools#launch_experiment)). Your host then asks you before each call. Learn more in [Approvals](https://docs.oqoqo.ai/mcp-server/overview.md#approvals).

> [!WARNING]
>
> A launch spends runs from your run balance, and Oqoqo doesn't ask you to confirm it, so only your host's approval can stop it.

## What your AI assistant can do

| Area | What it can do |
| - | - |
| Define tasks and build treatments | Search the catalog; create and update tasks, files, machines, tools, and treatments; import from public GitHub repositories. |
| Run experiments | Check a plan, then launch, follow, launch again, cancel, or schedule the experiment. |
| Read results | Read pass and fail counts, each treatment's difference from the baseline, Evals verdicts for each criterion, run profiles, trajectories, transcripts, output, and frictions as structured data. |
| Organize and share | Tag records, publish an experiment to a public link, and read your notifications and run balance. |

When a step needs a secret, such as an API key, your AI assistant gives you the dashboard link ([secrets stay in the dashboard](https://docs.oqoqo.ai/mcp-server/overview.md#secrets-stay-in-the-dashboard)). [Plugin (MCP) tools](https://docs.oqoqo.ai/mcp-server/tools.md) lists every tool.

> [!NOTE]
>
> Name the project in your request. The plugin has no current project, so a call that names none can act on a different [project](https://docs.oqoqo.ai/mcp-server/overview.md#projects) than you meant.

### Try a first prompt

```text theme={null}
Show my Oqoqo projects. For the first one, list its catalog and summarize its recent experiments.
```

Then ask for the next step:

```text theme={null}
Draft a task for our checkout flow, launch a small experiment with a baseline and our MCP server, and explain the Matrix and the top frictions when it finishes.
```

## Build an eval set and read its results

Replace the product name, docs link, and project name with your own.

**1. Build the eval set**

Ask your AI assistant:

```text wrap theme={null}
Build an Oqoqo eval set for Acme Payments from its docs at https://docs.example.com. Use my Oqoqo project Acme evals.
```

The `product-eval-authoring` skill reads the docs, posts a plan, and creates the machine, files, tools, treatments, and tasks, mostly with **Create or update many resources** ([`bulk_author_resources`](https://docs.oqoqo.ai/mcp-server/tools#bulk_author_resources)). It then runs **Check an experiment plan before launch** ([`preflight_experiment`](https://docs.oqoqo.ai/mcp-server/tools#preflight_experiment)) and lists each missing secret with its dashboard link.

**2. Finish setup in the dashboard**

Open each link and enter the API keys, secret headers, or OAuth sign-ins. Check under **Manage → Agents** that the agents you want to compare are on.

**3. Launch the experiment**

Ask your AI assistant:

```text wrap theme={null}
Check the eval set again and plan a launch with two trials on Claude Code and Codex. Tell me how many runs it uses, and wait for my go-ahead before you launch.
```

The `product-eval-results` skill checks the plan and tells you the run count. After you agree, it launches with **Launch an experiment** ([`launch_experiment`](https://docs.oqoqo.ai/mcp-server/tools#launch_experiment)) and follows it with **Get experiment status** ([`get_experiment_status`](https://docs.oqoqo.ai/mcp-server/tools#get_experiment_status)) until it finishes. With [tool approval](#turn-on-tool-approval) on, your host asks you before the launch.

**4. Review the results**

Ask your AI assistant:

```text wrap theme={null}
Compare each treatment with the baseline, and list the top frictions and where to fix each one.
```

It uses **Analyze experiment results** ([`analyze_results`](https://docs.oqoqo.ai/mcp-server/tools#analyze_results)) and **List a project's frictions** ([`list_frictions`](https://docs.oqoqo.ai/mcp-server/tools#list_frictions)). To see the results visually, open the experiment's [Matrix](https://docs.oqoqo.ai/evaluation/results.md#matrix) and [Frictions](https://docs.oqoqo.ai/evaluation/frictions.md) in the dashboard.

## Skills in the plugin

Your AI assistant loads a skill when your request matches it. You can also name one in your request.

| Skill | Use it to |
| - | - |
| `product-eval-authoring` | Build a complete eval set from a product's docs: tasks, a machine, files, tools, and treatments. |
| `product-eval-tasks` | Write tasks and fair rubrics from a product's docs, or review an existing rubric. |
| `product-eval-setup` | Set up the machine, files, treatments, and test data for a clean baseline and valid parallel runs. |
| `product-eval-results` | Launch or rerun an experiment, follow it to the end, and read verdicts, frictions, and treatment comparisons. It checks [Comparisons](https://docs.oqoqo.ai/evaluation/comparisons.md) before it calls one treatment better. |

With the skills, your AI assistant:

* Posts a plan (tasks, treatments, and the runs a launch uses) before it creates anything, then goes ahead, so reply right away if you want changes.
* Checks the plan with [`preflight_experiment`](https://docs.oqoqo.ai/mcp-server/tools#preflight_experiment) before it launches, and suggests at least two trials.
* Says which Evals and Insights results are still pending.

## Update or remove the plugin

### Update the plugin

Refresh the marketplace, update the plugin, and start a new session in your host.

> [tab] ChatGPT (Codex)
>
> ```bash theme={null}
> codex plugin marketplace upgrade oqoqo
> codex plugin add oqoqo@oqoqo
> ```
>
> `codex plugin list -m oqoqo` shows the installed version.

> [tab] Claude Code
>
> ```bash theme={null}
> claude plugin marketplace update oqoqo
> claude plugin update oqoqo@oqoqo --scope user
> ```

> [tab] Cursor
>
> ```bash theme={null}
> cursor-agent plugin marketplace update oqoqo
> ```
>
> Cursor Agent has no command that updates an installed plugin. If a new session still loads the old version, type `/plugin`, open **Installed**, select **oqoqo**, select **Uninstall**, and install it again from **Marketplace**.

> [tab] GitHub Copilot
>
> ```bash theme={null}
> copilot plugin marketplace update oqoqo
> copilot plugin update oqoqo@oqoqo
> ```

### Turn off or remove the plugin

Turn the plugin off to pause it, or remove it to delete its skills and Oqoqo connection from your host. Neither changes anything in your Oqoqo organization.

> [tab] ChatGPT (Codex)
>
> To turn the plugin off or on, start `codex`, type `/plugins`, select **oqoqo**, and press Space. You can also set `enabled = false` under `[plugins."oqoqo@oqoqo"]` in `~/.codex/config.toml`.
>
> To remove the plugin and its marketplace:
>
> ```bash theme={null}
> codex plugin remove oqoqo@oqoqo
> codex plugin marketplace remove oqoqo
> ```

> [tab] Claude Code
>
> To turn the plugin off or on:
>
> ```bash theme={null}
> claude plugin disable oqoqo@oqoqo
> claude plugin enable oqoqo@oqoqo
> ```
>
> To remove the plugin and its marketplace:
>
> ```bash theme={null}
> claude plugin uninstall oqoqo@oqoqo
> claude plugin marketplace remove oqoqo
> ```

> [tab] Cursor
>
> To turn the Oqoqo connection off or on, start `cursor-agent`, type `/mcp`, select **oqoqo**, and select **Disable** or **Enable**. The skills stay installed until you remove the plugin.
>
> To remove the plugin, type `/plugin`, open **Installed**, select **oqoqo**, and select **Uninstall**. To remove the marketplace too:
>
> ```bash theme={null}
> cursor-agent plugin marketplace remove oqoqo
> ```
>
> This can also remove the marketplace from your other Cursor apps, because Cursor Agent lists the marketplaces that your Cursor account can see.

> [tab] GitHub Copilot
>
> To turn the plugin off or on:
>
> ```bash theme={null}
> copilot plugin disable oqoqo@oqoqo
> copilot plugin enable oqoqo@oqoqo
> ```
>
> If Copilot says that `disable` isn't a command, update GitHub Copilot CLI with `copilot update` or with the package manager that installed it.
>
> To remove the plugin and its marketplace, in this order:
>
> ```bash theme={null}
> copilot plugin uninstall oqoqo@oqoqo
> copilot plugin marketplace remove oqoqo
> ```

Your host can keep its Oqoqo sign-in after you remove the plugin. To delete the sign-in too, sign out before you remove the plugin:

| Host | Sign out of Oqoqo |
| - | - |
| ChatGPT (Codex) | Run `codex mcp logout oqoqo`. |
| Claude Code | In `/mcp`, select `plugin:oqoqo:oqoqo`, then **Clear authentication**. |
| Cursor | In Cursor Agent's `/mcp`, select **oqoqo**, then **Logout**. |
| GitHub Copilot | Open `/mcp` in an interactive `copilot` session. |

## Troubleshoot the plugin

### An install command fails

* **Unknown command or flag:** update the host and run the command again. If your host doesn't support plugins, [connect without the plugin](#connect-without-the-plugin).
* **The `oqoqo` marketplace already exists:** skip that command and run the install command.
* **Download errors:** the commands download the plugin from `github.com`, so check that your network can reach it.

### Sign-in does not open or does not finish

Follow the [sign-in step](#sign-in) for your host. Hosts show the Oqoqo server as `oqoqo`, except Claude Code, which shows `plugin:oqoqo:oqoqo`. If Claude Code shows only `oqoqo`, you [also have a direct connection](#the-plugin-and-a-direct-connection-are-both-set-up).

If you belong to more than one organization, choose one on the sign-in page. If calls fail with `organization_ambiguous`, sign in again and choose one. To switch organizations, [sign out](#turn-off-or-remove-the-plugin) in your host and sign in again.

### Oqoqo tools or skills are missing

1. Start a new session. Hosts load a plugin's tools and skills when a session starts.
2. Check that the plugin is installed and on: `codex plugin list -m oqoqo`, `claude plugin list`, `copilot plugin list`, or **Installed** in Cursor Agent's `/plugin`.
3. Check that the Oqoqo server is signed in, because tools appear only after sign-in. Open `/mcp` in Claude Code, Cursor Agent, or GitHub Copilot, or run `codex mcp list`.
4. If the tools work but the skills are missing, you have a direct MCP connection instead of the plugin. Install the plugin and remove the direct connection, or [add the skills without the plugin](#add-the-skills-without-the-plugin).

### The plugin and a direct connection are both set up

When your host has both the plugin and a direct connection to `https://mcp.oqoqo.ai/mcp`, the Oqoqo tools can appear twice, or the host hides the plugin's server. Claude Code, for example, then shows only `oqoqo` and not `plugin:oqoqo:oqoqo`. Keep the plugin and remove the direct connection:

| Host | Remove the direct connection |
| - | - |
| ChatGPT (Codex) | `codex mcp remove oqoqo` |
| Claude Code | `claude mcp remove oqoqo` |
| Cursor | Delete the `oqoqo` entry from `~/.cursor/mcp.json` or `.cursor/mcp.json`. |
| GitHub Copilot | `copilot mcp remove oqoqo` |

The plugin's server stays. Start a new session and sign in to it.

For other problems, see [Troubleshooting](https://docs.oqoqo.ai/reference/troubleshooting.md) or email [support@oqoqo.ai](mailto:support@oqoqo.ai).

## Connect without the plugin

Use these steps when your host doesn't support plugins, or to search these docs from your host. For a terminal, a script, or CI, use the [CLI](https://docs.oqoqo.ai/operate/cli.md).

> [!NOTE]
>
> Use the plugin or a direct connection in a host, not both. Learn why in [The plugin and a direct connection are both set up](#the-plugin-and-a-direct-connection-are-both-set-up).

### Add MCP directly

A direct connection gives your AI assistant the Oqoqo MCP server without the skills. The commands also add the optional `oqoqo-product-docs` server, which searches these docs and works with or without the plugin.

> [tab] ChatGPT (Codex)
>
> ```bash theme={null}
> codex mcp add oqoqo --url https://mcp.oqoqo.ai/mcp
> codex mcp login oqoqo
> codex mcp add oqoqo-product-docs --url https://docs.oqoqo.ai/mcp
> ```

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http --scope user oqoqo https://mcp.oqoqo.ai/mcp
> claude mcp add --transport http --scope user oqoqo-product-docs https://docs.oqoqo.ai/mcp
> ```
>
> Then start Claude Code, run `/mcp`, and sign in to `oqoqo`.

> [tab] Cursor
>
> Add the servers to `~/.cursor/mcp.json` (user) or `.cursor/mcp.json` (project):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "oqoqo": {
>       "type": "http",
>       "url": "https://mcp.oqoqo.ai/mcp"
>     },
>     "oqoqo-product-docs": {
>       "type": "http",
>       "url": "https://docs.oqoqo.ai/mcp"
>     }
>   }
> }
> ```
>
> Then sign in and turn on the server:
>
> ```bash theme={null}
> cursor-agent mcp login oqoqo
> cursor-agent mcp enable oqoqo
> ```

> [tab] GitHub Copilot
>
> ```bash theme={null}
> copilot mcp add --transport http oqoqo https://mcp.oqoqo.ai/mcp
> copilot mcp add --transport http oqoqo-product-docs https://docs.oqoqo.ai/mcp
> ```
>
> Then start `copilot` and run `/mcp auth oqoqo`.

### Add the skills without the plugin

To use the skills with a direct MCP connection or the CLI, install them with the open-source Skills CLI. It asks which AI assistants to add them to, and installs into the current project unless you add `-g` for all projects:

```bash theme={null}
npx skills add Oqoqo-Inc/agent-plugin --skill '*'
```

`npx skills update` gets the latest skills, and `npx skills remove` removes them. Don't use this in a host that has the plugin, or it gets two copies of each skill. The skills use MCP tools, and some steps also give the matching CLI command.

## Next steps

> [card] [Measure a tool's impact](https://docs.oqoqo.ai/guides/measure-tool-lift.md)
>
> Run your first lift experiment from your AI assistant.

> [card] [Plugin (MCP) reference](https://docs.oqoqo.ai/mcp-server/overview.md)
>
> Read about sign-in, approvals, secrets, IDs, paging, and errors.

> [card] [Plugin (MCP) tools](https://docs.oqoqo.ai/mcp-server/tools.md)
>
> Look up every tool, with its parameters and CLI command.

> [card] [Use the CLI](https://docs.oqoqo.ai/operate/cli.md)
>
> Use the same capabilities from your terminal and scripts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.