# Nebula ## Docs - [On-Chain Agent Identity and Reputation with Stellar8004](https://docs.nebulaonchain.xyz/concepts/identity.md): Nebula registers your agent on Stellar8004, giving it a verifiable on-chain identity NFT and a reputation score other agents can trust. - [x402 and MPP: Machine-to-Machine Payments for Agents](https://docs.nebulaonchain.xyz/concepts/payments.md): Nebula supports two payment protocols: x402 for per-request USDC payments and MPP for streaming micropayments settled in a single on-chain transaction. - [Spending Policy: Keep Your Agent's Payments Bounded](https://docs.nebulaonchain.xyz/concepts/spending-policy.md): Nebula enforces per-call and daily spending caps either through environment variables or a Soroban on-chain contract your agent cannot bypass. - [Automated Treasury: Earn Yield on Idle Agent Funds](https://docs.nebulaonchain.xyz/concepts/treasury.md): Nebula's treasury engine auto-deposits idle funds to Blend lending pools and withdraws when your agent needs liquidity — no manual management. - [How the Nebula Agent Wallet Works on Stellar Network](https://docs.nebulaonchain.xyz/concepts/wallet.md): Nebula gives your AI agent a real Stellar account holding XLM and USDC, with full balance visibility and direct transfers — no human required. - [Nebula MCP Environment Variable Configuration Guide](https://docs.nebulaonchain.xyz/configuration.md): All environment variables for Nebula MCP — wallet keys, network selection, spending limits, treasury settings, and agent identity metadata. - [Install Nebula MCP in Claude Desktop and Claude Code](https://docs.nebulaonchain.xyz/guides/connect-claude.md): Add Nebula's Stellar wallet MCP server to Claude Desktop or Claude Code in minutes — paste a JSON config block, add your secret key, and restart. - [Make Hundreds of Micropayments with One MPP Session](https://docs.nebulaonchain.xyz/guides/mpp-sessions.md): Open an MPP payment channel to make hundreds of off-chain micropayments in one session and settle everything with a single on-chain transaction. - [Enforce Agent Spending Limits with an On-Chain Policy](https://docs.nebulaonchain.xyz/guides/on-chain-policy.md): Deploy a Soroban contract that cryptographically enforces your agent's per-call and daily spending caps — limits backed by an immutable on-chain record. - [Auto-Earn Yield on Idle Funds with Nebula Treasury](https://docs.nebulaonchain.xyz/guides/treasury-yield.md): Configure Nebula's automated treasury to deposit idle funds into Blend lending pools and earn yield while your agent stays fully funded. - [Automate Per-Request USDC Payments with x402_fetch](https://docs.nebulaonchain.xyz/guides/x402-payments.md): Use Nebula's x402_fetch tool to automatically pay HTTP 402 APIs with USDC — your agent handles the payment and retries without human intervention. - [What Is Nebula? Stellar Wallet MCP Server Explained](https://docs.nebulaonchain.xyz/introduction.md): Nebula is an MCP server that gives AI agents a real Stellar wallet with payments, yield, on-chain spending policy, and verifiable identity. - [Quickstart: Add Nebula MCP Wallet to Claude in Minutes](https://docs.nebulaonchain.xyz/quickstart.md): Connect Nebula to Claude or any MCP-compatible agent, fund your Stellar wallet, and make your first automated payment in under 5 minutes. - [Nebula MCP Environment Variables: Complete Reference](https://docs.nebulaonchain.xyz/reference/environment-variables.md): Every Nebula MCP environment variable explained: required secret key, network selection, spending limits, treasury, MPP sessions, and identity. - [Configuring Nebula for Stellar Testnet and Mainnet](https://docs.nebulaonchain.xyz/reference/networks.md): Configure Nebula for Stellar testnet or mainnet. Testnet is the default — switch to mainnet by setting NETWORK=mainnet in your MCP config. - [Nebula Agent Spending Limits — Off-Chain and On-Chain](https://docs.nebulaonchain.xyz/reference/spending-limits.md): Understand how Nebula's per-call and daily spending caps work, what actions count against them, and when to use off-chain vs on-chain enforcement. - [Nebula MCP Tools: Complete Reference for All 23 Tools](https://docs.nebulaonchain.xyz/reference/tools.md): Complete reference for all 23 Nebula MCP tools organized by category: wallet, transfers, spending policy, x402, MPP, treasury, and agent identity.