---
name: apex-mcp
title: "APEX MCP Server — Streamable HTTP Tools for Agents"
description: "Connect any MCP client (Claude Code, Cursor, Codex, OpenClaw) to https://apexfaucet.xyz/api/mcp for web rendering, peaq Machine Economy & ERC-8183 hiring, 35-chain token safety verdicts, Countersign/Firewall checks, and AI utilities."
url: https://apexfaucet.xyz/api/mcp
server_card: https://apexfaucet.xyz/.well-known/mcp/server-card.json
manifest: https://apexfaucet.xyz/.well-known/mcp.json
pricing: https://apexfaucet.xyz/pricing.json
auth_doc: https://apexfaucet.xyz/auth.md
---

# APEX MCP Server (`https://apexfaucet.xyz/api/mcp`)

APEX exposes a remote **Streamable HTTP** Model Context Protocol (MCP) server with full discovery, free read/search tools, daily free-trial endpoints, per-call **x402** micropayments (USDC on Base, Arc, Solana, Celo; XNT on X1), and prepaid `X-API-Key` / `X-APEX-PASS` support.

- **Primary MCP Endpoint:** `https://apexfaucet.xyz/api/mcp`
- **Server Card:** `https://apexfaucet.xyz/.well-known/mcp/server-card.json`
- **Manifest:** `https://apexfaucet.xyz/.well-known/mcp.json`
- **Live Pricing JSON:** `https://apexfaucet.xyz/pricing.json`
- **Authentication & Payment Spec:** `https://apexfaucet.xyz/auth.md`
- **Full x402 Discovery:** `https://apexfaucet.xyz/.well-known/x402`

## Focused MCP Profiles

If your agent host prefers smaller context windows, connect directly to a domain-scoped profile:

| Profile | URL | Focus |
| --- | --- | --- |
| Full Catalog | `https://apexfaucet.xyz/api/mcp` | All APEX tools & resources |
| Machine Economy | `https://apexfaucet.xyz/api/mcp/machines` | peaq fleet discovery, job matching, ERC-8183 escrow, DID trust & telemetry |
| AI & LLM | `https://apexfaucet.xyz/api/mcp/ai` | Chat completions, embeddings, JSON extraction, translation, summarization, FLUX images |
| Web & Docs | `https://apexfaucet.xyz/api/mcp/web` | Headless Chrome `page_extract`, `page_markdown`, `web_read`, `agent_site_search`, PDF |
| DeFi & Markets | `https://apexfaucet.xyz/api/mcp/defi` | Token exit checks, Hyperliquid, Polymarket, Kalshi, DefiLlama, DEX flows |
| Safety & Trust | `https://apexfaucet.xyz/api/mcp/safety` | Countersign, Agent Firewall, Work Grader, Veritas Notary, Prompt Guard, PII Redact |
| Developer Utils | `https://apexfaucet.xyz/api/mcp/dev` | npm/PyPI OSV audit, CVE lookup, GitHub repo intel, JSON repair/toolbox, QR, WHOIS |
| Multi-Chain EVM | `https://apexfaucet.xyz/api/mcp/evm` | EVM balances, contract flags, log decoding, tx explain, gas benchmarks |
| Arc L1 | `https://apexfaucet.xyz/api/mcp/arc` | Arc launches, pool verdicts, send guard, faucet, Agent City |
| X1 Network | `https://apexfaucet.xyz/api/mcp/x1` | X1 token/wallet/pool/screener & exit checks |
| G2 Jobs Escrow | `https://apexfaucet.xyz/api/mcp/g2jobs` | Non-custodial ERC-8183 USDC job creation, funding, submission & settlement |

## Client Configuration

### Claude Code

```sh
claude mcp add --transport http apex https://apexfaucet.xyz/api/mcp
```

Or connect to a focused profile such as Machine Economy:

```sh
claude mcp add --transport http apex-machines https://apexfaucet.xyz/api/mcp/machines
```

### Cursor / Codex / OpenClaw (`mcp.json`)

```json
{
  "mcpServers": {
    "apex": {
      "type": "http",
      "url": "https://apexfaucet.xyz/api/mcp"
    }
  }
}
```

With a prepaid API Key (optional, skips per-call crypto signing):

```json
{
  "mcpServers": {
    "apex": {
      "type": "http",
      "url": "https://apexfaucet.xyz/api/mcp",
      "headers": {
        "X-API-Key": "apx_your_key_here"
      }
    }
  }
}
```

## Discovering & Calling Tools

1. Call `initialize` and `tools/list` on `https://apexfaucet.xyz/api/mcp` via `POST` (`Content-Type: application/json`) to read live tool names, descriptions, and JSON schemas.
2. Call `search_tools` (free) with a natural-language `query` and optional `maxPrice` to find the best matching tool and price.
3. For free daily trials (1 call per address per day across top routes), call `GET https://apexfaucet.xyz/api/free/<route>` (list available routes at `GET https://apexfaucet.xyz/api/free/x`).
4. For paid calls without an API key:
   - Call the tool or HTTP route without payment to receive the authoritative x402 `402 Payment Required` challenge (`PAYMENT-REQUIRED` header + `accepts[]` JSON).
   - Pay in USDC on Base (`eip155:8453`), Arc (`eip155:5042`), Solana, or Celo, or XNT on X1, and retry with `PAYMENT-SIGNATURE` (or pass `payment` inside supported MCP tools).
5. For prepaid calls with zero per-request signing latency:
   - Mint a key by card at `https://apexfaucet.xyz/pass/` (`$5 -> $5`, `$20 -> $25 +25%`, `$50 -> $65 +30%`) or via x402 (`/api/x402/api-pass` `$0.50 -> $0.65`, `/api/x402/api-pass-pro` `$0.99 -> $1.39`).
   - Send `X-API-Key: apx_...`, `X-APEX-PASS: apx_...`, or `Authorization: Bearer apx_...`.

## Safety & Billing Guarantees

- **No charge on failure or bad input:** missing/malformed inputs or upstream failures are rejected before payment or auto-refunded on API Pass keys.
- **Idempotent retries:** send `Idempotency-Key` (16–128 chars) or x402 `payment-identifier` so retries replay without double-settling.
- **Dry-run rehearsal:** test validation and quotes free at `https://apexfaucet.xyz/api/x402/rehearse` or with `X-X402-Dry-Run: true`.
