MCP Server for Replicate

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.

Integrations

  • Provides tools for accessing AI models hosted on Replicate through a standardized interface, currently supporting image generation with model schema inspection, customizable parameters, and output optimization.

MCP 服务器复制

FastMCP 服务器实现,用于与 Replicate 的 API 进行交互。该服务器提供通过标准化接口访问 Replicate 上托管的各种 AI 模型的工具。

目前状态:早期 Alpha 测试

该项目处于早期 Alpha 开发阶段。功能和 API 可能会发生重大变化。

目前支持

  • 图像生成模型具有:
    • 模型模式检查
    • 使用可自定义参数生成图像
    • 输出大小调整和优化

路线图

计划功能

  1. 文本生成
    • 支持文本完成模型
    • 聊天模型集成
    • 流式支持实时响应
  2. 视频生成
    • 支持视频生成模型
    • 视频输出处理和优化
    • 长期运行的世代的进度跟踪
  3. 附加功能
    • 模型版本管理
    • 更好的错误处理和重试
    • 缓存常用模型
    • 速率限制和队列管理

设置

  1. 安装依赖项:
pip install -r requirements.txt
  1. .env中设置您的 Replicate API 令牌:
REPLICATE_API_TOKEN=your_token_here
  1. 运行服务器:
fastmcp dev server.py
-
security - not tested
A
license - permissive license
-
quality - not tested

FastMCP 服务器实现提供了访问 Replicate API 上托管的 AI 模型的标准化接口,目前支持使用可自定义参数生成图像。

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