Replicate MCP server

Connect Replicate to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Replicate MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the run prediction tool in Replicate
  • Use the list hardware tool in Replicate
  • Use the create model tool in Replicate
  • Use the list files tool in Replicate
  • Use the delete deployment tool in Replicate
  • Use the create deployment tool in Replicate

Supported Tools

run_prediction

Run Prediction

Run an AI model prediction on Replicate. Provide either a **model** identifier (e.g. `stability-ai/sdxl`) or a specific **version** ID. You can also target a **deployment** for production workloads. Use this to generate images, text, audio, or any output supported by the model.

list_hardware

List Hardware

List available hardware options on Replicate. Use these SKU values when creating models or deployments.

create_model

Create Model

Create a new model on Replicate. The model acts as a container for versions that will be created through training or pushing.

list_files

List Files

List files that have been uploaded to Replicate. Files are used as inputs to models (images, audio, documents, etc.).

delete_deployment

Delete Deployment

Delete a deployment. The deployment must be offline and unused for at least 15 minutes.

create_deployment

Create Deployment

Create a new production deployment for a model on Replicate. Deployments provide dedicated infrastructure with configurable hardware and auto-scaling.

search_models

Search Models

Search for public models, collections, and documentation on Replicate. Returns results ranked by relevance.

cancel_prediction

Cancel Prediction

Cancel a running prediction. Only predictions that are still in progress (starting or processing) can be canceled.

get_account

Get Account

Get information about the currently authenticated Replicate account, including username, name, and account type.

list_trainings

List Trainings

List recent training jobs for your account, sorted by creation time (newest first).

get_model

Get Model

Get details about a specific model on Replicate, including its description, latest version, run count, and input/output schema.

delete_file

Delete File

Delete an uploaded file from Replicate.

get_collection

Get Collection

Get details about a specific collection, including all models in the collection.

list_model_versions

List Model Versions

List all versions of a specific model. Each version represents a different iteration of the model with its own input/output schema.

get_deployment

Get Deployment

Get details about a specific deployment, including its current release configuration, hardware, and scaling settings.

get_file

Get File

Get metadata for a specific uploaded file, including its size, type, checksums, and expiration time.

list_collections

List Collections

List curated collections of models on Replicate, grouped by use case (e.g. text-to-image, super-resolution).

list_deployments

List Deployments

List all deployments for your account.

update_model

Update Model

Update metadata of an existing model on Replicate, such as its description, readme, or associated URLs.

delete_model

Delete Model

Delete a model from Replicate. The model must be private, have no versions, and be owned by the authenticated user.

create_training

Create Training

Start a fine-tuning training job on Replicate. Takes an existing model version and your training data to create a new fine-tuned model version at the specified destination.

get_prediction

Get Prediction

Retrieve the current status and results of a prediction. Use this to check if a prediction has completed and to fetch its output.

cancel_training

Cancel Training

Cancel a running training job. Only trainings in progress (starting or processing) can be canceled.

list_predictions

List Predictions

List recent predictions for your account. Returns predictions sorted by creation time (newest first) with pagination support.

get_training

Get Training

Retrieve the current status and results of a training job. Use this to monitor fine-tuning progress and check completion.

update_deployment

Update Deployment

Update a deployment's configuration, including hardware, scaling, or the model version it runs. Each update creates a new release.

list_public_models

List Public Models

List public models on Replicate with sorting options. Use Search Models when you already have a query.

create_file

Create File

Upload a file to Replicate for use as model input. Files expire after 24 hours.

delete_model_version

Delete Model Version

Delete a private model version and its associated predictions and output files.

get_model_version

Get Model Version

Get a specific model version, including the OpenAPI schema that describes its inputs and outputs.

list_model_examples

List Model Examples

List example predictions saved by a model author to demonstrate a model's capabilities.

get_model_readme

Get Model README

Get a model's README content as a Markdown attachment.

get_webhook_signing_secret

Get Webhook Signing Secret

Get the signing secret for Replicate's default webhook so incoming webhook payloads can be verified.

download_file

Download File

Download a Replicate file through a signed file download URL. Returns the file content as a Slate attachment.

Connect Replicate to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Replicate in Metorial. In your Metorial portal, enable the Replicate MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Replicate tools.

Run Replicate through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Replicate and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Replicate tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Replicate

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for Replicate

Run, fine-tune, and deploy machine learning models via API. Create predictions on public or private AI models with synchronous or streaming output. Fine-tune existing models with custom training data. Manage model versions, deployments, and scaling configurations. Upload and manage files for model inputs. Browse curated model collections, search for public models, and discover available hardware options. Configure webhooks for prediction and training lifecycle events.

Frequently asked questions

Common questions about connecting Replicate to AI agents with Metorial.

  1. How many tools does the Replicate MCP server have?
    The Replicate MCP server exposes 34 tools, including Run Prediction, List Hardware, Create Model. Each one is governed and traced through Metorial.
  2. Replicate exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Replicate MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Replicate and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Replicate MCP server yourself or use the hosted gateway.

Connect Replicate to production AI agents

See how Metorial gives your team governed access to Replicate, with tracing and security controls built in.