Back to the catalog

gigachat-mcp

MCP server for GigaChat — AI chat, embeddings, image generation (Russia)

Open source Open in the app JSON README (API)

About

MCP server for GigaChat — AI chat, embeddings, image generation (Russia)

Details

Kind
MCP servers
Topic
AI, RAG & memory
Publisher
theyahia
Origin
official
Category
ferramentas
Transport
local
Version
3.0.1
Last push
2026-04-01T16:27:46Z
Repository state
ativo
Language
TypeScript
License
MIT
Added
2026-08-29 04:01:31
Updated
2026-08-29 04:01:31
Origin id
io.github.theYahia/gigachat-mcp

README

# @theyahia/gigachat-mcp

MCP-сервер для Sber GigaChat API — чат, эмбеддинги, генерация изображений, подсчёт токенов, баланс, ассистенты, файлы. **8 инструментов.**

[![npm](https://img.shields.io/npm/v/@theyahia/gigachat-mcp)](https://www.npmjs.com/package/@theyahia/gigachat-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Часть серии [Russian API MCP](https://github.com/theYahia/russian-mcp) (50 серверов) by [@theYahia](https://github.com/theYahia).

## Установка

### Claude Desktop

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

### Claude Code

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

### VS Code / Cursor

```json
{ "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](https://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

More