
gerred/mcp-server-replicate
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
A FastMCP server implementation for the Replicate API, providing resource-based access to AI model inference with a focus on image generation.
概要
A FastMCP server implementation for the Replicate API, providing resource-based access to AI model inference with a focus on image generation. - 🖼️ 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 The server provides several specialized prompts for different tasks: Our most thoroughly tested and robust prompt.
README
以下は原文 README の抜粋です。原文を見る。
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:
Create a photorealistic mountain landscape at sunset with snow-capped peaks, quality level: quality, style: photorealistic
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:
npx -y @smithery/cli install @gerred/mcp-server-replicate --client claude
Installing Manually
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
Claude Desktop Integration
インストール
npx -y @smithery/cli install @gerred/mcp-server-replicate --client claude設定
{
"globalShortcut": "Shift+Alt+A",
"mcpServers": {
"replicate": {
"command": "uv",
"args": ["tool", "run", "mcp-server-replicate"],
"env": {
"REPLICATE_API_TOKEN": "APITOKEN"
},
"cwd": "$PATH_TO_REPO"
}
}
}