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.
Connect
- 1Connect 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.
- 2Or add it to Codex or the API
codex mcp add replicate --url https://mcp.replicate.com/sse codex mcp login replicateThe login command opens a browser to finish OAuth.
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 3
search_modelscreate_predictionslist_hardwareThings to ask
- “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?”
Remove it
- 1In ChatGPT
Open the connection's details page in your plugin settings (chatgpt.com/plugins) and disconnect or delete it.
- 2In Codex
codex mcp remove replicateOr delete the [mcp_servers.replicate] block from ~/.codex/config.toml.