acepilot-mcp
Servidor MCP para las rutas de datos de pago x402 de AcePilot en Base. Las herramientas se generan a partir del catálogo en vivo y cada ruta de pago corresponde a una herramienta. Herramientas gratuitas para el catálogo y el estado del servicio; la clave del propio usuario firma los pagos, con un límite de gasto. Datos, no asesoramiento.
Documentación
acepilot-mcp
Links
- Buy / usage guide: https://aeroacepilot.xyz/docs/BUY.md
- llms.txt: https://aeroacepilot.xyz/llms.txt
- x402 discovery: https://aeroacepilot.xyz/.well-known/x402
- npm: https://www.npmjs.com/package/acepilot-mcp
- MCP Registry name:
io.github.mvrksn-cmd/acepilot-mcp
This repository mirrors the published
acepilot-mcp@0.1.0npm 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).
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.