MCP Server (Agent)
Configuration
Environment variables and configuration options.
All configuration is via environment variables. Everything is optional.
Environment Variables
| Variable | Default | Description |
|---|---|---|
NANOCRAWL_BUYER_PRIVATE_KEY | auto-generated | Use a specific private key |
NANOCRAWL_BUDGET | unlimited | Session spending cap in USDC (e.g. 0.05) |
NANOCRAWL_AUTO_DEPOSIT | 1 | USDC to auto-deposit into Gateway when balance is low |
MCP Integration
Claude Code
# Add
claude mcp add nanocrawl -- npx nanocrawl
# Remove
claude mcp remove nanocrawlOther MCP Clients
The server uses stdio transport (JSON-RPC over stdin/stdout). Any MCP-compatible client can connect by spawning the process:
npx nanocrawlNetwork
Currently operates on Arc Testnet with USDC:
- Chain:
eip155:5042002 - USDC:
0x3600000000000000000000000000000000000000 - Gateway: Circle Nanopayments (gas-free)
- Faucet: faucet.circle.com