Skip to main content
Glama

MCP Server for Replicate

by tzafrir

MCP Server for Replicate

A FastMCP server implementation for interfacing with Replicate's API. This server provides tools for accessing various AI models hosted on Replicate through a standardized interface.

Current Status: Early Alpha

This project is in early alpha development. Features and APIs may change significantly.

Currently Supported

  • Image generation models with:
    • Model schema inspection
    • Image generation with customizable parameters
    • Output resizing and optimization

Roadmap

Planned Features

  1. Text Generation
    • Support for text completion models
    • Chat model integration
    • Streaming support for real-time responses
  2. Video Generation
    • Support for video generation models
    • Video output handling and optimization
    • Progress tracking for long-running generations
  3. Additional Features
    • Model version management
    • Better error handling and retries
    • Caching for frequently used models
    • Rate limiting and queue management

Setup

  1. Install dependencies:
pip install -r requirements.txt
  1. Set up your Replicate API token in .env:
REPLICATE_API_TOKEN=your_token_here
  1. Run the server:
fastmcp dev server.py
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A FastMCP server implementation that provides a standardized interface for accessing AI models hosted on Replicate's API, currently supporting image generation with customizable parameters.

  1. Current Status: Early Alpha
    1. Currently Supported
  2. Roadmap
    1. Planned Features
  3. Setup

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      A FastMCP server implementation that facilitates resource-based access to AI model inference, focusing on image generation through the Replicate API, with features like real-time updates, webhook integration, and secure API key management.
      Last updated -
      18
      15
      Python
      • Apple
    • -
      security
      A
      license
      -
      quality
      A high-performance FastAPI server supporting Model Context Protocol (MCP) for seamless integration with Large Language Models, featuring REST, GraphQL, and WebSocket APIs, along with real-time monitoring and vector search capabilities.
      Last updated -
      9
      Python
      MIT License
    • -
      security
      F
      license
      -
      quality
      A production-ready MCP server built with FastAPI, providing an enhanced tool registry for creating, managing, and documenting AI tools for Large Language Models (LLMs).
      Last updated -
      32
      Python
    • -
      security
      F
      license
      -
      quality
      A FastAPI server implementing the Model Context Protocol (MCP) for structured tool use, providing utility tools including random number generation, image generation via Azure OpenAI DALL-E, and AI podcast generation.
      Last updated -
      Python

    View all related MCP servers

    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/tzafrir/mcp-server-replicate'

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