Skip to main content
Glama

acepilot-mcp

This repository mirrors the published acepilot-mcp@0.1.0 npm package (MIT) only. It is data, not advice; nothing here is financial, investment, or legal advice.

Minimal MCP server for AcePilot paid x402 data routes on Base.

Tools are generated at startup from the live /catalogue.json and /openapi.json. Each paid route is one tool. Payment uses the caller's key (ACEPILOT_PRIVATE_KEY); this package never ships or hardcodes a key. Without a key, a paid tool returns the x402 402 payment requirements (including accepts[].amount) so the agent can see the price.

Free tools are catalogue and health metadata only. They do not return answer content. All answers require a paid tool.

Data, not advice. Every tool description states the price and that disclaimer.

Every HTTP request this client sends includes X-AcePilot-Client: acepilot-mcp/<version> so AcePilot can count settled payments by client in aggregate (no payer addresses).

Related MCP server: x402-bazaar-mcp

Install

Requires Node.js 20 or later.

npx -y acepilot-mcp

Or install globally:

npm install -g acepilot-mcp
acepilot-mcp

From a clone of this repository:

cd mcp
npm install
npm run build
npm test
node dist/index.js

npm test starts the server against the live catalogue with no buyer key and checks that paid tools surface 402 amounts.

Environment

Variable

Required

Default

Meaning

ACEPILOT_PRIVATE_KEY

no

unset

Caller's 0x-prefixed 32-byte key used only to sign x402 payments. If unset, tools return the 402 requirements and do not pay. ACEPILOT_BUYER_PRIVATE_KEY is accepted as an alias.

ACEPILOT_MAX_SPEND_USDC

no

0.15

Per-session spend cap in USDC. A payment that would exceed the cap is not sent. The default covers top5 (0.12). Raise this to call higher-priced tools.

ACEPILOT_BASE_URL

no

https://aeroacepilot.xyz

AcePilot host.

Never put a real key in a committed file. Prefer the host's secret store or a local, untracked env.

Claude Desktop

Add to claude_desktop_config.json (or the equivalent MCP settings file):

{
  "mcpServers": {
    "acepilot": {
      "command": "npx",
      "args": ["-y", "acepilot-mcp"],
      "env": {
        "ACEPILOT_PRIVATE_KEY": "<ACEPILOT_PRIVATE_KEY>",
        "ACEPILOT_MAX_SPEND_USDC": "0.15"
      }
    }
  }
}

Cursor

.cursor/mcp.json or ~/.cursor/mcp.json:

{
  "mcpServers": {
    "acepilot": {
      "command": "npx",
      "args": ["-y", "acepilot-mcp"],
      "env": {
        "ACEPILOT_PRIVATE_KEY": "<ACEPILOT_PRIVATE_KEY>",
        "ACEPILOT_MAX_SPEND_USDC": "0.15"
      }
    }
  }
}

Local build:

{
  "mcpServers": {
    "acepilot": {
      "command": "node",
      "args": ["/absolute/path/to/acepilot/mcp/dist/index.js"],
      "env": {
        "ACEPILOT_PRIVATE_KEY": "<ACEPILOT_PRIVATE_KEY>",
        "ACEPILOT_MAX_SPEND_USDC": "0.15"
      }
    }
  }
}

ElizaOS

Stdio MCP plugin / character settings (shape used by @elizaos/plugin-mcp and similar wrappers):

{
  "mcp": {
    "servers": {
      "acepilot": {
        "type": "stdio",
        "command": "npx",
        "args": ["-y", "acepilot-mcp"],
        "env": {
          "ACEPILOT_PRIVATE_KEY": "<ACEPILOT_PRIVATE_KEY>",
          "ACEPILOT_MAX_SPEND_USDC": "0.15"
        }
      }
    }
  }
}

The server speaks standard MCP over stdio, so any ElizaOS or Virtuals-style plugin that can spawn an MCP server can wrap these paid routes.

Tools

Paid tools (and their query arguments) come from the live catalogue and OpenAPI document. The set always includes at least:

check, q1, top5, open, position_yield, migrate, oor_watch, wallet_positions, real_yield, fee_or_aero

plus every other currently listed paid data route, and the free catalogue and health metadata tools.

License

MIT, for this mcp/ client package only. The rest of the AcePilot repository remains proprietary. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      MCP server bringing 100+ x402-paid APIs to AI agents (Claude, Cursor, MCP-aware clients). Auto-discovers tools from CDP Bazaar; handles USDC micropayments on Base.
      100
      58 npm
      1
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      MCP server exposing x402 Bazaar's paid Base APIs (token risk/honeypot, prices, gas, wallet intel, tx decode + AI utilities) as agent tools. Your agent pays per call in USDC over x402 — no API keys, no signup.
      17
      70 npm
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      MCP server exposing 1,000+ pay-per-call API endpoints across agent infrastructure (memory, coordination, secrets, verification), data, compute, finance, weather, geography, and reference categories — payments via x402 protocol in USDC on Base.
      -