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"
      }
    }
  }
}

Hosted endpoint

This server is also hosted. A client that supports remote MCP servers can connect to it directly: Hosted remote server — recommended. Clients with native remote MCP support can point straight at https://mcp.replicate.com instead of proxying through mcp-remote.

{
  "mcpServers": {
    "replicate-mcp": {
      "type": "http",
      "url": "https://mcp.replicate.com"
    }
  }
}

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.

MCP: WaveSpeed MCP

by WaveSpeedAI

New

Official WaveSpeed MCP server: search the live model catalog, read each model's real input schema, quote the price and run image, video, audio and 3D generation from any MCP client.

MCP: Wiro MCP

by Wiro AI

New

Official Wiro AI MCP server: search, price and run image, video, audio and LLM models, build and run multi-step workflows, and deploy and message AI agents from any MCP client.

MCP: MiniMax MCP

by MiniMax

New

MiniMax's official MCP server for its media APIs: text to speech, voice cloning and voice design, image generation and editing, and Hailuo video generation.

NVIDIA's official remote MCP server for CUDA: grounds a coding agent in first-party CUDA documentation and code samples instead of its training data.

Browse all MCP servers →