ai
Replicate MCP, CLI, and Lua Integration for AI Agents
Replicate integration docs for AI agents: MCP gateway setup, Replicate CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write API key auth
Replicate for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
replicate- route_slug
replicate- package
replicate- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Replicate CLIHeadless setup and direct function calls. Replicate MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Replicate MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Replicate.
Claude Code Replicate MCP setup for Claude Code. Cursor Replicate MCP setup for Cursor. Codex Replicate MCP setup for Codex. OpenAI Agents Replicate MCP setup for OpenAI Agents SDK. Claude Agent SDK Replicate MCP setup for Claude Agent SDK. Vercel AI SDK Replicate MCP setup for Vercel AI SDK. LangChain Replicate MCP setup for LangChain. LangGraph Replicate MCP setup for LangGraph. CrewAI Replicate MCP setup for CrewAI. MCP clients Replicate MCP setup for Generic MCP Clients.
Replicate CLI Matrix
Use these pages for direct Replicate CLI workflows in scripts, CI, cron, and agent wrappers.
CI Replicate CLI for CI. Cron Jobs Replicate CLI for cron jobs. Shell Scripts Replicate CLI for shell scripts. Headless Automation Replicate CLI for headless automation. Coding Agents Replicate CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
replicate.replicate_list_predictions | Read read | 0 | List recent Replicate predictions. Returns prediction IDs, statuses, model versions, and outputs. |
replicate.replicate_get_prediction | Read read | 1 | Get detailed information about a specific Replicate prediction by its ID, including status, output, logs, and error details. |
replicate.replicate_create_prediction | Write write | 4 | Create a new prediction on Replicate by providing a model version and input. Returns the prediction object with status. Poll get_prediction for results. |
replicate.replicate_list_models | Read read | 0 | List available Replicate models. Returns model names, owners, descriptions, and latest version IDs. |
replicate.replicate_get_model | Read read | 2 | Get detailed information about a specific Replicate model by owner and name, including description, versions, and input schema. |
replicate.replicate_list_collections | Read read | 0 | List curated model collections on Replicate. Returns collection names, descriptions, and model slugs. |
replicate.replicate_get_current_user | Read read | 0 | Get the current Replicate user profile and billing information. |