{"id":24556087,"url":"https://github.com/deepfates/mcp-replicate","last_synced_at":"2026-04-06T05:32:10.460Z","repository":{"id":271619987,"uuid":"913589706","full_name":"deepfates/mcp-replicate","owner":"deepfates","description":"Model Context Protocol server for Replicate's API","archived":false,"fork":false,"pushed_at":"2025-05-21T23:20:34.000Z","size":393,"stargazers_count":83,"open_issues_count":6,"forks_count":18,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-11T15:03:36.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepfates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T01:29:44.000Z","updated_at":"2025-08-27T15:53:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b62cce5-1f26-4f2d-8548-4f42d287a51f","html_url":"https://github.com/deepfates/mcp-replicate","commit_stats":null,"previous_names":["deepfates/mcp-replicate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepfates/mcp-replicate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfates%2Fmcp-replicate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfates%2Fmcp-replicate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfates%2Fmcp-replicate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfates%2Fmcp-replicate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepfates","download_url":"https://codeload.github.com/deepfates/mcp-replicate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepfates%2Fmcp-replicate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31461527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-23T04:38:19.460Z","updated_at":"2026-04-06T05:32:10.455Z","avatar_url":"https://github.com/deepfates.png","language":"TypeScript","readme":"# Replicate MCP Server\n\nA [Model Context Protocol](https://github.com/mcp-sdk/mcp) server implementation for Replicate. Run Replicate models through a simple tool-based interface.\n\n## NOT IN ACTIVE DEVELOPMENT\n\nThis repo was an experiment in MCP tooling for Replicate. The company now offers an [official MCP server](https://replicate.com/docs/reference/mcp). This repo will stay up for those who find it useful or want to fork it, but it's not in active development and issues won't be addressed. Contributions might be folded in but no promises. Enjoy at your own risk.\n\n## Quickstart\n\n1. Install the server:\n\n```bash\nnpm install -g mcp-replicate\n```\n\n2. Get your Replicate API token:\n\n   - Go to [Replicate API tokens page](https://replicate.com/account/api-tokens)\n   - Create a new token if you don't have one\n   - Copy the token for the next step\n\n3. Configure Claude Desktop:\n   - Open Claude Desktop Settings (\u003ckbd\u003e⌘\u003c/kbd\u003e\u003ckbd\u003e,\u003c/kbd\u003e)\n   - Select the \"Developer\" section in the sidebar\n   - Click \"Edit Config\" to open the configuration file\n   - Add the following configuration, replacing `your_token_here` with your actual Replicate API token:\n\n```json\n{\n  \"mcpServers\": {\n    \"replicate\": {\n      \"command\": \"mcp-replicate\",\n      \"env\": {\n        \"REPLICATE_API_TOKEN\": \"your_token_here\"\n      }\n    }\n  }\n}\n```\n\n4. Start Claude Desktop. You should see a 🔨 hammer icon in the bottom right corner of new chat windows, indicating the tools are available.\n\n(You can also use any other MCP client, such as Cursor, Cline, or Continue.)\n\n## Alternative Installation Methods\n\n### Install from source\n\n```bash\ngit clone https://github.com/deepfates/mcp-replicate\ncd mcp-replicate\nnpm install\nnpm run build\nnpm start\n```\n\n### Run with npx\n\n```bash\nnpx mcp-replicate\n```\n\n## Features\n\n### Models\n\n- Search models using semantic search\n- Browse models and collections\n- Get detailed model information and versions\n\n### Predictions\n\n- Create predictions with text or structured input\n- Track prediction status\n- Cancel running predictions\n- List your recent predictions\n\n### Image Handling\n\n- View generated images in your browser\n- Manage image cache for better performance\n\n## Configuration\n\nThe server needs a Replicate API token to work. You can get one at [Replicate](https://replicate.com/account/api-tokens).\n\nThere are two ways to provide the token:\n\n### 1. In Claude Desktop Config (Recommended)\n\nAdd it to your Claude Desktop configuration as shown in the Quickstart section:\n\n```json\n{\n  \"mcpServers\": {\n    \"replicate\": {\n      \"command\": \"mcp-replicate\",\n      \"env\": {\n        \"REPLICATE_API_TOKEN\": \"your_token_here\"\n      }\n    }\n  }\n}\n```\n\n### 2. As Environment Variable\n\nAlternatively, you can set it as an environment variable if you're using another MCP client:\n\n```bash\nexport REPLICATE_API_TOKEN=your_token_here\n```\n\n## Available Tools\n\n### Model Tools\n\n- `search_models`: Find models using semantic search\n- `list_models`: Browse available models\n- `get_model`: Get details about a specific model\n- `list_collections`: Browse model collections\n- `get_collection`: Get details about a specific collection\n\n### Prediction Tools\n\n- `create_prediction`: Run a model with your inputs\n- `create_and_poll_prediction`: Run a model with your inputs and wait until it's completed\n- `get_prediction`: Check a prediction's status\n- `cancel_prediction`: Stop a running prediction\n- `list_predictions`: See your recent predictions\n\n### Image Tools\n\n- `view_image`: Open an image in your browser\n- `clear_image_cache`: Clean up cached images\n- `get_image_cache_stats`: Check cache usage\n\n## Troubleshooting\n\n### Server is running but tools aren't showing up\n\n1. Check that Claude Desktop is properly configured with the MCP server settings\n2. Ensure your Replicate API token is set correctly\n3. Try restarting both the server and Claude Desktop\n4. Check the server logs for any error messages\n\n### Tools are visible but not working\n\n1. Verify your Replicate API token is valid\n2. Check your internet connection\n3. Look for any error messages in the server output\n\n## Development\n\n1. Install dependencies:\n\n```bash\nnpm install\n```\n\n2. Start development server (with auto-reload):\n\n```bash\nnpm run dev\n```\n\n3. Check code style:\n\n```bash\nnpm run lint\n```\n\n4. Format code:\n\n```bash\nnpm run format\n```\n\n## Requirements\n\n- Node.js \u003e= 18.0.0\n- TypeScript \u003e= 5.0.0\n- [Claude Desktop](https://claude.ai/download) for using the tools\n\n## License\n\nMIT\n","funding_links":[],"categories":["LLM Bridges","Image and Video Generation","📚 Projects (1974 total)","Community Servers","MCP 服务器精选列表","Table of Contents","Mcp Server Directories \u0026 Lists","🌐 Web Development","🗂️ Extensions by Category"],"sub_categories":["Trading \u0026 Exchanges","MCP Servers","multimedia 多媒体与内容创作","AI Services","🤖 AI Systems"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepfates%2Fmcp-replicate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepfates%2Fmcp-replicate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepfates%2Fmcp-replicate/lists"}