Skip to content

Cursor Maxwell Directory (x402 + MCP) Prompt/x402_payment_failed

How to: Cursor Maxwell Directory (x402 + MCP) x402_payment_failed

client:Cursor transport:streamable-http prompt:x402_payment_failed

Add Maxwell Directory (x402 + MCP) to Cursor

  1. 01

    Open ~/.cursor/mcp.json and merge this in. Keep any servers already there.

{
  "mcpServers": {
    "data": {
      "url": "https://api.maxwellinternational.ai/mcp"
    }
  }
}
  1. 02

    Save the file and restart Cursor.

  2. 03

    x402_payment_failed is surfaced in the client's prompt or command menu. Unlike a tool, you invoke it deliberately — Cursor will not call it for you.

  3. 04

    If it does not appear, check that Maxwell Directory (x402 + MCP) is connected and that you are looking at its prompts rather than its tools.

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Set these first

Maxwell Directory (x402 + MCP) will not start until these are set, so it never reaches Cursor.

  • MAXWELL_WALLET_KEY_FILE
  • MAXWELL_SOLANA_KEY_FILE
  • MAXWELL_MAX_PER_CALL_USD
  • MAXWELL_DAILY_BUDGET_USD

Same prompt, other clients

Read from the server itself, by connecting to it and calling prompts/list on 30 September 2026. A listing does not declare its prompts, so asking is the only way to know them, and this is what the server actually offers rather than what its listing claims. Names only are stored; connect the server for each prompt's arguments.