Перейти к основному содержанию

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.

MCP-сервер OrbitFlare открывает доступ к оптимизированному под Shredstream RPC Solana, gRPC-стримингу, выделенным нодам и инфраструктуре валидаторов как к инструментам, которые ваш AI-ассистент может вызывать напрямую. Каждая возможность — отдельный инструмент со схемой ввода: без внутренних маршрутизаторов и пагинации по result-id.
Сочетайте MCP-сервер с Skill: skill объясняет как устроен OrbitFlare; MCP позволяет вызывать API из чата.

Установка

У большинства хостов один JSON; отличается только путь к файлу:
{
  "mcpServers": {
    "orbitflare": {
      "command": "npx",
      "args": ["@orbitflare/mcp@latest"],
      "env": {
        "ORBITFLARE_API_KEY": "your-license-key",
        "ORBITFLARE_NETWORK": "mainnet"
      }
    }
  }
}
HostWhere to put it
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)
Claude Coderun claude mcp add orbitflare -- npx @orbitflare/mcp@latest, or drop a .mcp.json at your project root
Cursor~/.cursor/mcp.json (global) or <project>/.cursor/mcp.json
Gemini CLI~/.gemini/settings.json (global) or <project>/.gemini/settings.json
Windsurf~/.codeium/windsurf/mcp_config.json
VS Codedepends on extension (Continue, Cline, GitHub Copilot agent mode)
Codex CLI использует TOML: ~/.codex/config.toml (или <project>/.codex/config.toml):
[mcp_servers.orbitflare]
command = "npx"
args = ["@orbitflare/mcp@latest"]

Лицензионный ключ

Зарегистрируйтесь на orbitflare.com и скопируйте ключ в разделе Licenses дашборда. На Free — 10 RPS, этого достаточно, чтобы начать. Если не хотите класть ключ в конфиг хоста, не задавайте переменную и вызовите из чата setApiKey:
Set my OrbitFlare API key to xxxx-xxxx-xxxx.

Конфигурация

Env varPurpose
ORBITFLARE_API_KEYRPC license key (used as ?api_key= for JSON-RPC)
ORBITFLARE_LICENSE_KEYAlias for ORBITFLARE_API_KEY
ORBITFLARE_CUSTOMER_API_KEYCustomer API v2 key (X-ORBIT-KEY header). Falls back to ORBITFLARE_API_KEY if unset
ORBITFLARE_NETWORKmainnet (default) or devnet
ORBITFLARE_RPC_URLOptional explicit RPC endpoint URL (overrides region/network). Useful for dedicated nodes.
ORBITFLARE_BEARER_TOKENBearer token for the Customer API. Auto-populated by pollDeviceToken / verifyWalletSignature and persisted at ~/.orbitflare/mcp-session.json.
Все значения можно переопределить во время работы через инструмент setApiKey — удобно при смене сети или региона без перезапуска хоста.

Региональные эндпоинты

По умолчанию mainnet (авто-маршрутизация). Чтобы зафиксировать регион, вызовите setApiKey с одним из: ash, ny, la, slc, ams, fra, lon, dub, siau, tok, sgp.

Инструменты

53 инструмента по доменам. Каждый вызывается независимо.

Чтение RPC

ToolWhat it does
getBalanceSOL balance for a pubkey, in lamports and SOL
getAccountInfoFull account info with jsonParsed decoding when available
getMultipleAccountsBatch up to 100 accounts in one call
getProgramAccountsAccounts owned by a program (filters + dataSlice required for popular programs)
getTokenAccountsByOwnerAll SPL token accounts a wallet owns
getTokenAccountBalanceBalance of a specific SPL token account
getTokenSupplyTotal supply for an SPL mint
getTransactionParsed transaction by signature
getSignaturesForAddressRecent signatures (paginated via before / until)
getBlockBlock metadata + transactions at a slot
getSlotCurrent slot
getEpochInfoEpoch number, slot index, slots-in-epoch, progress
getNetworkStatusHealth + version + identity + slot in one call
getLatestBlockhashRecent blockhash + lastValidBlockHeight
getFeeForMessageLamport fee for a compiled message
getMinimumBalanceForRentExemptionMin lamports for rent exemption
getStakeActivationActive/inactive lamports + state for a stake account
getRecentPrioritizationFeesPriority-fee samples + P50/P75/P90/P99 percentiles
simulateTransactionSimulate a tx; returns logs + units consumed
sendTransactionSubmit an already-signed base-64 transaction

Аккаунт, профиль и планы

ToolWhat it does
setApiKeyStore an RPC or Customer API key for the session, optionally switch network/region
getProfileAuthenticated user profile + account balance
updateProfileUpdate name, email, payment wallet
listLicensesAll RPC licenses on the account
listRpcPlansCatalog of available plans with pricing

Аутентификация (device code + challenge кошелька)

ToolWhat it does
requestDeviceCodeStart device-authorization flow; returns verification_uri + user_code
pollDeviceTokenPoll for completion; auto-stores Bearer token on success
revokeTokenLogout / clear Bearer token
requestWalletChallengeGet a one-time challenge string for a Solana wallet
verifyWalletSignatureSign in an existing account by signature
registerWithWalletCreate a new account from a wallet signature

