Skip to main content
Glama
eldarknz

cursor-yougpu-mcp

by eldarknz
README.md
# cursor-yougpu-mcp

MCP-сервер для [YouGPU REST API](https://docs.yougpu.ru/api/overview/): каталог GPU, создание/стоп/старт/удаление инстансов, баланс.

Архитектура пайплайна транскрибации и диаризации: [docs/TRANSCRIPTION_ARCHITECTURE.md](docs/TRANSCRIPTION_ARCHITECTURE.md).

## Tools

| Tool | Описание |
|------|----------|
| `yougpu_balance` | Баланс кошелька |
| `yougpu_list_gpus` | Каталог моделей GPU |
| `yougpu_list_offers` | Офферы/цены по `gpu_id` |
| `yougpu_list_ssh_keys` | SSH-ключи аккаунта |
| `yougpu_list_instances` | Список инстансов |
| `yougpu_get_instance` | Детали инстанса |
| `yougpu_create_instance` | Создать инстанс |
| `yougpu_wait_ready` | Ждать ACTIVE + IP |
| `yougpu_stop_instance` | Остановить |
| `yougpu_start_instance` | Запустить |
| `yougpu_delete_instance` | Terminate (стоп биллинга GPU) |

## Setup

```bash
mkdir -p ~/.config/yougpu
cp config.example.env ~/.config/yougpu/config.env
# set YOUGPU_API_KEY=...

npm install
npm run build
chmod +x bin/cursor-yougpu-mcp
ln -sf "$PWD/bin/cursor-yougpu-mcp" ~/.local/bin/cursor-yougpu-mcp
```

В `~/.cursor/mcp.json`:

```json
"yougpu": {
  "command": "/Users/YOUR_USER/.local/bin/cursor-yougpu-mcp",
  "args": []
}
```

API key создаётся в [console.yougpu.ru](https://console.yougpu.ru) (раздел API Keys). Документация: https://docs.yougpu.ru/api/overview/

TDQS

A3.7/5.0

Scored across 11 tools

Disambiguation5/5

Each tool targets a distinct resource or action: balance, GPU catalog, offers, SSH keys, and instance lifecycle operations. There is no ambiguity between list_instances and get_instance, or between list_gpus and list_offers, as they operate on different levels of detail.

Naming Consistency4/5

Names follow a consistent yougpu_verb_noun pattern for most tools (list, get, create, stop, start, delete). The only deviation is 'yougpu_balance', which is a noun rather than verb-first, but it is still predictable and readable.

Tool Count5/5

With 11 tools, the server is well-scoped for managing GPU instances. It includes essential operations for wallet, catalog, offers, SSH keys, and full instance lifecycle without unnecessary bloat.

Completeness5/5

The toolset covers the complete workflow: checking balance, browsing GPUs/offers, managing SSH keys, creating instances, monitoring readiness, and performing lifecycle operations (start, stop, delete). There are no critical gaps for the stated purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues