Yandex AI Studio MCP Server
MCP server for interacting with Yandex Cloud AI Studio, enabling chat, text generation, image generation, speech recognition/synthesis, embeddings, classification, search indexes, and AI agent creation with function calling.
README
Yandex AI Studio MCP Server
Локальный MCP-сервер для работы AI-агентов с Yandex Cloud AI Studio.
Возможности
| Категория | Инструменты | API Yandex Cloud |
|---|---|---|
| Чат и генерация | chat, completion |
YandexGPT Pro/Lite |
| Изображения | generate_image |
YandexART |
| Речь | speech_to_text, text_to_speech |
SpeechKit STT/TTS |
| Эмбеддинги | get_embeddings |
Embeddings API |
| Классификация | classify_text |
YandexGPT Classifier |
| Поисковые индексы | create_search_index, search_in_index |
Search Index API |
| AI-агенты | create_agent, run_agent, list_agents |
YandexGPT + Function Calling |
Ключевая фича: создание AI-агентов
Сервер позволяет агенту создавать других AI-агентов для бизнес-задач:
create_agent— создаёт конфигурацию агента (имя, системный промпт, модель, инструменты)run_agent— запускает агента с задачей (многошаговый цикл с function calling)list_agents— показывает всех созданных агентов
Агенты сохраняются в ./agents/ и переиспользуются между сессиями.
Пример: агент поддержки
→ create_agent(name="Support", system_prompt="Ты агент техподдержки...", tools=[...])
→ run_agent(agent_id="Support_abc123", task="Пользователь не может войти в систему")
Быстрый старт
1. Установка
cd "D:\MSP Servers\Yandex AI Studio MCP Server"
pip install -r requirements.txt
2. Конфигурация
Создайте .env на основе .env.example:
YANDEX_FOLDER_ID=b1gxxxxxxxxxxxxxxxxxxxxxxxxx
YANDEX_API_KEY=AQVNxx...
Альтернативно — IAM-токен из yc iam create-token:
YANDEX_FOLDER_ID=b1gxxxxxxxxxxxxxxxxxxxxxxxxx
YANDEX_IAM_TOKEN=t1.9euelZ...
3. Подключение к Hermes Agent
Добавьте в ~/.hermes/config.yaml в секцию mcp_servers:
mcp_servers:
yandex-ai-studio:
command: "python"
args: ["D:/MSP Servers/Yandex AI Studio MCP Server/server.py"]
env:
YANDEX_FOLDER_ID: "b1gxxxxxxxxxxxxxxxxxxxxxxxxx"
YANDEX_API_KEY: "AQVNxx..."
timeout: 120
4. Проверка
Запустите сервер напрямую (для отладки):
cd "D:\MSP Servers\Yandex AI Studio MCP Server"
python server.py
Или через MCP Inspector:
npx @anthropic-ai/mcp-inspector python "D:/MSP Servers/Yandex AI Studio MCP Server/server.py"
Инструменты
| Инструмент | Назначение |
|---|---|
chat |
OpenAI-совместимый чат с YandexGPT |
completion |
Простая текстовая генерация |
generate_image |
Генерация изображений (YandexART) |
speech_to_text |
Распознавание речи (SpeechKit STT) |
text_to_speech |
Синтез речи (SpeechKit TTS) |
get_embeddings |
Векторные эмбеддинги |
classify_text |
Классификация текста |
list_models |
Список доступных моделей |
create_agent |
Создать AI-агента |
run_agent |
Запустить AI-агента с задачей |
list_agents |
Список созданных агентов |
create_search_index |
Создать поисковый индекс |
search_in_index |
Поиск по индексу |
Модели
- yandexgpt — основная модель (Pro, 8K контекст)
- yandexgpt-lite — лёгкая модель
- yandexgpt-32k — расширенный контекст 32K
- yandex-art — генерация изображений
Лицензия
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.