Replicate MCP

This is the official hosted MCP server for Replicate. Add this server to your favorite apps like Claude, Cursor, Codex, Gemini, and VS Code to give them access to Replicate's HTTP API so you can discover, compare, and run thousands of AI models.

To use the server, create a Replicate API token, copy it to your clipboard, then follow the instructions for your tool of choice below.

Claude.ai

To connect Claude Web to this MCP server:

  1. Go to claude.ai/settings/connectors in your web browser
  2. Click "Add Custom Connector"
  3. Add the MCP server URL: https://mcp.replicate.com/sse
  4. Click "Connect"
  5. Paste in your Replicate API token
  6. Click "Log in and Approve"
Claude Desktop

To connect Claude Desktop to this MCP server:

  1. Open Claude Desktop
  2. Go to Settings -> Connectors
  3. Click "Add Custom Connector"
  4. Add the MCP server URL: https://mcp.replicate.com/sse
  5. Click "Connect"
  6. Paste in your Replicate API token
  7. Click "Log in and Approve"
  8. Restart Claude Desktop to see the MCP server connection, then look for the slider icon below the chat input.
Claude Code

Claude Code is a command-line tool for coding with Claude.

To install the Claude Code CLI, run:

npm install -g @anthropic-ai/claude-code

Then add the Replicate MCP server to your Claude Code configuration. This command uses the user scope, so Claude Code can access the Replicate MCP server from any of your local projects. See scopes for more information.

claude mcp add replicate https://mcp.replicate.com/sse --transport sse --scope user

Now start Claude Code:

claude

Next you'll need to authenticate. Run this command in Claude Code:

/mcp

This will open a browser window where you can authenticate.

Now you can use the Replicate MCP server in Claude Code! Try a simple command to start:

show me my replicate account info

You should see a response like this:

{
  "type": "user",
  "username": "zeke",
  "name": "Zeke Sikelianos",
  "avatar_url": "https://github.com/zeke.png",
  "github_url": "https://github.com/zeke"
}
OpenAI Codex CLI
  1. Open ~/.codex/config.toml
  2. Add this:
[mcp_servers.replicate]
command = "npx"
args = ["-y", "replicate-mcp@latest"]
env = { "REPLICATE_API_TOKEN" = "r8_xxxxxx" }
Cursor

Cursor makes it easy to add MCP server. Just click this link.

Or you can configure it manually:

  1. Edit your Cursor MCP configuration file at ~/.cursor/mcp.json
  2. Add the following configuration:
{
  "mcpServers": {
    "replicate": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://mcp.replicate.com/sse"]
    }
  }
}
Chorus

Chorus is a desktop chat app that combines multiple LLMs into a single interface.

  1. Open your settings and choose the Connections tab
  2. Select "Replicate" from the list of MCP servers
  3. Click Save
  4. Start a new chat and click the tools icon under the chat input
  5. Toggle on "Replicate"
Google Gemini CLI

To use Replicate's MCP server in Google Gemini CLI:

  1. Edit ~/.gemini/settings.json
  2. Add this config:
{
  "mcpServers": {
    "replicate": {
      "url": "https://mcp.replicate.com/sse"
    }
  }
}
  1. Run gemini in your terminal from your project directory
  2. Type /mcp auth replicate to log in via web.
Windsurf
  1. Edit your Windsurf configuration file at ~/.codeium/windsurf/mcp_config.json
  2. Add the following configuration:
{
  "mcpServers": {
    "replicate": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://mcp.replicate.com/sse"]
    }
  }
}