Skip to main content
Glama
@theyahia/gigachat-mcp

@theyahia/gigachat-mcp

by theYahia

@theyahia/gigachat-mcp

Sber GigaChat API용 MCP 서버 — 채팅, 임베딩, 이미지 생성, 토큰 계산, 잔액, 어시스턴트, 파일. 8가지 도구.

npm License: MIT

Russian API MCP 시리즈(50개 서버)의 일부, @theYahia 제작.

설치

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" } } } }

GIGACHAT_AUTH_KEY(Base64로 인코딩된 client_id:client_secret)가 필요합니다. developers.sber.ru에서 받으세요. OAuth 토큰은 자동으로 갱신됩니다.

Related MCP server: salutespeech-mcp

도구 (8)

도구

설명

chat

GigaChat 대화를 통한 텍스트 생성

list_models

사용 가능한 모델 목록

embed_text

텍스트 임베딩 가져오기

get_token_count

텍스트 토큰 계산

generate_image

GigaChat을 통한 이미지 생성

get_balance

토큰/할당량 잔액

list_assistants

어시스턴트 목록

file_upload

멀티모달 처리를 위한 파일 업로드

데모 프롬프트

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

라이선스

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.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers