> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbitflare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Обзор

> Стройте AI-агентов на OrbitFlare. Skills, MCP-сервер, CLI и SDK — всё, что агенту нужно для запросов к Solana, стриминга данных и управления аккаунтом OrbitFlare.

OrbitFlare поставляет полный набор возможностей для агентов на Solana: положите skill в Claude Code или Cursor, подключите MCP-сервер в любом совместимом хосте, автоматизируйте через CLI или вызывайте Rust SDK напрямую. Все четыре поверхности используют один и тот же RPC с оптимизацией под Shredstream, gRPC-стриминг и Customer API.

<Tip>
  **Начните с MCP-сервера.** В нём 53 типизированных инструмента: чтение RPC, конфиг стриминга, управление аккаунтом, биллинг, свопы и ончейн-операции с кошельком — из коробки в Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Gemini CLI и Codex CLI.
</Tip>

## Что доступно

<CardGroup cols={2}>
  <Card title="Skills" icon="sparkles" href="/ru/agents/skills">
    Готовые инструкции для Claude Code, Cursor и Codex: как правильно использовать OrbitFlare — RPC, стриминг, выделенные ноды, торговые API, CLI и SDK в одном skill.
  </Card>

  <Card title="MCP-сервер" icon="plug" href="/ru/agents/mcp">
    53 инструмента: RPC, стриминг, биллинг, свопы, стейкинг и операции кошелька. Работает в любом MCP-совместимом хосте. Включая потоки аутентификации, пополнение и живую документацию как ресурсы.
  </Card>

  <Card title="CLI" icon="terminal" href="/ru/agents/cli">
    Один бинарник для стриминга, запросов, шаблонов и управления аккаунтом. У каждой команды есть `--json` — вывод удобно парсить в скриптах и CI/CD.
  </Card>

  <Card title="Rust SDK" icon="rust" href="/ru/agents/sdk">
    Типизированные Rust-клиенты для RPC, WebSocket, Yellowstone gRPC и Jetstream. Встроенные retry, failover и переподключение. Эндпоинты из переменных окружения.
  </Card>
</CardGroup>

## Skill vs MCP vs CLI vs SDK

Выберите поверхность под задачу:

| Surface   | Best for                                                           | When to reach for it                                                                                                             |
| --------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| **Skill** | Coding agents (Claude Code, Cursor, Codex) writing OrbitFlare code | You want the agent to **write** correct OrbitFlare code (endpoint URLs, gRPC filters, SDK setup) without you fetching docs first |
| **MCP**   | Agents that need to **call** OrbitFlare directly from chat         | You want the agent to query balances, send txs, build streaming configs, or manage your account interactively                    |
| **CLI**   | Shell scripts, CI/CD, terminal automation                          | You're writing bash, GitHub Actions, or cron jobs, and `--json` output composes cleanly with `jq` and shell pipes                |
| **SDK**   | Production Rust services                                           | You're building a long-running daemon, indexer, or trading bot and want type-safe access with retry/failover baked in            |

<Note>
  Skills и MCP дополняют друг друга. Поставьте оба: skill объясняет агенту *как* устроен OrbitFlare; MCP позволяет вызывать API, не выходя из чата.
</Note>

## Рекомендуемая настройка

Самый быстрый путь для кодирующего агента на Solana:

<Steps>
  <Step title="Получите API-ключ">
    Зарегистрируйтесь на [orbitflare.com](https://orbitflare.com) и скопируйте лицензионный ключ в разделе **Licenses**. На Free — 10 RPS / 1 TPS навсегда.
  </Step>

  <Step title="Установите skill">
    ```bash theme={null}
    npx @orbitflare/skills@latest      # Claude Code (personal)
    ```

    Для Cursor, Codex и установок в проект см. [Skills](/ru/agents/skills).
  </Step>

  <Step title="Установите MCP-сервер">
    Добавьте в конфиг хоста:

    ```json theme={null}
    {
      "mcpServers": {
        "orbitflare": {
          "command": "npx",
          "args": ["@orbitflare/mcp@latest"],
          "env": {
            "ORBITFLARE_API_KEY": "your-license-key",
            "ORBITFLARE_NETWORK": "mainnet"
          }
        }
      }
    }
    ```

    Пути к файлам по хостам и вариант TOML для Codex CLI — в [MCP-сервер](/ru/agents/mcp).
  </Step>

  <Step title="Перезапустите хост">
    Перезапустите Claude Code (или другой хост), чтобы подтянулись skill и MCP.
  </Step>

  <Step title="Попробуйте промпт">
    > "Stream pump.fun trades using OrbitFlare Jetstream from Frankfurt"

    > "What is the SOL balance of `Gh9ZwEm…`? Then show me the last 20 transactions for that address."

    > "Quote 1 SOL → USDC with 0.3% slippage and build me a Yellowstone config to watch the pool."
  </Step>
</Steps>

## Типовые сценарии

| Goal                     | Surfaces to use                                                                                     |
| ------------------------ | --------------------------------------------------------------------------------------------------- |
| Build a trading bot      | **MCP** for prototyping in chat → **Rust SDK** for the production daemon                            |
| Stream real-time data    | **MCP** `subscribeTransactions` to generate the YAML config → **CLI** `orbitflare stream` to run it |
| Index historical data    | **Skill** to learn `getTransactionsForAddress` and the archive endpoint → **SDK** for the indexer   |
| Manage account / billing | **MCP** auth flows + `prepareTopUp` / `confirmTopUp` from chat                                      |
| Quote a swap             | **MCP** `getSwapQuote` (Jupiter Metis routing, auto-resolves SOL/USDC/USDT symbols)                 |
| CI / scripted automation | **CLI** with `--json` flag piped into `jq`                                                          |

## Исходный код

Всё с открытым исходным кодом:

* Skills: [github.com/orbitflare/orbitflare-skills](https://github.com/orbitflare/orbitflare-skills)
* MCP-сервер: [github.com/orbitflare/orbitflare-mcp](https://github.com/orbitflare/orbitflare-mcp)
* CLI: [github.com/orbitflare/orbit-cli](https://github.com/orbitflare/orbit-cli)
* Rust SDK: [github.com/orbitflare/orbitflare-sdk-rs](https://github.com/orbitflare/orbitflare-sdk-rs)

Поверхности для агентов опираются на один источник правды: [docs.orbitflare.com/llms.txt](https://docs.orbitflare.com/llms.txt). Укажите агенту этот индекс для опоры на официальную документацию.