API-ключи и лицензии

ToolWhat it does
listApiKeysList all API keys (masked)
createApiKeyCreate a new API key (full key returned once)
regenerateApiKeyRegenerate by id (old key invalidated immediately)
deleteApiKeyPermanently delete an API key
addLicenseIpWhitelist an IP on an IP-mode license
removeLicenseIpRemove a whitelisted IP
regenerateLicenseKeyRotate a license’s RPC key

Биллинг

ToolWhat it does
prepareTopUpBuild an unsigned USDC top-up transaction
confirmTopUpSubmit the signed top-up; OrbitFlare verifies on-chain and credits balance
listInvoicesPaginated invoice list
purchaseRpcPlanPurchase or validateOnly-dry-run a plan from your account balance

Стриминг, стейкинг, своп

ToolWhat it does
subscribeTransactionsBuild a ready-to-use Jetstream or Yellowstone gRPC config for the OrbitFlare CLI
getStakeInfoOrbitFlare validator identity, vote account, commission, est. APY, optional reward calculator
getSwapQuoteJupiter Metis routing quote (auto-resolves SOL / USDC / USDT symbols)

Кошелёк и запись

ToolWhat it does
generateKeypairGenerate Ed25519 keypair, optionally persist to ~/.orbitflare/mcp-keypair.json
loadKeypairLoad from base58 secret or Solana CLI keypair file
clearKeypairRemove from session (and optionally disk)
getWalletAddressReturns the loaded wallet’s address
signMessageEd25519-sign an arbitrary message (utf8 / base58 / base64)
buildSolTransferBuild an unsigned versioned tx transferring SOL
buildStakeDelegationBuild an unsigned tx delegating to OrbitFlare’s vote account (or any vote account)
signAndSendTransactionSign with the session keypair, broadcast via OrbitFlare RPC

Сценарии

Аутентификация (device code)

1

Запрос device code

requestDeviceCode возвращает verification_uri + user_code. Модель показывает их вам.
2

Подтвердите в браузере, затем poll

pollDeviceToken { device_code } повторяется каждые interval секунд до успеха. Bearer-токен сохраняется автоматически и используется для следующих вызовов Customer API.
3

Выход

revokeToken очищает Bearer-токен.

Аутентификация (кошелёк)

1

Загрузка keypair

generateKeypair (создать новый) или loadKeypair (из base58 / файла Solana CLI).
2

Запрос challenge

requestWalletChallenge { wallet_address }.
3

Подпись и проверка

signMessage { message: <challenge> } затем verifyWalletSignature (существующий аккаунт) или registerWithWallet (новый аккаунт).

Отправка с кошелька

1

Загрузка keypair

generateKeypair или loadKeypair.
2

Сборка перевода

buildSolTransfer { recipient, amountSol } возвращает unsigned tx в base64.
3

Подпись и broadcast

signAndSendTransaction { transaction } подписывает keypair сессии, отправляет и возвращает подпись + ссылку Solscan.

Пополнение

1

Подготовка top-up

prepareTopUp { amount, wallet_address } возвращает unsigned USDC-transfer + memo в base64.
2

Подпись

Подпишите загруженным кошельком через signAndSendTransaction или извне.
3

Подтверждение

confirmTopUp { transaction: <signed-base64> }. OrbitFlare проверяет ончейн и зачисляет баланс.

Ресурсы

Сервер открывает документацию OrbitFlare как MCP resources — модель может подгружать актуальные страницы по запросу:
URIPage
orbitflare://docs/indexDocumentation index (llms.txt)
orbitflare://docs/quickstartQuickstart
orbitflare://docs/authenticationAuth, endpoints, rate limits, connection limits
orbitflare://docs/productsProducts & pricing
orbitflare://docs/rpc-httpHTTP RPC reference
orbitflare://docs/jetstreamJetstream streaming
orbitflare://docs/yellowstoneYellowstone gRPC
orbitflare://docs/stakingValidator staking
orbitflare://docs/metis-swapMetis Swap API
orbitflare://docs/cliOrbitFlare CLI
orbitflare://docs/customer-apiCustomer API v2

Системные промпты

Готовые system / developer prompts лежат в каталоге system-prompts/orbitflare/:
  • claude.system.md: краткий системный промпт для Claude
  • openai.developer.md: краткое developer-сообщение для моделей OpenAI
  • full.md: развёрнутый операторский playbook (auth, top-up, жёсткие ограничения)
Добавьте один в конфиг хоста, чтобы модель знала, когда какой инструмент использовать.

Попробуйте

После установки модель сама подберёт инструмент:
“What is the SOL balance of Gh9ZwEm…?”
“Show me the last 20 transactions for 7xKXt….”
“What’s a competitive priority fee right now for an account that touches Raydium?”
“Build me a Yellowstone gRPC config that streams Jupiter swap transactions from Frankfurt.”
“Quote 1 SOL → USDC with 0.3% slippage.”
“What is OrbitFlare’s validator vote account, and what would 250 SOL earn per year?”

Источники