drio
Open app

MCP Server for Replicate

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

MCP Server for Replicate is a FastMCP server implementation designed to interface with Replicate's API, providing tools for accessing various AI models hosted on Replicate through a standardized interface.

To use the MCP Server, install the required dependencies, set up your Replicate API token in the .env file, and run the server using the provided command.

  • Image generation models with customizable parameters - Model schema inspection - Output resizing and optimization - Planned support for text and video generation models - Model version management and error handling
  1. Generating images using AI models
  2. Integrating text completion and chat models for applications
  3. Handling video generation tasks with progress tracking

Add to your AI client

Use these steps to connect MCP Server for Replicate in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "tzafrir-mcp-server-replicate-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tzafrir-mcp-server-replicate-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "tzafrir-mcp-server-replicate-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tzafrir-mcp-server-replicate-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "tzafrir-mcp-server-replicate-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tzafrir-mcp-server-replicate-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "tzafrir-mcp-server-replicate-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tzafrir-mcp-server-replicate-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tzafrir-mcp-server-replicate-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tzafrir-mcp-server-replicate-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "tzafrir-mcp-server-replicate-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-tzafrir-mcp-server-replicate-mcp-mirror"
      ]
    }
  }
}

FAQ

What is the current status of the project?

The project is in early alpha development, and features may change significantly.

How do I set up the server?

Install dependencies, set your API token, and run the server as instructed in the setup section.

Will there be support for more AI models in the future?

Yes, there are plans to support text and video generation models in upcoming releases.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":568,"uuid":"3282122e-0dbd-4e52-8e39-12482b9f798a","name":"tzafrir_mcp-server-replicate","title":"MCP Server for Replicate","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"$D2024-12-30T02:56:24.059Z","updated_at":"$D2025-02-23T07:15:13.099Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp,replicate,ai-models","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/tzafrir_mcp-server-replicate","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

MCP Server for Replicate — MCP Registry