# Opper MCP

```json
{
  "name": "Opper MCP",
  "slug": "opper_mcp",
  "url": "https://composio.dev/toolkits/opper_mcp",
  "markdown_url": "https://composio.dev/toolkits/opper_mcp.md",
  "logo_url": "https://logos.composio.dev/api/opper_mcp",
  "categories": [
    "ai & machine learning"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-11-30T05:40:08.297Z"
}
```

![Opper MCP logo](https://logos.composio.dev/api/opper_mcp)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Opper MCP or direct API to run and compare models, generate media, manage AI projects, and review traces through natural language.

## Summary

Opper MCP is an AI operations service for running models and managing AI projects.
It centralizes model access, media generation, routing, guardrails, and usage data.

## Categories

- ai & machine learning

## Toolkit Details

- Tools: 48

## Images

- Logo: https://logos.composio.dev/api/opper_mcp

## Authentication

- **Dcr Oauth**
  - Type: `custom`
  - Description: Dcr Oauth authentication for Opper MCP.
  - Setup:
    - Configure Dcr Oauth credentials for Opper MCP.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- Compare Opper model responses for a prompt
- Generate an image with an Opper model
- Review Opper traces and usage metrics

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `OPPER_MCP_CALL_MODEL` | Call model | Use this to run or test a model inside a project, with a project inference key ID from create_api_key or list_api_keys; for your own organization-scoped personal key, use call_model_with_org_key. It runs a non-streaming text or structured-output model call. Send model and messages; max_tokens, temperature and response_format are optional. For typed output use response_format={type:json_schema,json_schema:{name:answer,strict:true,schema:}} and choose a model supporting structured_output. Normal inference costs, plan restrictions and policy checks apply. Use get_trace with the returned meta.trace_uuid when retention is enabled. Advanced tool calling and multimodal inputs use the SDK or HTTP API. Requires runtime:call. |
| `OPPER_MCP_CALL_MODEL_WITH_ORG_KEY` | Call model with org key | Use this to run or test a model with your own organization-scoped personal inference key ID from create_organization_personal_key; for a project key, use call_model. It runs a non-streaming model call. Omit project_uuid for organization policies, or select a live project in your organization. Normal policy, member budget and inference charges apply. Secrets remain server-side. Use get_trace_with_org_key with the same optional project target when retention is enabled. Requires runtime:call. |
| `OPPER_MCP_CHECK_MODEL_ACCESS` | Check model access | Read-only preflight for an exact callable text model ID from list_models and optional project UUID. Checks plan, provider entitlement, effective policy and billing without inference or a paid probe. Requires account:read. Policy is marked requires_authorization when controls:read is missing. Missing billing/provider information stays unknown; no_known_blockers is a snapshot and never guarantees a successful runtime call. Without a project UUID, project policy and spend caps are not assessed. Dynamic routes and BYOK models are outside this public-catalog preflight. |
| `OPPER_MCP_CREATE_API_KEY` | Create api key | Mints an inference key for the project. The full key is returned only on initial creation when return_secret is not false; the user MCP tool defaults false. Optional `allowed_ips` restricts the key to those addresses. Each entry is an IP address or CIDR range (for example 203.0.113.7 or 198.51.100.0/24). Public addresses only, up to 100 entries, ranges no wider than /8 (IPv4) or /16 (IPv6). An empty list accepts calls from any IP. Calls from any other address get 403 with code `ip_not_allowed`. A change takes up to a minute to apply. Reuse idempotency_key with identical arguments after uncertain results. A replay returns existing metadata without a secret; changed arguments or a deleted key return 409. Requires the `apikeys:write` scope. Runtime secrets are omitted by default; call_model uses the returned key ID. For local application setup use opper keys create --project --name --output (native OAuth, private file delivery). Supply idempotency_key and reuse it with identical arguments on retries. |
| `OPPER_MCP_CREATE_DYNAMIC_ROUTE` | Create dynamic route | Creates a route draft. Omit graph to seed a complete default graph, then use data.draft.graph as a starting point. Empty graphs are invalid. Omit deploy or set deploy=false to keep the route unpublished; deploy=true changes live routing immediately. Review data.draft.validation, save changes with update_dynamic_route_draft, then use simulate_dynamic_route without version_number to test the draft before deploy_dynamic_route. Optional display_name is a human label separate from the route identifier; it preserves case and spaces. Invoke a deployed route with model=dynamic/; invocation_model contains the exact string. Requires the `dynamic_routes:write` scope. Graph format: an object with an `elements` array. Each element has a unique `id`, a `type`, optional `properties`, and `outputs`, an object mapping output names to `{"elementId":"target-node-id"}`. Include `id: START, type: start` and `id: END, type: end`; `input` and `output` are not node types. A minimal deployable graph (replace the model with an available catalog ID permitted by your policy): ```json {"elements":[{"id":"START","type":"start","outputs":{"next":{"elementId":"primary"}}},{"id":"primary","type":"model","properties":{"model":"cerebras/gpt-oss-120b"},"outputs":{"success":{"elementId":"END"},"fallback":{"elementId":"END"}}},{"id":"END","type":"end","outputs":{}}]} ``` Supported node types and properties: - `start`: the START node; `outputs.next` selects the first node. - `end`: the END node; `outputs` is `{}`. - `model`: `properties.model` is a catalog model ID. `outputs.success` targets END or an observe node; `outputs.fallback` targets another model, pool, or END. - `pool`: `properties.models` contains 2-10 `{model,metrics}` candidates; `properties.expression` is a numeric CEL expression such as `model.cost`, sorted ascending. Uses the same success/fallback outputs as model. - `conditional`: `properties.cases` contains `{id,expression}` entries; each expression is a CEL predicate over `metadata`, `auth`, and `input`. Connect an output for each case ID and a `default` output. The first true case wins. - `percentage`: `properties.buckets` contains at least two `{id,weight}` entries with positive integer weights totaling 100. Connect an output for each bucket ID. - `classifier`: `properties.cases` contains 2-10 `{id,label,instructions}` entries with unique labels, plus optional `context` and `model` properties. Connect an output per case ID; no default output. Classification failures fail the route. - `observe`: `properties.criteria` defines an asynchronous evaluation, with optional `score_type` (`score` or `binary`), `model`, `threshold`, and `sample_rate` (both greater than 0 and at most 1). Place after model/pool success or another observe node; `outputs.next` leads to another observe node or END. Graphs must be acyclic. Every node except END accepts at most one incoming edge; use separate model nodes on separate branches. Deployment requires each path from START to reach a model or pool before END. The route name is the model identifier on chat completions, responses, messages and native calls. |
| `OPPER_MCP_CREATE_DYNAMIC_ROUTE_DEPLOYMENT` | Create dynamic route deployment | Fail-closed deployment contract for infrastructure clients. expected_route_uuid (nonzero), expected_draft_revision, expected_active_version_number and idempotency_key are all required. Validates the row-locked reviewed draft and publishes one immutable version only if the reviewed identity and live pointer still match. Zero active version means unpublished. Missing preconditions are rejected before mutation. The separate path is absent on older backends, so clients must not fall back to /deploy when it is unavailable. Reusing identical arguments and the same key returns the original version without reactivating it; use a fresh key for every new deployment. meta.deployed_version is the original affected version and data is current observational state. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_CREATE_ORGANIZATION_PERSONAL_KEY` | Create organization personal key | Create a personal inference key with no project in the connected organization. Secrets are omitted by default; its ID supports call_model_with_org_key. Only kind=personal is allowed. Reuse idempotency_key and identical arguments on uncertain results; replay returns metadata without the secret. Requires apikeys:write. Runtime secrets are omitted by default; call_model_with_org_key uses the returned key ID. Project resources require an explicit project_uuid; credentials remain organization scoped. Supply idempotency_key and reuse it with identical arguments on retries. |
| `OPPER_MCP_CREATE_PROJECT` | Create project | Creates a project with Organization access in the calling organization. Requires the `projects:write` scope. For an atomic initial Restricted policy use the dedicated /management/v1/projects/with-access operation; access fields are not accepted here. |
| `OPPER_MCP_CREATE_RULE` | Create rule | Creates a rule with a client-generated UUID. Setting enabled applies it immediately. Read rules again to inspect effective policy. Requires the `controls:write` scope. Supply idempotency_key and reuse it with identical arguments on retries. |
| `OPPER_MCP_DELETE_API_KEY` | Delete api key | Permanently deletes an inference key. Requires the `apikeys:write` scope. Only API keys owned by the signed-in user can be revoked. |
| `OPPER_MCP_DELETE_DYNAMIC_ROUTE` | Delete dynamic route | Soft-deletes the route. Calls to `dynamic/` fail from the next request on. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_DELETE_ORGANIZATION_PERSONAL_KEY` | Delete organization personal key | Revoke only your own personal inference key with no project in the connected organization. Disconnecting MCP OAuth is separate. Requires apikeys:write. |
| `OPPER_MCP_DELETE_PROJECT` | Delete project | Soft-deletes the project and permanently deletes every inference key bound to it. Requires the `projects:delete` scope. |
| `OPPER_MCP_DELETE_RULE` | Delete rule | Deletes a rule and stops its enforcement; inherited rules still apply. Requires the `controls:write` scope. |
| `OPPER_MCP_DEPLOY_DYNAMIC_ROUTE` | Deploy dynamic route | Validates the row-locked current draft and deploys it as a new immutable version, changing live routing. Optional expected_route_uuid, expected_draft_revision and expected_active_version_number bind the operation to the reviewed identity, draft and live pointer; zero active version means unpublished. A mismatch returns 409. Supply a fresh idempotency_key for each new deployment and reuse identical arguments only to retry that operation. A replay returns the original version in meta.deployed_version and current observational data without reactivating the original version or validating a later draft. meta.idempotency_replayed identifies replays. The receipt can also be recovered by the read-only deployments/{idempotency_key} endpoint. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_GENERATE_IMAGE` | Generate image | Generate one image, or edit one, with the selected project key. Unless the user names a model, pick from list_models type=image featured=true, the curated current ones; a model's params.image (detail=full) lists sizes, aspect ratios and qualities. Waits up to about 45 seconds: status completed carries url, a download link valid for 1 hour; status processing carries id for get_media_job. Identical calls return one job: for several versions, set variant 1, 2, 3. The result is deleted 24 hours after the job ends (1 hour on a zero-retention project) unless store is true. Normal costs and policy checks apply; usage.cost is the charge in USD. Requires runtime:call. |
| `OPPER_MCP_GENERATE_SPEECH` | Generate speech | Turn text into speech with the selected project key. Unless the user names a model, pick from list_models type=tts featured=true, the curated current ones; a model's params lists voices and formats. The audio is saved to the project's files: the result carries audio.file_id and audio.url, a download link valid for 1 hour. The file stays until it is deleted on the platform's Files page or with DELETE /v3/files/{id}. Normal costs and policy checks apply. Requires runtime:call. |
| `OPPER_MCP_GENERATE_VIDEO` | Generate video | Start a video with the selected project key. Unless the user names a model, pick from list_models type=video featured=true, the curated current ones; a model's params.video (detail=full) lists durations, resolutions, aspect ratios and capabilities. A video takes from about 30 seconds to 30 minutes or more: this waits up to about 45 seconds, then returns status processing with id; call get_media_job with it until status is completed or failed. Identical calls return one job: for several versions, set variant 1, 2, 3. The result is deleted 24 hours after the job ends (1 hour on a zero-retention project) unless store is true. Normal costs and policy checks apply; usage.cost is the charge in USD. Requires runtime:call. |
| `OPPER_MCP_GET_ALLOWED_MODELS` | Get allowed models | Models passing inherited comply rules at the requested scope. This is a policy verdict, not a promise of plan eligibility, balance, or provider availability. Requires controls:read. |
| `OPPER_MCP_GET_CONTEXT` | Get context | Current user, authorized organization, plan, scopes, billing snapshot and next steps. Pass project_uuid to assess that project's spend cap. Missing billing information is explicitly unknown. Requires account:read. |
| `OPPER_MCP_GET_DYNAMIC_ROUTE` | Get dynamic route | Returns the route, draft graph, validation issues and active version. Requires the `dynamic_routes:read` scope. |
| `OPPER_MCP_GET_DYNAMIC_ROUTE_DEPLOYMENT` | Get dynamic route deployment | Pure read of a completed deployment operation belonging to the same organization and authenticated actor. Returns the original immutable version in meta.deployed_version and the current observational route detail in data; it never activates a version, changes a draft or creates a receipt. Returns 404 when no matching completed receipt exists; a deleted-and-recreated route identity returns 409. Requires the `dynamic_routes:read` scope. |
| `OPPER_MCP_GET_DYNAMIC_ROUTE_VERSION` | Get dynamic route version | Returns a historical deployed version, including its graph and layout. Requires the `dynamic_routes:read` scope. |
| `OPPER_MCP_GET_GUIDE` | Get guide | Public, versioned recipes for getting_started, connect_app, structured_output, rules, and debugging. Each guide names live MCP tools and links to the current docs. Examples use placeholders; discover actual projects, keys and callable model IDs rather than copying placeholder values. Requires no account connection. |
| `OPPER_MCP_GET_MEDIA_JOB` | Get media job | Read a generate_image or generate_video job with the key that started it. Waits up to about 45 seconds while it is processing. status completed: url (a download link valid for 1 hour from this call; call again for a fresh one), mime_type, usage, and file_id when the job stored its result. status failed: error. status processing: call again with the same id. The result is deleted 24 hours after the job ends (1 hour on a zero-retention project) unless store is true. Requires runtime:call. |
| `OPPER_MCP_GET_PROJECT` | Get project | Fetches one project by UUID. Requires the `projects:read` scope. |
| `OPPER_MCP_GET_RULE_VOCABULARY` | Get rule vocabulary | Machine-readable rule config schemas with validated examples, supported scopes, plan requirements, and live location/data-handling vocabulary. Read this before creating rules. Requires controls:read. |
| `OPPER_MCP_GET_TRACE` | Get trace | Use this to read the trace of a call made with call_model and a project key; for a call made with call_model_with_org_key, use get_trace_with_org_key. Accepts a trace UUID or the span UUID returned in call_model meta.trace_uuid, resolved within the selected project. Traces exist only when a positive retention policy was enabled for the call; otherwise 404 is expected. Requires runtime:read. |
| `OPPER_MCP_GET_TRACE_WITH_ORG_KEY` | Get trace with org key | Use this to read the trace of a call made with call_model_with_org_key and your own organization-scoped personal key. Omit project_uuid to read only traces without a project; pass it for that project. Current trace permissions apply. Requires runtime:read. |
| `OPPER_MCP_GET_USAGE` | Get usage | Read usage in projects you can access in the connected organization, including calls without retained traces. Omit project_uuid to include unassigned organization usage. For limited project access, only metrics with recorded organization scope qualify as unassigned usage. All arguments are optional; start with {} for a seven-day summary. Use group_by=model or project to find the most expensive groups, ranked by total_cost descending (stable group-key tie break), up to limit; grouping requires bucket=none. Project groups use public project UUIDs and names when metadata is available. With no grouping, bucket=day returns up to 32 daily buckets over a maximum 31-day window. Costs are USD: cost covers customer model calls, evals_cost covers evaluations, guards_cost covers guards/routing checks, and total_cost includes all three. Counts/tokens/errors describe customer calls, matching the app's usage analytics. This is recorded inference/controls usage, not an invoice or balance; credits, storage and other billing adjustments are not represented. If meta.has_more, increase limit up to 100 or narrow the project/date filter. Requires runtime:read. |
| `OPPER_MCP_LIST_API_KEYS` | List api keys | Lists the inference keys bound to a project. Only the key prefix is returned — the full key is shown once, at creation. Requires the `apikeys:read` scope. |
| `OPPER_MCP_LIST_DYNAMIC_ROUTES` | List dynamic routes | Lists routes in the calling organization, including whether drafts differ from the deployed version. Requires the `dynamic_routes:read` scope. meta.default_classifier_chain is the model chain a classifier uses when it does not pin one. meta.default_first_token_timeout_ms is the first-token timeout a model or pool node runs on when its arguments state none. |
| `OPPER_MCP_LIST_DYNAMIC_ROUTE_VERSIONS` | List dynamic route versions | Lists immutable deployed-version summaries for a route. Requires the `dynamic_routes:read` scope. |
| `OPPER_MCP_LIST_MODELS` | List models | Search the public model catalog before or after connecting. All arguments are optional. Start with {"type":"llm","limit":3} for a few text models, or {"limit":3} for any models. Rows are summaries: id, name, type, model, maker, provider, service_tier, capabilities, modalities, context_window, max_output_tokens, pricing, compliance (inference_location, training, logging), release date, access, retired_at and successor. For one model's full record (parameters, every compliance fact, references) pass detail="full" with q or model; it returns at most 3 rows. Pages hold 20 rows by default and at most 30, and end early rather than pass 40,000 characters, so a page can hold fewer rows than asked for. Each page starts with total, has_more and next_offset: while has_more is true, call again with offset set to next_offset. Narrow with type, provider, capability or q rather than paging everything. Omit unused filters; never send the strings "undefined" or "null", which are literal filters and can hide all results. If a filtered search is empty, retry with only limit before concluding the catalog is empty. To find models that run in the EU pass inference_location=["EU"], and add storage_location=["EU"] to keep retained content there too. For No training and No logging on the Rules page pass training=["no"] and logging=["none"], and add moderation=["none"] for No provider moderation. These filters match the way Rules do; each parameter says how an unrecorded fact is treated. include takes only maker,benchmarks; get_allowed_models gives effective policy. The callable id selects an endpoint; model names the underlying weights, which several endpoints can share. For comply.allowlist.models, remove only the first provider prefix from id (gemini/gemma-4-26b-moe becomes gemma-4-26b-moe). pricing holds USD rates; no pricing object means a free-priced model under the runtime plan gate. For image, video or tts start with featured=true, the curated current models. Listing does not guarantee credentials, entitlement or policy access. |
| `OPPER_MCP_LIST_ORGANIZATION_PERSONAL_KEYS` | List organization personal keys | List only your own personal inference keys with no project in the connected organization. Returns prefixes, never secrets. Existing project keys are listed with list_api_keys. Requires apikeys:read. |
| `OPPER_MCP_LIST_PROJECTS` | List projects | Lists every project in the calling organization. Requires the `projects:read` scope. |
| `OPPER_MCP_LIST_RULES` | List rules | Lists rules in the calling organization. Project filters include inherited organization rules and matching function rules. Allowlist rules include effective_count and parent_allowlist; guard rules may include allowed_model_ids. Requires the `controls:read` scope. |
| `OPPER_MCP_LIST_TRACES` | List traces | List retained trace metadata in projects you can access in the connected organization. Omit project_uuid to include eligible projects and unassigned organization traces. All arguments are optional; start with {"limit":5}. Defaults to the last seven days, at most 31 days per request, newest trace IDs first. The window uses the earliest retained span in the trace's project scope. Returns names, project/trace UUIDs, timestamps, duration, generation count, error flag and scoped trace cost in USD. Follow meta.next_cursor with the same filters and returned from/to values. Use get_trace for retained detail and get_usage for usage across all calls, including zero-retention calls. Absence of traces does not mean no usage. Requires runtime:read. |
| `OPPER_MCP_RESTORE_DYNAMIC_ROUTE_VERSION` | Restore dynamic route version | Replaces the current draft with a historical version without changing live routing. Review the returned draft validation, then simulate the draft by omitting version_number before explicitly deploying. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_ROLLBACK_DYNAMIC_ROUTE` | Rollback dynamic route | Publishes a historical version as a new deployed version and changes live routing immediately. Returns the new version in meta.deployed_version. Requires the `dynamic_routes:write` scope. The draft is left unchanged. |
| `OPPER_MCP_SEND_FEEDBACK` | Send feedback | Send general feedback to the Opper team: something missing (a model, a feature), unclear or wrong in the docs, a bug you noticed in passing, or something that worked well. A person reads it, but it is not a support channel and gets no reply: for a problem that blocks you or needs an answer, tell the user to open Support in the Opper platform (https://platform.opper.ai, bottom of the left sidebar). Include request_id, model, endpoint and error in context when you have them. Never include API keys, passwords or personal data. Returns an id. Requires no account connection. |
| `OPPER_MCP_SIMULATE_DYNAMIC_ROUTE` | Simulate dynamic route | Omit version_number or set it to null to simulate the current draft, including an unpublished route. To simulate history, supply a positive version_number from list_dynamic_route_versions. Zero is invalid and does not mean draft. Minimal draft call: {"name":"support","version_number":null}. Optional input and metadata supply request context; overrides.model_outcomes maps model/pool node IDs to success or fallback, and overrides.classifier_cases maps classifier node IDs to case IDs. For example {"name":"support","version_number":null,"overrides":{"model_outcomes":{"primary":"success"}}} tests the documented example graph. May call a live classifier when no override is provided; does not deploy or invoke the selected final model. Inspect data.status and data.path for the routing verdict. Fix draft issues with update_dynamic_route_draft before deployment. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_UNDEPLOY_DYNAMIC_ROUTE` | Undeploy dynamic route | Clears only the current active version pointer. The draft and immutable version history are preserved. Optional expected_route_uuid and expected_active_version_number protect the identity and live pointer; zero means already unpublished. A positive expected version conflicts when the route is now unpublished. Use a fresh idempotency_key per new operation and retry identical arguments only; replays return the original affected version without clearing any newer deployment. data is the current observational route detail. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_UPDATE_API_KEY` | Update api key | Sets or clears the IP allowlist of an inference key: `allowed_ips` replaces the list, and `null` or `[]` clears it. Each entry is an IP address or CIDR range (for example 203.0.113.7 or 198.51.100.0/24). Public addresses only, up to 100 entries, ranges no wider than /8 (IPv4) or /16 (IPv6). An empty list accepts calls from any IP. Calls from any other address get 403 with code `ip_not_allowed`. A change takes up to a minute to apply. A key held by an agent login cannot have a list. Requires the `apikeys:write` scope. Only API keys owned by the signed-in user can be changed. call_model with a restricted key is refused unless its list includes the address the MCP client connects from. |
| `OPPER_MCP_UPDATE_DYNAMIC_ROUTE_DRAFT` | Update dynamic route draft | Saves draft changes without deploying. Omitted description, graph and layout are preserved; an empty description clears it. Supply the complete graph to replace it. Structural errors reject the save; inspect meta.issues and data.draft.validation for remaining issues before deployment. Use simulate_dynamic_route without version_number to test the saved draft; deploy_dynamic_route performs full deployment validation. Requires the `dynamic_routes:write` scope. Graph format: an object with an `elements` array. Each element has a unique `id`, a `type`, optional `properties`, and `outputs`, an object mapping output names to `{"elementId":"target-node-id"}`. Include `id: START, type: start` and `id: END, type: end`; `input` and `output` are not node types. A minimal deployable graph (replace the model with an available catalog ID permitted by your policy): ```json {"elements":[{"id":"START","type":"start","outputs":{"next":{"elementId":"primary"}}},{"id":"primary","type":"model","properties":{"model":"cerebras/gpt-oss-120b"},"outputs":{"success":{"elementId":"END"},"fallback":{"elementId":"END"}}},{"id":"END","type":"end","outputs":{}}]} ``` Supported node types and properties: - `start`: the START node; `outputs.next` selects the first node. - `end`: the END node; `outputs` is `{}`. - `model`: `properties.model` is a catalog model ID. `outputs.success` targets END or an observe node; `outputs.fallback` targets another model, pool, or END. - `pool`: `properties.models` contains 2-10 `{model,metrics}` candidates; `properties.expression` is a numeric CEL expression such as `model.cost`, sorted ascending. Uses the same success/fallback outputs as model. - `conditional`: `properties.cases` contains `{id,expression}` entries; each expression is a CEL predicate over `metadata`, `auth`, and `input`. Connect an output for each case ID and a `default` output. The first true case wins. - `percentage`: `properties.buckets` contains at least two `{id,weight}` entries with positive integer weights totaling 100. Connect an output for each bucket ID. - `classifier`: `properties.cases` contains 2-10 `{id,label,instructions}` entries with unique labels, plus optional `context` and `model` properties. Connect an output per case ID; no default output. Classification failures fail the route. - `observe`: `properties.criteria` defines an asynchronous evaluation, with optional `score_type` (`score` or `binary`), `model`, `threshold`, and `sample_rate` (both greater than 0 and at most 1). Place after model/pool success or another observe node; `outputs.next` leads to another observe node or END. Graphs must be acyclic. Every node except END accepts at most one incoming edge; use separate model nodes on separate branches. Deployment requires each path from START to reach a model or pool before END. |
| `OPPER_MCP_UPDATE_DYNAMIC_ROUTE_METADATA` | Update dynamic route metadata | Updates current route presentation metadata without validating or changing the draft graph, incrementing its revision, or deploying a version. display_name preserves case, spaces and Unicode; boundary whitespace is trimmed. Empty clears the label; omission, null, control characters, unknown fields and labels longer than 128 characters are rejected. The route identifier and invocation_model are unchanged. Restore and rollback preserve the current label. Requires the `dynamic_routes:write` scope. |
| `OPPER_MCP_UPDATE_PROJECT` | Update project | Updates a project's name and/or description. Omit a field to leave it unchanged; send `"description": null` to clear it. An empty body is rejected. Retention is not settable here — it is a control-plane setting, managed through `/management/v1/controls/rules`. Requires the `projects:write` scope. |
| `OPPER_MCP_UPDATE_RULE` | Update rule | Updates name, enabled, config or schema_version; omit fields to keep them and use name:null to clear a name. Config is replaced, not merged. ID, kind and scope are immutable. An empty update is rejected. Requires the `controls:write` scope. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Opper MCP
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["opper_mcp"])
tools = session.tools()
```

```typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["opper_mcp"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Opper MCP tools with your agent

Send a request, execute the Opper MCP tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "Run the same prompt through two Opper models and compare their responses."}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Run the same prompt through two Opper models and compare their responses." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Opper MCP and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["opper_mcp"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["opper_mcp"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Opper MCP request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Opper MCP tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("Run the same prompt through two Opper models and compare their responses.")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Run the same prompt through two Opper models and compare their responses.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Opper MCP Integration

- Supports both Opper MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable tool execution
- Rich coverage for running models, generating media, managing projects, and querying traces

### 2. Managed Auth

- Securely connects your Opper MCP DCR OAuth credentials to agent sessions
- Central place to manage, scope, and revoke Opper MCP access
- Per user and per environment credentials instead of hard-coded secrets

### 3. Agent Optimized Design

- Tools are tuned using real error and success rates to improve reliability over time
- Comprehensive execution logs so you always know what ran, when, and on whose behalf

### 4. Enterprise Grade Security

- Fine-grained RBAC so you control which agents and users can access Opper MCP
- Scoped, least privilege access to Opper MCP resources
- Full audit trail of agent actions to support review and compliance

## Use Opper MCP with any AI Agent Framework

Choose a framework you want to connect Opper MCP with:

- [ChatGPT](https://composio.dev/toolkits/opper_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/opper_mcp/framework/claude-cowork)

## Related Toolkits

- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Composio search](https://composio.dev/toolkits/composio_search) - Composio search is a unified web search toolkit spanning travel, e-commerce, news, financial markets, images, and more. It lets you and your apps tap into up-to-date web data from a single, easy-to-integrate service.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [Browser tool](https://composio.dev/toolkits/browser_tool) - Browser tool is a virtual browser integration that lets AI agents interact with the web programmatically. It enables automated browsing, scraping, and action-taking from any AI workflow.
- [Ai ml api](https://composio.dev/toolkits/ai_ml_api) - Ai ml api is a suite of AI/ML models for natural language and image tasks. It provides fast, scalable access to advanced AI capabilities for your apps and workflows.
- [AI/ML API MCP](https://composio.dev/toolkits/ai_ml_api_mcp) - AI/ML API MCP is a unified gateway to hundreds of AI models and generation APIs. It gives teams one place to compare models, run multimodal jobs, and track usage.
- [Aivoov](https://composio.dev/toolkits/aivoov) - Aivoov is an AI-powered text-to-speech platform offering 1,000+ voices in over 150 languages. Instantly turn written content into natural, human-like audio for any application.
- [All images ai](https://composio.dev/toolkits/all_images_ai) - All-Images.ai is an AI-powered image generation and management platform. It helps you create, search, and organize images effortlessly with advanced AI capabilities.
- [AllModels](https://composio.dev/toolkits/allmodels) - AllModels is a unified API for text-to-speech, speech-to-text, realtime voice, and voice cloning across AI providers. It gives developers one consistent way to build and manage voice features.
- [AltTextLab](https://composio.dev/toolkits/alt_text_lab) - AltTextLab is an AI service that generates accessible, SEO-aware alt text for images. It helps teams make image content easier to understand, index, and publish.
- [Anthropic administrator](https://composio.dev/toolkits/anthropic_administrator) - Anthropic administrator is an API for managing Anthropic organizational resources like members, workspaces, and API keys. It helps you automate admin tasks and streamline resource management across your Anthropic organization.
- [Api labz](https://composio.dev/toolkits/api_labz) - Api labz is a platform offering a suite of AI-driven APIs and workflow tools. It helps developers automate tasks and build smarter, more efficient applications.
- [Apiframe](https://composio.dev/toolkits/apiframe) - Apiframe is an API platform for generating and managing AI images, videos, music, uploads, assets, jobs, and custom LoRAs. It gives developers one clean API for creative AI workflows without juggling multiple model providers.
- [Apipie ai](https://composio.dev/toolkits/apipie_ai) - Apipie ai is an AI model aggregator offering a single API for accessing top AI models from multiple providers. It helps developers build cost-efficient, latency-optimized AI solutions without juggling multiple integrations.
- [Arize AX](https://composio.dev/toolkits/arize_ax) - Arize AX is an AI engineering platform for tracing, evaluating, and improving AI applications. Use it to debug LLM behavior, compare experiments, and improve production AI quality.
- [Artificial Analysis](https://composio.dev/toolkits/artificial_analysis) - Artificial Analysis is an independent benchmarking platform for AI models and API providers. Use it to compare model intelligence, coding, math, pricing, latency, throughput, and arena rankings.
- [AssemblyAI](https://composio.dev/toolkits/assemblyai) - AssemblyAI is a speech-to-text and audio intelligence API for uploaded or hosted media. Use it to turn audio and video into accurate transcripts, summaries, and insights.
- [AssemblyAI MCP](https://composio.dev/toolkits/assemblyai_mcp) - AssemblyAI MCP is a hosted speech-to-text and audio intelligence service for transcribing and analyzing media. It helps teams turn audio and video into searchable, translated, actionable transcripts.
- [Astica ai](https://composio.dev/toolkits/astica_ai) - Astica ai provides APIs for computer vision, NLP, and voice synthesis. Integrate advanced AI features into your app with a single API key.
- [Avoma](https://composio.dev/toolkits/avoma) - Avoma is an AI meeting assistant for recording, transcribing, analyzing, and managing meetings, calls, notes, scorecards, and conversation intelligence. It helps teams turn conversations into searchable notes, follow-ups, coaching insights, and revenue intelligence.

## Frequently Asked Questions

### Do I need my own developer credentials to use Opper MCP with Composio?

Yes, Opper MCP requires you to configure your own Dcr OAuth credentials. Once set up, Composio handles secure credential storage and management for you.

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
