Skip to main content
Glama
gerred

MCP Server Replicate

by gerred

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REPLICATE_API_TOKENYesYour Replicate API key (get one at https://replicate.com/account)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsC

List available models on Replicate with optional filtering by owner.

search_modelsC

Search for models using semantic search.

list_collectionsB

List available model collections on Replicate.

get_collection_detailsC

Get detailed information about a specific collection.

list_hardwareB

List available hardware options for running models.

list_templatesB

List all available templates with their schemas.

validate_template_parametersC

Validate parameters against a template schema.

create_predictionC

Create a new prediction using a specific model version on Replicate.

    Args:
        input: Model input parameters including version or model details
        confirmed: Whether the user has explicitly confirmed the generation

    Returns:
        Prediction details if confirmed, or a confirmation request if not
    
get_predictionC

Get the status and results of a prediction.

cancel_predictionC

Cancel a running prediction.

get_webhook_secretA

Get the signing secret for verifying webhook requests.

verify_webhookA

Verify that a webhook request came from Replicate using HMAC-SHA256.

    Args:
        payload: The webhook payload to verify
        signature: The signature from the X-Replicate-Signature header
        secret: The webhook signing secret from get_webhook_secret

    Returns:
        True if signature is valid, False otherwise
    
search_available_modelsB

Search for available models matching the query.

    Args:
        query: Search query describing the desired model
        style: Optional style to filter by

    Returns:
        List of matching models with scores
    
get_model_detailsC

Get detailed information about a specific model.

    Args:
        model_id: Model identifier in format owner/name

    Returns:
        Detailed model information
    
generate_imageC

Generate an image using the specified parameters.

subscribe_to_generationD

Handle resource subscription requests.

unsubscribe_from_generationC

Handle resource unsubscribe requests.

open_image_with_systemB

Open an image URL with the system's default application.

    Args:
        image_url: URL of the image to open

    Returns:
        Dict containing status of the operation
    

Prompts

Interactive templates invoked by user choice

NameDescription
text_to_imageGenerate an image from text using available models.
image_to_imageTransform an existing image using various models.
model_selectionHelp choose the right model for a specific task.
parameter_helpGet help with model parameters and templates.
after_generationPrompt shown after starting an image generation.

Resources

Contextual data attached and managed by the client

NameDescription
templates://list
generations://list
models://popular

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gerred/mcp-server-replicate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server