Replicate MCP Server
复制 MCP 服务器
用于 Replicate 的模型上下文协议服务器实现。通过基于工具的简单界面运行 Replicate 模型。
快速入门
安装服务器:
npm install -g mcp-replicate获取您的复制 API 令牌:
如果没有令牌,请创建一个新令牌
复制令牌以进行下一步
配置Claude桌面:
打开 Claude 桌面设置 (⌘,)
选择侧边栏中的“开发者”部分
点击“编辑配置”打开配置文件
添加以下配置,将
your_token_here替换为您的实际 Replicate API 令牌:
{
"mcpServers": {
"replicate": {
"command": "mcp-replicate",
"env": {
"REPLICATE_API_TOKEN": "your_token_here"
}
}
}
}启动 Claude Desktop。您应该会在新聊天窗口的右下角看到一个🔨锤子图标,表示工具可用。
(您也可以使用任何其他 MCP 客户端,例如 Cursor、Cline 或 Continue。)
Related MCP server: hex-mm-mcp
替代安装方法
从源安装
git clone https://github.com/deepfates/mcp-replicate
cd mcp-replicate
npm install
npm run build
npm start使用 npx 运行
npx mcp-replicate特征
模型
使用语义搜索来搜索模型
浏览模型和系列
获取详细的模型信息和版本
预测
使用文本或结构化输入创建预测
轨道预测状态
取消正在运行的预测
列出你最近的预测
图像处理
在浏览器中查看生成的图像
管理图像缓存以获得更好的性能
配置
服务器需要 Replicate API 令牌才能运行。你可以在Replicate获取一个。
提供令牌的方式有两种:
1. 在 Claude 桌面配置中(推荐)
将其添加到您的 Claude Desktop 配置中,如快速入门部分所示:
{
"mcpServers": {
"replicate": {
"command": "mcp-replicate",
"env": {
"REPLICATE_API_TOKEN": "your_token_here"
}
}
}
}2. 作为环境变量
或者,如果您使用其他 MCP 客户端,则可以将其设置为环境变量:
export REPLICATE_API_TOKEN=your_token_here可用工具
模型工具
search_models:使用语义搜索查找模型list_models:浏览可用的模型get_model:获取特定模型的详细信息list_collections:浏览模型集合get_collection:获取特定集合的详细信息
预测工具
create_prediction:使用您的输入运行模型get_prediction:检查预测状态cancel_prediction:停止正在运行的预测list_predictions:查看您最近的预测
图像工具
view_image:在浏览器中打开图像clear_image_cache:清理缓存的图像get_image_cache_stats:检查缓存使用情况
故障排除
服务器正在运行,但工具未显示
检查 Claude Desktop 是否已正确配置 MCP 服务器设置
确保您的复制 API 令牌设置正确
尝试重新启动服务器和 Claude Desktop
检查服务器日志中是否有任何错误消息
工具可见但不起作用
验证您的复制 API 令牌是否有效
检查您的互联网连接
查找服务器输出中的任何错误消息
发展
安装依赖项:
npm install启动开发服务器(自动重新加载):
npm run dev检查代码风格:
npm run lint格式代码:
npm run format要求
Node.js >= 18.0.0
TypeScript >= 5.0.0
Claude Desktop使用工具
执照
麻省理工学院
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with GitHub repositories, issues, pull requests, and content via the Model Context Protocol.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with HexagonML ModelManager tools through the Model Context Protocol, allowing management of models via natural language.
- FlicenseNot gradedqualityDmaintenanceEnables any AI model to create, read, and edit Figma designs in real time through the Model Context Protocol.
- AlicenseCqualityBmaintenanceEnables chemical reaction predictions (retrosynthesis, product, reagents), molecule validation, and property calculation through the Model Context Protocol, integrating with AI assistants.5MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Connect AI agents to Replynodes over the Model Context Protocol.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/deepfates/mcp-replicate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server