Skip to main content

Requirements

  • Node.js 18 or later

Install

Install globally with npm, yarn, or pnpm:
This installs the phantom binary. Verify the installation:

Authenticate

On first use, run:
This opens a browser window and prompts you to sign in with Google, Apple, or your Phantom extension. Once authenticated, the session is persisted locally and refreshed automatically. To check your current session status without making an API call:

Use as an MCP server

To register the CLI as an MCP server with your AI agent (Claude Desktop, Cursor, etc.):
Or run it manually as an stdio MCP server:
See the MCP server setup guide for full configuration instructions for each agent.

Configuration

Update