
mcp_content_creation
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
MCP Replicate Server
Этот пакет содержит MCP сервер для взаимодействия с API Replicate и ElevenLabs.
Установка и запуск
Этот проект использует системный Python 3 для запуска.
ВАЖНО: Убедитесь, что у вас установлен Python 3.11 (например, через Homebrew: brew install python@3.11
) и команда python3.11
доступна в вашем PATH (проверить можно командой which python3.11
). Если нет, используйте полный путь или добавьте директорию Python в PATH.
-
Клонируйте/скопируйте репозиторий на ваш компьютер.
-
Создайте файл
.env
: Скопируйте.env.example
(если он есть) или создайте.env
вручную:# Если есть .env.example: cp .env.example .env # Или создайте пустой: touch .env
Откройте файл
.env
и добавьте ваши API ключи:REPLICATE_API_TOKEN=ВАШ_КЛЮЧ_REPLICATE ELEVENLABS_API_KEY=ВАШ_КЛЮЧ_ELEVENLABS
-
Установите зависимости (один раз или при обновлении): Откройте терминал в папке проекта и выполните команду, чтобы установить необходимые пакеты глобально для вашего системного Python:
python3.11 -m pip install -r requirements.txt --upgrade
(Если у вас есть отдельная команда
pip3.11
, вы можете использовать её:pip3.11 install -r requirements.txt --upgrade
) -
Запустите сервер вручную: В терминале, находясь в папке проекта, выполните:
python3.11 replicate_mcp_server.py
Сервер будет запущен в терминале и готов принимать MCP запросы. Чтобы остановить его, нажмите
Ctrl+C
в этом терминале.Для использования с Cursor MCP: Убедитесь, что в файле
~/.cursor/mcp.json
для сервераreplicate_generator
указана командаpython3.11
, правильные аргументы (/Users/aliya/mcp_content_creation/replicate_mcp_server.py
), а также рабочая директория (/Users/aliya/mcp_content_creation/
). Затем перезапустите сервер через интерфейс Cursor.
Тестирование с MCP Inspector (Опционально)
Если вы хотите протестировать сервер с помощью MCP Inspector, выполните в терминале (в той же папке проекта):
# Используем тот же системный Python, которым запускается сервер
npx @modelcontextprotocol/inspector python3.11 replicate_mcp_server.py
Эта команда запустит инспектор, который в свою очередь запустит ваш сервер.
Примечание: Иногда перед запуском инспектора может потребоваться освободить порты, которые он использует (например, 6277 и 6274). Это можно сделать с помощью команд lsof -ti:<порт>
для поиска процесса и kill <PID>
для его завершения.
Примечание для пользователей не macOS
Скрипт replicate_mcp_server.py
использует команду open
для автоматического открытия сгенерированных файлов. Эта команда работает только на macOS.
Если вы запускаете сервер на Windows или Linux, открытие файлов не будет работать и может вызвать ошибку. Вы можете:
- Игнорировать сообщения об ошибках, связанные с командой
open
. - Отредактировать файл
replicate_mcp_server.py
и заменить вызовыsubprocess.run([\"open\", ...])
на эквивалентную команду для вашей ОС (start
для Windows,xdg-open
для Linux) или просто закомментировать/удалить эти строки, если автоматическое открытие не требуется.
相关推荐
🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.
PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO
Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack
Reviews

user_frBOAtv1
As a dedicated user of mcp_content_creation by aliyaredpilled, I must say it has revolutionized my content creation process. This tool is intuitive and significantly boosts productivity and creativity. The seamless integration and ease of use make it a must-have for anyone serious about producing high-quality content. Highly recommended!

user_y9h0IiV8
As a devoted user of mcp_content_creation by aliyaredpilled, I've found it to be an invaluable tool for crafting high-quality content. The user-friendly interface and comprehensive features significantly streamline the content creation process. Highly recommended for anyone looking to enhance their writing efficiency and creativity.

user_ly2kCRrP
I'm thrilled with the mcp_content_creation tool developed by aliyaredpilled! It's incredibly user-friendly and efficient for all my content creation needs. The intuitive interface and seamless integration into my workflow have significantly boosted my productivity. Highly recommend it to anyone looking to enhance their content output!

user_cKtDJfjl
As a dedicated user of mcp_content_creation, I've found it to be an invaluable tool for my content generation needs. Aliyaredpilled has crafted a seamless experience that just enhances productivity. The user-friendly interface and powerful features make it easy to create high-quality, engaging content. Highly recommend it!

user_NV75buiL
As a dedicated user of mcp_content_creation, I find this tool indispensable for crafting high-quality content efficiently. Aliyaredpilled has developed an exceptional product that offers seamless user experience and robust performance. Whether you're a seasoned writer or just starting, mcp_content_creation has everything you need to elevate your content game. I highly recommend it to anyone looking to streamline their creative process.

user_GTcQwRzc
I have been using mcp_content_creation by aliyaredpilled, and it has significantly improved my content generation process. The tool is intuitive and user-friendly, allowing me to create high-quality content with ease. I highly recommend it to anyone looking to streamline their content creation efforts.