A FastMCP server implementation for the Replicate API, providing resource-based access to AI model inference with a focus on image generation.
The server provides several specialized prompts for different tasks:
Our most thoroughly tested and robust prompt. Optimized for generating high-quality images from text descriptions with:
Example:
Create a photorealistic mountain landscape at sunset with snow-capped peaks, quality level: quality, style: photorealistic
To install MCP Server Replicate for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @gerred/mcp-server-replicate --client claude
You can install the package directly from PyPI:
## Using UV (recommended)
uv pip install mcp-server-replicate
## Using UVX for isolated environments
uvx install mcp-server-replicate
## Using pip
pip install mcp-server-replicate
## macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
## Windows
code %APPDATA%\Claude\claude_desktop_config.json
{
"globalShortcut": "Shift+Alt+A",
"mcpServers": {
"replicate": {
"command": "uv",
"args": ["tool", "run", "mcp-server-replicate"],
"env": {
"REPLICATE_API_TOKEN": "APITOKEN"
},
"cwd": "$PATH_TO_REPO"
}
}
}
## Option 1: Set in your environment
export REPLICATE_API_TOKEN=your_api_key_here
## Option 2: Create a .env file in your home directory
echo "REPLICATE_API_TOKEN=your_api_key_here" > ~/.env
You should now see the 🔨 icon in Claude Desktop, indicating that the MCP server is available.
Once connected to Claude Desktop, you can:
Generate images with natural language:
Create a photorealistic mountain landscape at sunset with snow-capped peaks
Browse your generations:
Show me my recent image generations
Search through generations:
Find my landscape generations
Check generation status:
What's the status of my last generation?
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
claude_desktop_config.json
is absoluteFor more detailed troubleshooting, see our Debugging Guide{:target=“_blank”}.
git clone https://github.com/gerred/mcp-server-replicate.git
cd mcp-server-replicate
uv pip install --system ".[dev]"
pre-commit install
pytest
We welcome contributions! Please see our Contributing Guide{:target=“_blank”} for details.
This project is licensed under the MIT License - see the LICENSE{:target=“_blank”} file for details.
Mcp Server Ragdocs
An MCP server that provides tools for retrieving and processing documentation through vector search, both locally or hosted. Enabling AI assistants to augment their responses with relevant documentation context.
Ragdocs
MCP server for RAG-based document search and management
Mcp
The registry mcp server updates your resume while you code
MCP server providing a knowledge graph implementation with semantic search capabilities powered by Qdrant vector database
MCP Server for TaskWarrior!
A simple note-taking MCP server for recording and managing notes with AI models.
A open-source library enabling AI models to control hardware devices via serial communication using the MCP protocol. Initial support for Raspberry Pi Pico.