mcpField
G
gigachat-mcp

gigachat-mcp

Local
github.comAI & Agents0Updated 8w ago

About gigachat-mcp

gigachat-mcp exposes Sber GigaChat API capabilities to MCP clients through eight tools. It covers chat, embeddings, image generation, token and account information, assistants, and file upload; development has moved to the WWmcp monorepo.

Key features

  1. 01Generate conversational text
  2. 02List available models
  3. 03Create text embeddings
  4. 04Count text tokens
  5. 05Generate images
  6. 06Check balance and list assistants
  7. 07Upload files for multimodal processing

Use cases

  1. 01Generate text with GigaChat
  2. 02Create embeddings or count tokens for text
  3. 03Generate images from a request
  4. 04Upload a file for multimodal processing

MCP support

Exposes GigaChat API operations as eight tools for MCP clients, including chat, embeddings, image generation, and file upload.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"theyahia-gigachat": {
"command": "npx",
"args": [
"-y",
"@theyahia/gigachat-mcp"
]
}
}
}
Run commandnpx -y @theyahia/gigachat-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@theyahia/gigachat-mcp3.0.1

Tools

8

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
modelstringNoGigaChat model (GigaChat, GigaChat-Plus, GigaChat-Pro)
top_pnumberNoTop-p sampling
messagesarrayYesМассив сообщений диалога
max_tokensintegerNoМаксимальное количество токенов
temperaturenumberNoТемпература генерации (0–2)

Details

From the project README

🗄 Репозиторий заархивирован

Разработка переехала в theYahia/WWmcp — монорепозиторий MCP-серверов для незападных API: СНГ, MENA, Африка, LATAM, Юго-Восточная Азия. Общее ядро @theyahia/mcp-core, единый CI, единый релизный конвейер.

Актуальная версия того, что лежало здесь: servers/gigachat/

Пакет в npm прежний — @theyahia/gigachat-mcp, ставится и работает как раньше. Здесь больше ничего не обновляется. Задачи и pull request'ы — в WWmcp.

Archived — development moved to theYahia/WWmcp, a monorepo of MCP servers for non-Western APIs. The current version of this package now lives at servers/gigachat/. The npm package @theyahia/gigachat-mcp is unchanged. Please open issues and pull requests there.

@theyahia/gigachat-mcp

MCP-сервер для Sber GigaChat API — чат, эмбеддинги, генерация изображений, подсчёт токенов, баланс, ассистенты, файлы. 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-encoded client_id:client_secret). Получите на developers.sber.ru. Токены OAuth обновляются автоматически.

Инструменты (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


Telegram: @vhodvai

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.