Installation
- Claude Desktop
- Claude Code
- Any MCP Framework
Open your Claude Desktop config file at Replace
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Add the nebula block inside mcpServers:YOUR_STELLAR_SECRET_KEY with your Stellar secret key (starts with S). Save the file, then quit and reopen Claude Desktop — changes take effect only after a full restart.After changing your config
First commands to try
Once Nebula is connected, paste any of these prompts directly into the chat window to verify the integration and explore your wallet:Troubleshooting
“Invalid secret key” or authentication error YourSTELLAR_SECRET_KEY must start with the letter S and be exactly 56 characters long. Copy it directly from your Stellar wallet or key generation tool — do not add quotes or spaces inside the JSON string value.
Wrong network — balance shows zero
NETWORK defaults to testnet. If you funded a mainnet wallet, set "NETWORK": "mainnet" in your config and restart. Testnet and mainnet wallets are completely separate.
Tools not appearing in Claude
The MCP server must start without errors before Claude registers its tools. Open the Claude Desktop developer console (or check logs) to see if nebula-mcp launched successfully. Common causes: missing STELLAR_SECRET_KEY, Node version below 18, or a JSON syntax error in the config file.
Changes not taking effect
Restart Claude after every config edit. In Claude Desktop, use the menu bar Quit option, not just closing the window.
“npx: command not found”
Node.js 18 or later is required. Install it from nodejs.org and ensure npx is on your PATH.
x402 Payments
Automatically pay HTTP 402 APIs with USDC — no human in the loop.
MPP Sessions
Stream hundreds of micropayments with one on-chain deposit.
On-Chain Policy
Deploy a Soroban contract to cryptographically enforce spending caps.
Treasury & Yield
Earn yield on idle funds with the automated Blend rebalancer.