The MCP Server Replicate provides resource-based access to Replicate's AI models for inference, with a primary focus on image generation capabilities.
Image Generation: Generate images from text descriptions with customizable parameters (style, quality, size, seed)
Model Discovery: List, search, and get details about available AI models and collections
Prediction Management: Create, monitor, cancel, and track status of AI model predictions
Template Management: Explore and validate parameters using predefined templates
Real-time Updates: Subscribe to resources for tracking generation status and results
Webhook Integration: Verify and manage webhook notifications for prediction events
Hardware Options: List available hardware for running models
System Integration: Open generated images with the system's default application
History Management: Browse and search through previous image generations
Serves as a FastMCP server implementation for the Replicate API, providing resource-based access to AI model inference with a focus on image generation.
MCP Server Replicate
A FastMCP server implementation for the Replicate API, providing resource-based access to AI model inference with a focus on image generation.
Features
🖼️ Resource-based image generation and management
🔄 Real-time updates through subscriptions
📝 Template-driven parameter configuration
🔍 Comprehensive model discovery and selection
🪝 Webhook integration for external notifications
🎨 Quality and style presets for optimal results
📊 Progress tracking and status monitoring
🔒 Secure API key management
Available Prompts
The server provides several specialized prompts for different tasks:
Text to Image (Primary)
Our most thoroughly tested and robust prompt. Optimized for generating high-quality images from text descriptions with:
Detailed style control
Quality presets (draft, balanced, quality, extreme)
Size and aspect ratio customization
Progress tracking and real-time updates
Example:
Other Prompts
Image to Image: Transform existing images (coming soon)
Model Selection: Get help choosing the right model for your task
Parameter Help: Understand and configure model parameters
Prerequisites
Python 3.11 or higher
A Replicate API key (get one at https://replicate.com/account)
UV for dependency management
Installation
Installing via Smithery
To install MCP Server Replicate for Claude Desktop automatically via Smithery:
Installing Manually
You can install the package directly from PyPI:
Claude Desktop Integration
Make sure you have the latest version of Claude Desktop installed
Open your Claude Desktop configuration:
Add the server configuration using one of these options:
Set your Replicate API key:
Restart Claude Desktop completely
You should now see the 🔨 icon in Claude Desktop, indicating that the MCP server is available.
Usage
Once connected to Claude Desktop, you can:
Generate images with natural language:
Create a photorealistic mountain landscape at sunset with snow-capped peaksBrowse your generations:
Show me my recent image generationsSearch through generations:
Find my landscape generationsCheck generation status:
What's the status of my last generation?
Troubleshooting
Server not showing up in Claude Desktop
Check the Claude Desktop logs:
Verify your configuration:
Make sure the path in
claude_desktop_config.json
is absoluteEnsure UV is installed and in your PATH
Check that your Replicate API key is set
Try restarting Claude Desktop
For more detailed troubleshooting, see our Debugging Guide.
Documentation
Development
Clone the repository:
Install development dependencies:
Install pre-commit hooks:
Run tests:
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A FastMCP server implementation that facilitates resource-based access to AI model inference, focusing on image generation through the Replicate API, with features like real-time updates, webhook integration, and secure API key management.
- Features
- Available Prompts
- Prerequisites
- Installation
- Claude Desktop Integration
- Usage
- Troubleshooting
- Documentation
- Development
- Contributing
- License
Related Resources
Related MCP Servers
- -securityAlicense-qualityA high-performance FastAPI server supporting Model Context Protocol (MCP) for seamless integration with Large Language Models, featuring REST, GraphQL, and WebSocket APIs, along with real-time monitoring and vector search capabilities.Last updated -9MIT License
- -securityFlicense-qualityA production-ready MCP server built with FastAPI, providing an enhanced tool registry for creating, managing, and documenting AI tools for Large Language Models (LLMs).Last updated -34
- -securityAlicense-qualityA FastMCP server implementation that provides a standardized interface for accessing AI models hosted on Replicate's API, currently supporting image generation with customizable parameters.Last updated -3MIT License
- -securityFlicense-qualityA FastAPI server implementing the Model Context Protocol (MCP) for structured tool use, providing utility tools including random number generation, image generation via Azure OpenAI DALL-E, and AI podcast generation.Last updated -