Model Context Protocol — 6 financial services, ready now

Give Your Agent
Financial Superpowers with MCP

MCP is the standard protocol for giving AI agents access to tools. Purple Flea provides MCP servers for all 6 financial services: casino, trading, wallet, domains, faucet, and escrow. One JSON config block. Any MCP client. Live in 30 seconds.

Works with
Claude Desktop
Cursor
Windsurf
Any MCP client

3 steps to add all Purple Flea financial tools to your agent

No build step required. The four npm-based servers run via npx automatically. The faucet and escrow servers run over HTTP — no local process needed.

1

Get your API key

Register at casino.purpleflea.com. One API key works for casino, escrow, and faucet. Trading, wallet, and domains each have their own free registration.

2

Copy the MCP config into your client

Add the JSON block below to your MCP client config file. Replace your_key placeholders with your actual API keys. See client-specific instructions in the config tabs below.

3

Restart your MCP client — tools are live

Your agent now has access to casino betting, perpetual futures trading, multi-chain wallets, domain registration, a free $1 faucet claim, and trustless escrow payments.

Copy-paste config for your MCP client

Four services use the npx pattern — the package runs locally and proxies to Purple Flea APIs. Two services (faucet and escrow) expose a StreamableHTTP endpoint directly — no local process needed.

{ "mcpServers": { "purpleflea-casino": { "command": "npx", "args": ["-y", "@purpleflea/casino-mcp"], "env": { "CASINO_API_KEY": "your_key", "REFERRAL_CODE": "STARTER" } }, "purpleflea-wallet": { "command": "npx", "args": ["-y", "@purpleflea/wallet-mcp"], "env": { "WALLET_API_KEY": "your_key" } }, "purpleflea-trading": { "command": "npx", "args": ["-y", "@purpleflea/trading-mcp"], "env": { "TRADING_API_KEY": "your_key" } }, "purpleflea-domains": { "command": "npx", "args": ["-y", "@purpleflea/domains-mcp"], "env": { "DOMAINS_API_KEY": "your_key" } }, "purpleflea-faucet": { "type": "streamable-http", "url": "https://faucet.purpleflea.com/mcp" }, "purpleflea-escrow": { "type": "streamable-http", "url": "https://escrow.purpleflea.com/mcp" } } }
# ~/.cursor/mcp.json or project .cursor/mcp.json { "mcpServers": { "purpleflea-casino": { "command": "npx", "args": ["-y", "@purpleflea/casino-mcp"], "env": { "CASINO_API_KEY": "your_key", "REFERRAL_CODE": "STARTER" } }, "purpleflea-wallet": { "command": "npx", "args": ["-y", "@purpleflea/wallet-mcp"], "env": { "WALLET_API_KEY": "your_key" } }, "purpleflea-trading": { "command": "npx", "args": ["-y", "@purpleflea/trading-mcp"], "env": { "TRADING_API_KEY": "your_key" } }, "purpleflea-domains": { "command": "npx", "args": ["-y", "@purpleflea/domains-mcp"], "env": { "DOMAINS_API_KEY": "your_key" } }, "purpleflea-faucet": { "type": "streamable-http", "url": "https://faucet.purpleflea.com/mcp" }, "purpleflea-escrow": { "type": "streamable-http", "url": "https://escrow.purpleflea.com/mcp" } } }
# ~/.codeium/windsurf/mcp_config.json { "mcpServers": { "purpleflea-casino": { "command": "npx", "args": ["-y", "@purpleflea/casino-mcp"], "env": { "CASINO_API_KEY": "your_key", "REFERRAL_CODE": "STARTER" } }, "purpleflea-wallet": { "command": "npx", "args": ["-y", "@purpleflea/wallet-mcp"], "env": { "WALLET_API_KEY": "your_key" } }, "purpleflea-trading": { "command": "npx", "args": ["-y", "@purpleflea/trading-mcp"], "env": { "TRADING_API_KEY": "your_key" } }, "purpleflea-domains": { "command": "npx", "args": ["-y", "@purpleflea/domains-mcp"], "env": { "DOMAINS_API_KEY": "your_key" } }, "purpleflea-faucet": { "type": "streamable-http", "url": "https://faucet.purpleflea.com/mcp" }, "purpleflea-escrow": { "type": "streamable-http", "url": "https://escrow.purpleflea.com/mcp" } } }
# Standard MCP config — paste into your client's mcp_servers config # npx-based: casino, wallet, trading, domains run as local child processes # StreamableHTTP: faucet and escrow connect to remote endpoints over HTTPS { "mcpServers": { "purpleflea-casino": { "command": "npx", "args": ["-y", "@purpleflea/casino-mcp"], "env": { "CASINO_API_KEY": "your_key", "REFERRAL_CODE": "STARTER" } }, "purpleflea-wallet": { "command": "npx", "args": ["-y", "@purpleflea/wallet-mcp"], "env": { "WALLET_API_KEY": "your_key" } }, "purpleflea-trading": { "command": "npx", "args": ["-y", "@purpleflea/trading-mcp"], "env": { "TRADING_API_KEY": "your_key" } }, "purpleflea-domains": { "command": "npx", "args": ["-y", "@purpleflea/domains-mcp"], "env": { "DOMAINS_API_KEY": "your_key" } }, "purpleflea-faucet": { "type": "streamable-http", "url": "https://faucet.purpleflea.com/mcp" }, "purpleflea-escrow": { "type": "streamable-http", "url": "https://escrow.purpleflea.com/mcp" } } }
Config file locations: Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Cursor: ~/.cursor/mcp.json. Windsurf: ~/.codeium/windsurf/mcp_config.json.

All 6 Purple Flea MCP servers at a glance

Every service exposes a dedicated set of tools to your agent. The four npm packages run as local stdio processes; faucet and escrow are remote StreamableHTTP servers — no npm install required.

Service Delivery npm / URL Smithery Tools available
Casino stdio / npx @purpleflea/casino-mcp
coin_flip dice roulette crash custom_bet balance history verify_bet
Wallet stdio / npx @purpleflea/wallet-mcp
create_wallet get_balance token_swap send_tx list_chains
Trading stdio / npx @purpleflea/trading-mcp
list_markets open_position close_position set_stop_loss set_take_profit get_positions funding_rates
Domains stdio / npx @purpleflea/domains-mcp
search_domain register_domain add_dns_record list_domains update_nameservers
Faucet StreamableHTTP faucet.purpleflea.com/mcp Smithery
claim_faucet faucet_stats check_eligibility
Escrow StreamableHTTP escrow.purpleflea.com/mcp Smithery
create_escrow complete_escrow release_escrow dispute_escrow get_escrow escrow_stats

Tool-by-tool capability overview

Each MCP server exposes tools that your agent can call as if they were native functions. No REST calls to write, no auth headers to manage — the MCP server handles all of that.

🎲
Casino
stdio • @purpleflea/casino-mcp
Provably fair games: coin flip, dice, roulette, crash, custom-odds bets. Balance checks, bet history, cryptographic outcome verification. 10% referral commission on referred agent losses.
💎
Wallet
stdio • @purpleflea/wallet-mcp
Create non-custodial HD wallets on Ethereum, Bitcoin, Solana, Tron, Polygon, Arbitrum, Base. Best-rate token swaps via Wagyu aggregator (Uniswap, Jupiter, 1inch, Li.Fi). 10% referral on swap fees.
📈
Trading
stdio • @purpleflea/trading-mcp
275+ perpetual futures markets via Hyperliquid: crypto, stocks (TSLA, NVDA), commodities, forex. Up to 50x leverage. Stop-loss and take-profit tools. 20% referral on trading fees — highest rate in the ecosystem.
🌐
Domains
stdio • @purpleflea/domains-mcp
Register .ai, .com, .io, .xyz and 500+ TLDs with USDC. Manage DNS records (A, CNAME, TXT, MX). No credit card. 15% referral on domain purchases.
🚰
Faucet
StreamableHTTP • faucet.purpleflea.com/mcp
Claim $1 free USDC for new agents. Zero deposit, zero KYC. One claim per agent — instantly credited to casino balance. Also on Smithery: smithery.ai/servers/purpleflea/faucet
🤝
Escrow
StreamableHTTP • escrow.purpleflea.com/mcp
Lock funds, complete task, release payment. No human arbitration. 1% fee. Auth reuses casino API key. 15% referral on fees from referred agents. Also on Smithery: smithery.ai/servers/purpleflea/escrow

Install via Smithery in one click

Faucet and escrow are published to Smithery — the MCP server registry. Any Smithery-compatible client (Claude Desktop, Cursor, Windsurf) can install them without touching a config file.

🚰
purpleflea/faucet
StreamableHTTP
Free $1 USDC for new AI agents. Zero-risk entry to the Purple Flea ecosystem.
View on Smithery →
🤝
purpleflea/escrow
StreamableHTTP
Trustless agent-to-agent payments. Lock, complete, release. 1% fee. 15% referral.
View on Smithery →
Note: The four npm-based servers (casino, wallet, trading, domains) are available directly via npx and do not require Smithery — add them using the JSON config above.

What you can ask your agent once MCP is configured

After adding the Purple Flea MCP servers, your agent gains the ability to execute financial actions directly. No additional code required — the tools appear in the agent's tool list automatically.

Example prompts that work after MCP setup:

"Claim the free $1 faucet for me and use it to play a coin flip"
Uses: faucet.claim_faucet + casino.coin_flip
"Create an escrow for $50 with agent ID ag_xyz for a web scraping task, 24-hour timeout"
Uses: escrow.create_escrow
"Open a 2x long on BTC-PERP with $100 and set a stop-loss at 5% below entry"
Uses: trading.open_position + trading.set_stop_loss
"Create an Ethereum wallet, check the USDC balance, and swap 10 USDC to ETH at best rate"
Uses: wallet.create_wallet + wallet.get_balance + wallet.token_swap
"Search if agent-finance.ai is available and register it if it is"
Uses: domains.search_domain + domains.register_domain

Complete MCP server config block

The complete configuration for all 6 servers. Replace your_key with actual API keys. Casino key also authenticates escrow — you only need one key for both.

{ "mcpServers": { "purpleflea-casino": { "command": "npx", "args": ["-y", "@purpleflea/casino-mcp"], "env": { "CASINO_API_KEY": "your_key", "REFERRAL_CODE": "STARTER" } }, "purpleflea-wallet": { "command": "npx", "args": ["-y", "@purpleflea/wallet-mcp"], "env": { "WALLET_API_KEY": "your_key" } }, "purpleflea-trading": { "command": "npx", "args": ["-y", "@purpleflea/trading-mcp"], "env": { "TRADING_API_KEY": "your_key" } }, "purpleflea-domains": { "command": "npx", "args": ["-y", "@purpleflea/domains-mcp"], "env": { "DOMAINS_API_KEY": "your_key" } }, "purpleflea-faucet": { "type": "streamable-http", "url": "https://faucet.purpleflea.com/mcp" }, "purpleflea-escrow": { "type": "streamable-http", "url": "https://escrow.purpleflea.com/mcp" } } }

Ready to give your agent financial tools?

Get your free API key at casino.purpleflea.com. No KYC, no deposit required. Start with a free $1 from the faucet.

Get API Key → Full Agent Docs

Also available on:

Smithery: purpleflea/faucet Smithery: purpleflea/escrow Full API docs →