Skip to main content
Glama
@theyahia/gigachat-mcp

@theyahia/gigachat-mcp

by theYahia

@theyahia/gigachat-mcp

Servidor MCP para la API de Sber GigaChat: chat, embeddings, generación de imágenes, conteo de tokens, saldo, asistentes, archivos. 8 herramientas.

npm License: MIT

Parte de la serie Russian API MCP (50 servidores) by @theYahia.

Instalación

Claude Desktop

{
  "mcpServers": {
    "gigachat": {
      "command": "npx",
      "args": ["-y", "@theyahia/gigachat-mcp"],
      "env": { "GIGACHAT_AUTH_KEY": "your-auth-key" }
    }
  }
}

Claude Code

claude mcp add gigachat -e GIGACHAT_AUTH_KEY=your-auth-key -- npx -y @theyahia/gigachat-mcp

VS Code / Cursor

{ "servers": { "gigachat": { "command": "npx", "args": ["-y", "@theyahia/gigachat-mcp"], "env": { "GIGACHAT_AUTH_KEY": "your-auth-key" } } } }

Se requiere GIGACHAT_AUTH_KEY (Base64-encoded client_id:client_secret). Obténgalo en developers.sber.ru. Los tokens OAuth se actualizan automáticamente.

Related MCP server: salutespeech-mcp

Herramientas (8)

Herramienta

Descripción

chat

Generación de texto a través de GigaChat con diálogo

list_models

Lista de modelos disponibles

embed_text

Obtención de embeddings de textos

get_token_count

Conteo de tokens para textos

generate_image

Generación de imágenes a través de GigaChat

get_balance

Saldo de tokens/cuota

list_assistants

Lista de asistentes

file_upload

Carga de archivos para procesamiento multimodal

Prompts de demostración

Спроси GigaChat: "Напиши стихотворение о весне"
Покажи список доступных моделей GigaChat
Получи эмбеддинги для текстов ["Привет", "Мир"]
Посчитай токены в тексте "Привет, мир!"
Нарисуй через GigaChat котика в шляпе
Покажи баланс GigaChat
Загрузи файл в GigaChat для анализа

Licencia

MIT

Available Tools

8 tools
chatB

Генерация текста через GigaChat. Поддерживает диалог с системным промптом.

Inputs: messages (required), model, top_p, max_tokens, +1 more.

embed_textB

Получение векторных представлений (эмбеддингов) текстов через GigaChat.

Inputs: input (required), model.

file_uploadB

Загрузка файла в GigaChat для мультимодальной обработки.

Inputs: file_name (required), file_content (required), purpose.

generate_imageB

Генерация изображения через GigaChat (описание в тексте сообщения).

Inputs: messages (required), model.

get_balanceB

Проверка остатка токенов/квоты GigaChat.

Inputs: no named parameters.

get_token_countC

Подсчёт токенов для массива текстов.

Inputs: input (required), model.

list_assistantsB

Список доступных ассистентов GigaChat.

Inputs: no named parameters.

list_modelsA

Список доступных моделей GigaChat.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct GigaChat capability: file upload, token counting, image generation, balance check, assistant listing, embedding, chat, and model listing. The purposes are clearly separated with no overlapping operations, making it easy for an agent to select the right tool.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern, such as 'get_token_count', 'generate_image', 'list_assistants', and 'embed_text'. Even the single-word 'chat' fits the pattern as a clear action. There are no style inconsistencies or mixed conventions.

    Tool Count5/5

    With 8 tools, the set is well-scoped for a comprehensive GigaChat client. Each tool covers a core API operation without redundancy or bloat, staying well within the ideal range for clarity and maintainability.

    Completeness4/5

    The toolset covers all major GigaChat features: text generation, embeddings, image generation, token counting, balance, model and assistant listing, and file upload. Minor gaps exist, such as missing assistant creation or management operations, but agents can still accomplish most workflows without dead ends.

    Related MCP Connectors

    Related MCP Servers