MetorialDocs

Set up Cohere in Metorial for Claude, ChatGPT and Cursor

Share Cohere with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 17 tools (13 read-only).

To give your team Cohere in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Cohere integration in a Metorial portal, and each person connects with an API key. Agents can generate text and chat completions using Cohere's Command family of large language models, with support for multi-turn conversations, retrieval augmented generation (RAG), tool use, reasoning, vision, structured output, and translation. The integration has 17 tools, 13 read-only, 2 write and 2 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Cohere in a portal and how each person connects
  • What Cohere asks for when you connect, and where to find it
  • How to keep the 13 read-only tools and reject the other 4

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Cohere API key from https://dashboard.cohere.com/api-keys

Admin: share Cohere in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Cohere. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Cohere.

Choose who gets it

Add the access groups that should see Cohere. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Cohere integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search cohere

Employee: connect Cohere

In the portal

Open Cohere in the catalog

Sign in to your portal and open Cohere. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search cohere
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Cohere connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list cohere
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as chat and get_model, and lose the 2 write tools, such as create_dataset or create_embed_job, and the 2 destructive tools, such as delete_dataset or cancel_embed_job.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list cohere
metorial tools <integration-id>
metorial call <integration-id> list_embed_jobs -d '{}'

metorial tools lists the 17 tools, minus any you rejected. list_embed_jobs takes no input. It lists all embed jobs in your Cohere account, including their status, model, and associated datasets.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (13)

  • rerank_documents: Rerank a list of documents by semantic relevance to a query using Cohere's Rerank models. Needs model, query and documents.
  • chat: Generate text responses using Cohere's Command family of models. Needs model and messages.
  • tokenize_text: Split text into tokens using byte-pair encoding (BPE) for a specific Cohere model. Needs text and model.
  • list_models: List available Cohere models with their capabilities.
  • list_embed_jobs: List all embed jobs in your Cohere account, including their status, model, and associated datasets.
  • detokenize_tokens: Convert an array of token IDs back into text using a specific Cohere model's tokenizer. Needs tokens and model.
  • get_dataset: Retrieve details about a specific dataset by its ID, including its type, validation status, and metadata. Needs datasetId.
  • list_datasets: List datasets stored in your Cohere account.
  • embed_text: Generate embeddings using Cohere's Embed models for text, image data URIs, or mixed text/image inputs. Needs model and inputType.
  • get_embed_job: Get the current status and details of a specific embed job by its ID. Needs jobId.
  • transcribe_audio: Transcribe speech from an uploaded audio file using Cohere Transcribe. Needs language and filename.
  • get_dataset_usage: View total Cohere hosted dataset storage usage for the organization.
  • get_model: Retrieve detailed metadata for a Cohere model, including supported endpoints, context length, tokenizer URL, feature flags, and default sampling parameters. Needs model.

Write tools (2)

  • create_embed_job: Launch an asynchronous batch embedding job to embed a large dataset (100K+ documents). Needs model, datasetId and inputType.
  • create_dataset: Create a Cohere hosted dataset by uploading a CSV, JSONL, or text file. Needs name and fileName.

Destructive tools (2)

  • delete_dataset: Delete a dataset from your Cohere account by its ID. Needs datasetId.
  • cancel_embed_job: Cancel an active embed job. Needs jobId.

Triggers

Cohere has 1 trigger, which fire on events in Cohere:

  • inbound_webhook

Next steps