GM

gerred/mcp-server-replicate

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

16 stars 8 forks 品質 55 トレンド 21

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

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

GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @gerred/mcp-server-replicate --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "globalShortcut": "Shift+Alt+A", "mcpServers": { "replicate": { "command": "uv", "args": ["tool", "run", "mcp-server-replicate"], "env": { "REPLICATE_API_TOKEN": "APITOKEN" }, "cwd": "$PATH_TO_REPO" } } }