| name | description |
|---|---|
replicate-mcp |
Configure and validate Replicate MCP connectivity in Codex using REPLICATE_API_TOKEN and the official replicate-mcp server package. Use when setting up Replicate MCP for the first time, reconnecting after auth/config changes, or troubleshooting missing Replicate MCP tools. |
Use this skill to set up and verify Replicate MCP access in Codex with minimal back-and-forth.
- Confirm prerequisites:
nodeandnpxare installed.- A valid Replicate API token exists.
- Prefer CLI-based setup:
- Export the token in the shell first:
export REPLICATE_API_TOKEN="<your_token>"
- Add the MCP server:
codex mcp add replicate --env REPLICATE_API_TOKEN=$REPLICATE_API_TOKEN -- npx -y replicate-mcp@latest
- Export the token in the shell first:
- Verify connection:
- Restart Codex session if needed.
- Check MCP status in chat with
/mcp. - Run a smoke test prompt such as:
show me my replicate account info.
- If setup fails, use the troubleshooting checklist in
references/replicate-mcp-config.md.
When helping users, keep responses in this order:
- State the next exact command to run.
- State what successful output/behavior looks like.
- If failure occurs, provide one fix at a time.
- Never ask users to paste secrets into chat logs when avoidable.
- Prefer environment variables over hardcoding tokens in files.
- Never claim setup is complete until
/mcpshowsreplicateand a smoke test succeeds.
references/replicate-mcp-config.mdfor setup commands, manual config, verification, and troubleshooting.