# Replicate (MCP Server)

> Discover, compare and run thousands of AI models on Replicate

- Type: MCP server
- Publisher: Replicate (official)
- Categories: AI & ML, Media & Entertainment, Development
- Website: https://replicate.com/docs/reference/mcp
- Docs: https://mcp.replicate.com/
- Transport: sse
- Server URL: https://mcp.replicate.com/sse
- Launch command: npx -y replicate-mcp
- Sign-in: oauth
- Environment variables: REPLICATE_API_TOKEN
- Listed: 2025-08-01

## About

Replicate's official MCP server gives assistants access to Replicate's HTTP API to search models, run predictions and fetch metadata. The hosted server runs on Cloudflare Workers with a web-based auth flow for your API token; a local npx package is also available.

## Install

1. **Connect it in ChatGPT** Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.replicate.com/sse as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

2. **Or add it to Codex or the API**

   Codex CLI:

   ```bash
   codex mcp add replicate --url https://mcp.replicate.com/sse
   codex mcp login replicate
   ```

   config.toml:

   ```toml
   [mcp_servers.replicate]
   url = "https://mcp.replicate.com/sse"
   ```

   Responses API:

   ```python
   import os
   from openai import OpenAI
   
   client = OpenAI()
   
   response = client.responses.create(
       model="gpt-6-astra",
       tools=[{
           "type": "mcp",
           "server_label": "replicate",
           "server_url": "https://mcp.replicate.com/sse",
           "authorization": os.environ["REPLICATE_API_TOKEN"],
           "require_approval": "never",
       }],
       input="Search for the best image generation models on Replicate",
   )
   print(response.output_text)
   ```

## Tools

- `search_models`
- `create_predictions`
- `list_hardware`

## Example prompts

- "Search for the best image generation models on Replicate"
- "Generate an image of a lighthouse at dusk with Flux"
- "Compare the pricing of two video models"
- "What hardware options are available?"

## Related

- [Chrome DevTools MCP](https://chatgptplugins.directory/mcp/chrome-devtools.md): Let coding agents control and debug a live Chrome browser
- [Playwright MCP](https://chatgptplugins.directory/mcp/playwright.md): Browser automation for agents via Playwright accessibility snapshots
- [GitHub](https://chatgptplugins.directory/mcp/github.md): Manage repos, issues, pull requests and Actions from your AI agent
- [Context7](https://chatgptplugins.directory/mcp/context7.md): Pull up-to-date, version-specific library docs into your coding agent
- [Supabase](https://chatgptplugins.directory/mcp/supabase.md): Manage Supabase databases, migrations, edge functions and logs
- [Stripe](https://chatgptplugins.directory/mcp/stripe.md): Query and act on your Stripe account and search Stripe docs from any agent

---
Source: https://chatgptplugins.directory/mcp/replicate · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
