Skip to content
Replicate MCP Server

Replicate MCP Server

Released
6 views
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

New

Arm's official MCP server for porting and tuning software on Arm — semantic docs search, codebase migration scanning, container architecture checks and LLVM-MCA assembly analysis.

New

Official AntV MCP server that turns a description of your data into a rendered chart — 26 visualization types from bar and line to sankey, mind-map, fishbone and geographic maps.

MCP: Headroom

by Headroom Labs

New

Context-compression MCP server that shrinks tool outputs, logs, files and RAG chunks before they reach the model, cutting 60-95% of tokens on JSON payloads.

MCP: Engram

by Gentleman Programming

New

Persistent memory for coding agents as a single Go binary — SQLite and FTS5 behind MCP, an HTTP API, a CLI and a TUI, with no Node, Python or Docker required.

Browse all MCP servers →