drio
Open app

MCP Server Replicate

Source

Catalog onlyCatalog onlySTDIO

Overview

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

To use this server, install its dependencies, set up your Replicate API token in the environmental configuration, and then run the server to start interfacing with the models.

  • Image generation with customizable parameters and optimization. - Model schema inspection for better understanding of available models. - Planned support for text and video generation in future updates.
  1. Utilizing image generation models for creating visual content.
  2. Implementing text completion and chatbot functionalities through future text generation features.
  3. Enabling video generation capabilities for media production projects.

Add to your AI client

Use these steps to connect MCP Server 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": {
    "mcp-server-replicate-gerred": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-replicate-gerred"
      ]
    }
  }
}

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": {
    "mcp-server-replicate-gerred": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-replicate-gerred"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

What models are currently supported?

Currently, the server supports various image generation models with capabilities for schema inspection and output customization.

Is this project stable for production use?

No, this project is in early alpha, and features may change significantly.

How can I contribute to the project?

Contributions are welcome! You can find guidelines on the repository's GitHub page.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":309,"uuid":"03faf36a-4e26-4efc-8de7-0e69e547d58f","name":"mcp-server-replicate","title":"MCP Server Replicate","description":"","avatar_url":"https://avatars.githubusercontent.com/u/365659?v=4","created_at":"2024-12-13T13:02:29.383Z","updated_at":"2024-12-13T15:09:09.686Z","status":"created","author_name":"gerred","author_avatar_url":"https://avatars.githubusercontent.com/u/365659?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/gerred/mcp-server-replicate","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/d7d26980003eea2728d9b9b7071c4c437d1f67d48b6cdcacce51c32b1eb707cb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f707974686f6e2d332e31312532422d626c75652e737667","type":null,"metadata":"{\"star\":\"8\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-02-28 12:47:21\"}","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"}]]}]