Set up Replicate in Metorial for Claude, ChatGPT and Cursor
Share Replicate with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 34 tools (21 read-only).
To give your team Replicate in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Replicate integration in a Metorial portal, and each person connects with an API token. Agents can run, fine-tune, and deploy machine learning models via API. The integration has 34 tools, 21 read-only, 7 write and 6 destructive, plus 3 triggers.
What you'll learn
- How an admin shares Replicate in a portal and how each person connects
- What Replicate asks for when you connect, and where to find it
- How to keep the 21 read-only tools and reject the other 13
Before you start
- A portal with at least one access group
- An API token from Replicate for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Token | API token | token |
API Token
To connect, a person enters:
token: Replicate API token (starts with r8_)
Admin: share Replicate 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 Replicate. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Replicate.
Choose who gets it
Add the access groups that should see Replicate. 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 Replicate integration. Once it exists, check which groups have it:
Employee: connect Replicate
In the portal
Open Replicate in the catalog
Sign in to your portal and open Replicate. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API token (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your Replicate 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.
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 21 read-only tools, such as get_file and get_model, and lose the 7 write tools, such as create_file or create_model, and the 6 destructive tools, such as delete_file or delete_model.
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 tools lists the 34 tools, minus any you rejected. get_account takes no input. It gets information about the currently authenticated Replicate account, including username, name, and account type.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (21)
list_hardware: List available hardware options on Replicate.list_files: List files that have been uploaded to Replicate.search_models: Search for public models, collections, and documentation on Replicate. Needsquery.get_account: Get information about the currently authenticated Replicate account, including username, name, and account type.list_trainings: List recent training jobs for your account, sorted by creation time (newest first).get_model: Get details about a specific model on Replicate, including its description, latest version, run count, and input/output schema. NeedsownerandmodelName.get_collection: Get details about a specific collection, including all models in the collection. Needsslug.list_model_versions: List all versions of a specific model. NeedsownerandmodelName.get_deployment: Get details about a specific deployment, including its current release configuration, hardware, and scaling settings. NeedsowneranddeploymentName.get_file: Get metadata for a specific uploaded file, including its size, type, checksums, and expiration time. NeedsfileId.list_collections: List curated collections of models on Replicate, grouped by use case (e.g. text-to-image, super-resolution).list_deployments: List all deployments for your account.get_prediction: Retrieve the current status and results of a prediction. NeedspredictionId.list_predictions: List recent predictions for your account.get_training: Retrieve the current status and results of a training job. NeedstrainingId.list_public_models: List public models on Replicate with sorting options.get_model_version: Get a specific model version, including the OpenAPI schema that describes its inputs and outputs. Needsowner,modelNameandversionId.list_model_examples: List example predictions saved by a model author to demonstrate a model's capabilities. NeedsownerandmodelName.get_model_readme: Get a model's README content as a Markdown attachment. NeedsownerandmodelName.get_webhook_signing_secret: Get the signing secret for Replicate's default webhook so incoming webhook payloads can be verified.download_file: Download a Replicate file through a signed file download URL. NeedsfileId,owner,expiryandsignature.
Write tools (7)
run_prediction: Run an AI model prediction on Replicate. Needsinput.create_model: Create a new model on Replicate. Needsowner,modelName,visibilityandhardware.create_deployment: Create a new production deployment for a model on Replicate. NeedsdeploymentName,model,version,hardware,minInstancesandmaxInstances.update_model: Update metadata of an existing model on Replicate, such as its description, readme, or associated URLs. NeedsownerandmodelName.create_training: Start a fine-tuning training job on Replicate. Needsowner,modelName,versionId,destinationandinput.update_deployment: Update a deployment's configuration, including hardware, scaling, or the model version it runs. NeedsowneranddeploymentName.create_file: Upload a file to Replicate for use as model input. Needsfilename.
Destructive tools (6)
delete_deployment: Delete a deployment. NeedsowneranddeploymentName.cancel_prediction: Cancel a running prediction. NeedspredictionId.delete_file: Delete an uploaded file from Replicate. NeedsfileId.delete_model: Delete a model from Replicate. NeedsownerandmodelName.cancel_training: Cancel a running training job. NeedstrainingId.delete_model_version: Delete a private model version and its associated predictions and output files. Needsowner,modelNameandversionId.
Triggers
Replicate has 3 triggers, which fire on events in Replicate:
inbound_webhooktraining_completed: Triggers when training jobs reach a terminal state (succeeded, failed, or canceled).prediction_completed: Triggers when predictions reach a terminal state (succeeded, failed, or canceled).
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Replicate there
- Tool permissions: tool filters and what employees see
- Replicate on metorial.com: the integration overview