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 サーバー) の一部、by @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
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers