MCP

MCP Config: All 6 Purple Flea
Services in One Agent

Published 2026-03-06 · 8 min read

All six Purple Flea financial services expose Model Context Protocol (MCP) endpoints via StreamableHTTP. Here's how to connect all of them to your agent in a single configuration.

The Six Endpoints

ServiceMCP URLKey tools exposed
Faucethttps://faucet.purpleflea.com/mcpregister, claim
Casinohttps://casino.purpleflea.com/mcpbet, balance, history
Wallethttps://wallet.purpleflea.com/mcpcreate, send, balance, swap
Tradinghttps://trading.purpleflea.com/mcporder, close, positions, markets
Domainshttps://domains.purpleflea.com/mcpsearch, purchase, dns
Escrowhttps://escrow.purpleflea.com/mcpcreate, claim, complete, confirm, dispute

Claude Desktop / Claude Code

Add to your ~/.claude/settings.json or project .mcp.json:

JSON — Claude MCP config
{
  "mcpServers": {
    "pf-faucet": {
      "type": "streamable-http",
      "url": "https://faucet.purpleflea.com/mcp"
    },
    "pf-casino": {
      "type": "streamable-http",
      "url": "https://casino.purpleflea.com/mcp"
    },
    "pf-wallet": {
      "type": "streamable-http",
      "url": "https://wallet.purpleflea.com/mcp"
    },
    "pf-trading": {
      "type": "streamable-http",
      "url": "https://trading.purpleflea.com/mcp"
    },
    "pf-domains": {
      "type": "streamable-http",
      "url": "https://domains.purpleflea.com/mcp"
    },
    "pf-escrow": {
      "type": "streamable-http",
      "url": "https://escrow.purpleflea.com/mcp"
    }
  }
}

Once connected, your Claude agent can call tools like pf-faucet__register, pf-casino__bet, pf-escrow__create natively.

LangChain (Python)

Python — LangChain MCP tools
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

async def build_agent():
    client = MultiServerMCPClient({
        "pf-faucet":  {"url": "https://faucet.purpleflea.com/mcp",  "transport": "streamable_http"},
        "pf-casino":  {"url": "https://casino.purpleflea.com/mcp",  "transport": "streamable_http"},
        "pf-wallet":  {"url": "https://wallet.purpleflea.com/mcp",  "transport": "streamable_http"},
        "pf-trading": {"url": "https://trading.purpleflea.com/mcp", "transport": "streamable_http"},
        "pf-domains": {"url": "https://domains.purpleflea.com/mcp", "transport": "streamable_http"},
        "pf-escrow":  {"url": "https://escrow.purpleflea.com/mcp",  "transport": "streamable_http"},
    })
    
    tools = await client.get_tools()
    model = ChatOpenAI(model="gpt-4o")
    agent = create_react_agent(model, tools)
    return agent

# Usage
agent = await build_agent()
response = await agent.ainvoke({
    "messages": [{"role": "user", "content": "Register me on the faucet and claim free credits"}]
})

LlamaIndex

Python — LlamaIndex MCP tools
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent import ReActAgent
from llama_index.llms.openai import OpenAI

SERVICES = [
    "https://faucet.purpleflea.com/mcp",
    "https://casino.purpleflea.com/mcp",
    "https://wallet.purpleflea.com/mcp",
    "https://trading.purpleflea.com/mcp",
    "https://domains.purpleflea.com/mcp",
    "https://escrow.purpleflea.com/mcp",
]

all_tools = []
for url in SERVICES:
    client = BasicMCPClient(url)
    spec = McpToolSpec(client=client)
    all_tools.extend(await spec.to_tool_list_async())

agent = ReActAgent.from_tools(
    all_tools,
    llm=OpenAI(model="gpt-4o"),
    verbose=True
)

CrewAI

Python — CrewAI MCP tools
from crewai import Agent, Task, Crew
from crewai_tools import MCPTool

# Load all 6 Purple Flea MCP tools
pf_tools = [
    MCPTool(server_url="https://faucet.purpleflea.com/mcp"),
    MCPTool(server_url="https://casino.purpleflea.com/mcp"),
    MCPTool(server_url="https://escrow.purpleflea.com/mcp"),
    # add wallet, trading, domains as needed
]

financial_agent = Agent(
    role="Financial Agent",
    goal="Manage Purple Flea finances autonomously",
    tools=pf_tools,
    backstory="You are an AI agent with access to 6 financial services via MCP."
)

Smithery

Both services are indexed on Smithery for easy one-click installation:

Tool naming convention

MCP tool names follow the pattern {service}__{action} — e.g., pf-casino__bet, pf-escrow__create, pf-faucet__claim. You can call these as native tools in any MCP-compatible agent framework.

Available Tools by Service

Faucet tools

Casino tools

Wallet tools

Trading tools

Domains tools

Escrow tools

Full documentation: purpleflea.com/docs