# NoKycCryptoSwap — Complete Technical & AI Agent Reference (`llms-full.txt`) > Canonical Web App: https://nokyccryptoswap.com/ > Public REST API (Zero API Key): https://api.nokyccryptoswap.com > Remote MCP Server (Streamable HTTP, Spec 2025-06-18): https://mcp.nokyccryptoswap.com/mcp > OpenAPI 3.1 Spec: https://nokyccryptoswap.com/openapi.json > Well-Known MCP Server Card: https://nokyccryptoswap.com/.well-known/mcp/server-card.json > Telegram Bot & Mini App: https://t.me/NoKycCryptoSwapBot > GitHub: https://github.com/rosarioV25/nokyc-crypto-swap-mcp --- ## 1. Architecture & Fee Comparison NoKycCryptoSwap is a 100% non-custodial crypto swap interface, public REST API v2.2, and Remote MCP Server that automatically selects the fastest, lowest-fee liquidity rail across four execution paths: | Engine | Pairs Supported | Interface Fee | Settlement Time | Custody / KYC | |---|---|---|---|---| | **Solana DEX (Jupiter v1)** | SOL, USDC, USDT, JUP, PENGU, BONK, WIF, RAY, PYTH + ANY Solana SPL / Pump.fun CA | **0.40%** (53% cheaper than Phantom 0.85%) | ~5 seconds | 100% Non-Custodial · Zero KYC | | **Same-Chain EVM DEX (LI.FI Multi-DEX)** | Ethereum (1), Base (8453), Arbitrum (42161), Optimism (10), BSC (56), Polygon (137), Avalanche (43114) | **0.40%** + network gas (54% cheaper than MetaMask 0.875%) | ~5 seconds | 100% Non-Custodial · Zero KYC | | **EVM <-> Solana Best-Rate Bridge (LI.FI + deBridge DLN)** | Bidirectional across all 7 EVM chains <-> Solana (7565164) — parallel best-rate race | **0.40%** + network gas | ~5–30 seconds | 100% Non-Custodial · Zero KYC | | **Cross-Chain Instant Rail (ChangeNOW)** | 920+ coins incl. BTC, USDT TRC20, TON, XRP, XMR, LTC, DOGE, SUI, TRX, ADA, BCH, ZEC | **0.40%–0.60%** (included in live quote) | ~2–10 minutes | Non-Custodial · Zero Account Signup | ### Fee Savings vs Built-In Wallet Swaps - On a $1,000 Solana swap: Phantom built-in swap costs **$8.50 (0.85%)**; MetaMask costs **$8.75 (0.875%)**; NoKycCryptoSwap costs **$4.00 (0.40%)** — saving **$4.50–$4.75 per trade** ($112.50+/year across 25 swaps). - Note on Fiat On-Ramp: Buying SOL with EUR/USD/GBP via Card, SEPA, or Apple Pay routes to licensed fiat on-ramp partners who may request standard payment verification. Standard crypto-to-crypto swaps require zero signup or KYC. --- ## 2. Remote MCP Server (`https://mcp.nokyccryptoswap.com/mcp`) - **Transport:** Streamable HTTP (JSON-RPC 2.0) - **Authentication:** None (zero API key, zero OAuth required) - **Supported Protocol Versions:** `2025-06-18` (latest), `2025-03-26`, `2024-11-05` - **Features:** `Mcp-Session-Id` header, tool `annotations` (`readOnlyHint`, `destructiveHint`, `idempotentHint`, `openWorldHint`), `outputSchema` + `structuredContent`, `prompts/list`, `prompts/get`, `resources/list`, `resources/read`, and JSON-RPC batching (capped at 5 requests per batch). - **Rate Limit:** Cloudflare Edge WAF allows up to 20 POST requests per 10 seconds per IP. ### MCP Client Configuration (Claude Desktop, Cursor, Windsurf, VS Code, Antigravity) ```json { "mcpServers": { "nokyc-crypto-swap": { "url": "https://mcp.nokyccryptoswap.com/mcp" } } } ``` ### MCP Tools (7) 1. **`search_tokens`** (`readOnlyHint: true`): `{ "query": "PENGU", "group": "all" | "solana" | "evm" | "cross" }` — returns matching cross-chain tickers, EVM DEX tokens, or any Solana SPL mint / Pump.fun CA with live USD price and decimals. 2. **`get_min_amount`** (`readOnlyHint: true`): `{ "from": "btc", "to": "sol" }` — returns `{ "minAmount", "maxAmount", "requiresExtraId" }` for cross-chain pairs so agents never submit below-minimum orders. 3. **`get_swap_quote`** (`readOnlyHint: true`): `{ "from": "sol", "to": "usdc", "amount": 1, "slippageBps": 50 }` — auto-detects engine (`solana_dex`, `evm_bridge` via LI.FI + deBridge best-rate, or `nokyc_cross`) and returns estimated output, rate, fee %, provider, and ETA. 4. **`create_nokyc_swap`** (`readOnlyHint: false`): `{ "from": "btc", "to": "sol", "amount": 0.05, "recipientAddress": "", "extraId": "" }` — creates a one-time non-custodial deposit address (`payinAddress`), `orderId`, and `statusUrl`. 5. **`build_solana_swap_tx`** (`readOnlyHint: true`): `{ "inputMint": "sol", "outputMint": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv", "amount": 1, "userPublicKey": "", "slippageBps": 50 }` — returns an unsigned base64 Solana `VersionedTransaction` for local wallet signing. 6. **`build_bridge_tx`** (`readOnlyHint: true`): `{ "srcChainId": 8453, "dstChainId": 7565164, "srcToken": "0x0000000000000000000000000000000000000000", "dstToken": "11111111111111111111111111111111", "amount": 0.25, "senderAddress": "0x...", "recipientAddress": "", "provider": "auto" | "lifi" | "debridge" }` — returns unsigned same-chain EVM DEX or cross-chain bridge transaction (`tx.to`, `tx.data`, `tx.value`, `approvalAddress`) for local EVM/Solana signing. 7. **`check_swap_status`** (`readOnlyHint: true`): `{ "orderId": "" }` — returns live status across ChangeNOW orders, deBridge/LI.FI EVM tx hashes (`0x...`), and Solana Base58 bridge signatures. ### MCP Resources & Prompts - `nokyc://fees`: JSON fee comparison schedule across all 4 engines vs Phantom (0.85%) & MetaMask (0.875%). - `nokyc://bridge-chains`: JSON map of supported bridge chain IDs (`1, 10, 56, 137, 8453, 42161, 43114, 7565164`) and native sentinels. - `nokyc://endpoints`: Complete machine-readable directory of REST API v2.2 & MCP endpoints. - Prompts: `no_kyc_cross_chain_swap`, `cheapest_solana_dex_swap`, `evm_solana_fast_bridge`, `check_order_status`. --- ## 3. Public REST API (`https://api.nokyccryptoswap.com`) All endpoints return JSON with `Access-Control-Allow-Origin: *` and require zero API key: - `GET /v1/health` — Service status, version (`2.2.0`), and endpoint map. - `GET /v1/prices?symbols=btc,sol,eth` — Edge-cached (60s, `X-Edge-Cache`) USD/EUR spot prices & 24h changes for 30+ major coins (Kraken primary). - `GET /v1/tokens?q=PENGU&group=all|solana|evm|cross` — Search 920+ coins, EVM DEX tokens, or any Solana Contract Address (edge-cached 300s). - `GET /v1/min-amount?from=btc&to=sol` — Live minimum swap amount & `requiresExtraId` flag (edge-cached 300s). - `GET /v1/quote?from=btc&to=sol&amount=0.05` — Auto-routed live quote (Solana DEX / LI.FI+deBridge EVM / No-KYC, edge-cached 5s). - `POST /v1/swap/solana` — Build unsigned 0.40% Solana `VersionedTransaction` (base64). - `POST /v1/swap/nokyc` — Create No-KYC cross-chain swap order (supports optional `extraId`, `refundAddress`, `refundExtraId`). - `POST /v1/swap/bridge` — Build unsigned LI.FI + deBridge same-chain EVM DEX or bidirectional EVM <-> Solana bridge tx across chain IDs `1, 10, 56, 137, 8453, 42161, 43114, 7565164` (optional `provider: auto|lifi|debridge`). - `GET /v1/status/{orderId}` — Poll live status across ChangeNOW, deBridge DLN, LI.FI EVM tx hashes, and Solana Base58 bridge signatures. ### Supported Bridge Chain IDs & Native Token Sentinels - `1` = Ethereum (`0x0000000000000000000000000000000000000000`) - `10` = Optimism (`0x0000000000000000000000000000000000000000`) - `56` = BNB Smart Chain (`0x0000000000000000000000000000000000000000`) - `137` = Polygon (`0x0000000000000000000000000000000000000000`) - `8453` = Base (`0x0000000000000000000000000000000000000000`) - `42161` = Arbitrum One (`0x0000000000000000000000000000000000000000`) - `43114` = Avalanche C-Chain (`0x0000000000000000000000000000000000000000`) - `7565164` = Solana (`11111111111111111111111111111111`) --- ## 4. Embeddable Widget & Telegram Bot - **Free Embeddable Widget:** `https://nokyccryptoswap.com/embed?from=btc&to=sol&amount=0.05&fiat=usd&theme=dark&partner=yoursite` - Supports `theme=dark` or `theme=transparent` and emits `postMessage({ type: "nkcs-resize", height })` for responsive iframes. - Interactive live builder available at `https://nokyccryptoswap.com/developers#embed`. - **Telegram Bot (`@NoKycCryptoSwapBot`):** - Inline mode in ANY Telegram chat: `@NoKycCryptoSwapBot 0.05 btc sol` - Commands: `/start`, `/swap`, `/quote`, `/price [coin]`, `/fees [amount]`, `/min `, `/status `, `/help` - Deep links: `https://t.me/NoKycCryptoSwapBot?start=btc_sol` opens a pre-configured instant quote + Mini App button.