Daytona Sandbox
by Daytona
Secure AI code execution sandboxes with sub-90ms creation. Create isolated environments for running AI-generated code with full shell, file system, and process management.
by SerenCron
Schedule recurring HTTP jobs with x402 payment support. Charged $0.0001 per job execution. AI agents can create cron jobs that execute on schedule, optionally routing through x402 gateway for paid API targets.
Install the x402 MCP server to let your AI agent access this data with automatic USDC payments on Base.
Required: You need a SerenDB database to store query results.
Get your connection string from the SerenDB Console under your database settings.
Add to claude_desktop_config.json:
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["@serendb/x402-mcp-server"],
"env": {
"X402_GATEWAY_URL": "https://x402.serendb.com",
"WALLET_PRIVATE_KEY": "0x...",
"BASE_RPC_URL": "https://mainnet.base.org",
"SERENDB_CONNECTION_STRING": "postgresql://..."
}
}
}
}Replace 0x... with your wallet private key and postgresql://... with your SerenDB connection string.
claude mcp add x402 \ -e X402_GATEWAY_URL=https://x402.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -e BASE_RPC_URL=https://mainnet.base.org \ -e "SERENDB_CONNECTION_STRING=postgresql://..." \ -- npx -y @serendb/x402-mcp-server
claude mcp add x402 ` -e X402_GATEWAY_URL=https://x402.serendb.com ` -e WALLET_PRIVATE_KEY=0x... ` -e BASE_RPC_URL=https://mainnet.base.org ` -e "SERENDB_CONNECTION_STRING=postgresql://..." ` '--' npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key and postgresql://... with your SerenDB connection string.
gemini mcp add x402 \ -e X402_GATEWAY_URL=https://x402.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -e BASE_RPC_URL=https://mainnet.base.org \ -e "SERENDB_CONNECTION_STRING=postgresql://..." \ -- npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key and postgresql://... with your SerenDB connection string.
codex mcp add x402 \ --env X402_GATEWAY_URL=https://x402.serendb.com \ --env WALLET_PRIVATE_KEY=0x... \ --env BASE_RPC_URL=https://mainnet.base.org \ --env "SERENDB_CONNECTION_STRING=postgresql://..." \ -- npx -y @serendb/x402-mcp-server
Important: Cursor has a 60s timeout. Pre-install globally first: npm install -g @serendb/x402-mcp-server
First, install globally to avoid timeout issues:
npm install -g @serendb/x402-mcp-server
Then add to ~/.cursor/mcp.json:
{
"mcpServers": {
"x402": {
"command": "x402-mcp-server",
"args": [],
"env": {
"X402_GATEWAY_URL": "https://x402.serendb.com",
"WALLET_PRIVATE_KEY": "0x...",
"BASE_RPC_URL": "https://mainnet.base.org",
"SERENDB_CONNECTION_STRING": "postgresql://..."
}
}
}
}Also works with Windsurf, Zed, and other MCP-compatible clients. See the full setup guide for details.
Access data directly via HTTP using the x402 payment protocol.
HTTP 402 with payment requirements (amount, wallet, EIP-712 data)X-PAYMENT header containing the signaturecurl -X POST https://x402.serendb.com/api/proxy \
-H "Content-Type: application/json" \
-d '{
"publisherId": "fdefd4a0-7a8b-4fb7-86d7-ec5b6ca69f19",
"agentWallet": "0xYourWalletAddress",
"request": {
"method": "GET",
"path": "/endpoint"
}
}'This returns 402 Payment Required with the payment details you need to sign.
After signing the EIP-712 authorization, add the base64-encoded signature:
curl -X POST https://x402.serendb.com/api/proxy \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-signature>" \
-d '{ ... }'Prepaid balance
by Daytona
Secure AI code execution sandboxes with sub-90ms creation. Create isolated environments for running AI-generated code with full shell, file system, and process management.
by Browserbase
Cloud browser automation via x402. Create headless browser sessions for web scraping, testing, and automation. Supports Playwright, Puppeteer, and Selenium. Pay-per-use with no subscription.
by Apify
Apify is a cloud platform and marketplace for web scraping and automation tools. Run pre-built actors or deploy custom scrapers to extract data from any website at scale.