replicate.com
replicate.com logo

Replicate

Integrates with Replicate API to provide seamless access to diverse machine learning models for inference and result ret...

Created byApr 23, 2025

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.
<a href="https://glama.ai/mcp/servers/r830bzsk7r"><img width="380" height="200" src="https://glama.ai/mcp/servers/r830bzsk7r/badge" alt="Server Replicate MCP server" /></a>

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
  • 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

  1. Make sure you have the latest version of Claude Desktop installed
  1. Open your Claude Desktop configuration:
  1. Add the server configuration using one of these options:
  1. Set your Replicate API key:
  1. 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:
  1. Generate images with natural language:
  1. Browse your generations:
  1. Search through generations:
  1. Check generation status:

Troubleshooting

Server not showing up in Claude Desktop

  1. Check the Claude Desktop logs:
  1. Verify your configuration:
  • Make sure the path in claude_desktop_config.json is absolute
  • Ensure UV is installed and in your PATH
  • Check that your Replicate API key is set
  1. Try restarting Claude Desktop
For more detailed troubleshooting, see our Debugging Guide.

Documentation

  • Implementation Plan
  • Contributing Guide
  • API Reference
  • Resource System
  • Template System

Development

  1. Clone the repository:
  1. Install development dependencies:
  1. Install pre-commit hooks:
  1. 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.

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.
<a href="https://glama.ai/mcp/servers/r830bzsk7r"><img width="380" height="200" src="https://glama.ai/mcp/servers/r830bzsk7r/badge" alt="Server Replicate MCP server" /></a>

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
  • 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

  1. Make sure you have the latest version of Claude Desktop installed
  1. Open your Claude Desktop configuration:
  1. Add the server configuration using one of these options:
  1. Set your Replicate API key:
  1. 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:
  1. Generate images with natural language:
  1. Browse your generations:
  1. Search through generations:
  1. Check generation status:

Troubleshooting

Server not showing up in Claude Desktop

  1. Check the Claude Desktop logs:
  1. Verify your configuration:
  • Make sure the path in claude_desktop_config.json is absolute
  • Ensure UV is installed and in your PATH
  • Check that your Replicate API key is set
  1. Try restarting Claude Desktop
For more detailed troubleshooting, see our Debugging Guide.

Documentation

  • Implementation Plan
  • Contributing Guide
  • API Reference
  • Resource System
  • Template System

Development

  1. Clone the repository:
  1. Install development dependencies:
  1. Install pre-commit hooks:
  1. 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.