Skip to content
Replicate MCP Server

Replicate MCP Server

Released
v0.9.0
Apache-2.0

Summary

Replicate's official MCP server: search thousands of hosted models, read their schemas, and run predictions on image, video, audio and language models from inside an agent.

Features

  • Mirrors the whole Replicate HTTP API, so new endpoints appear without a server update
  • Model search and metadata lookup, including each model's input schema
  • Create and poll predictions across image, video, audio, embedding and language models
  • Hosted remote server at mcp.replicate.com — no local install needed
  • Local stdio server via npx with a REPLICATE_API_TOKEN
  • Experimental Code Mode runs sandboxed TypeScript (requires Deno) for multi-step workflows

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Replicate MCP Server" tools will be available.
{
  "mcpServers": {
    "replicate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "replicate-mcp"
      ],
      "env": {
        "REPLICATE_API_TOKEN": "your-token-here"
      }
    }
  }
}

Description

Replicate hosts thousands of open-source and commercial models behind one HTTP API — Flux and SDXL for images, video models, speech and transcription, embeddings, and language models — billed by the second of compute. This MCP server puts that whole API in front of an agent, so a model can find the right model, read its input schema, and run it without you writing any glue code.

What it exposes

The server is generated from Replicate's HTTP API rather than hand-written around a fixed tool list, which is the interesting design decision here: it mirrors every operation the API supports and picks up new ones automatically as Replicate ships them. In practice that means model discovery (models.search, models.list), schema inspection (models.get), and the prediction lifecycle (predictions.create, predictions.get) — plus collections, trainings, deployments and account operations from the same surface.

Because the tools carry each model's own input schema, an agent asked for "a 16:9 photorealistic image of X" can look up a suitable model, read what parameters it accepts, and submit a valid prediction, instead of guessing at field names.

Running it

There are two ways in. The remote server at `https://mcp.replicate.com` is the simplest — nothing to install, and clients that speak remote MCP can connect directly. The local server ships as the replicate-mcp npm package and runs under npx, needing only Node.js and a REPLICATE_API_TOKEN from your Replicate account dashboard. An experimental Code Mode additionally requires Deno and runs sandboxed TypeScript, which is worth it when a task means chaining several predictions rather than firing one.

Worth knowing

Predictions cost real money — Replicate bills per second of GPU time — so an agent with this server wired up can spend from your account. Scope the token accordingly, and be deliberate about which models you let it reach. The package is Apache-2.0 licensed and published by Replicate.

Related MCP Servers

MCP: Hugging Face

by Hugging Face

New

Hugging Face's official remote MCP server — search and inspect models, datasets and Spaces, browse the Hub filesystem over hf:// URIs, and turn Gradio Spaces into callable tools.

MCP: Resend

by Resend

New

Resend's official MCP server for transactional and marketing email — send, schedule and batch messages, manage templates, contacts, broadcasts, automations, domains and suppressions from an agent.

New

Postman's official MCP server — reach your workspaces, collections, specs and environments from Claude Code, Cursor, VS Code or Copilot, in four tool tiers.

New

Drive live Jupyter notebooks from an agent — read and edit cells, execute code, see rich outputs, and run against local JupyterLab or a cloud sandbox.

Browse all MCP servers →