Requirements
- Node.js 18 or later
Install
Install globally with npm, yarn, or pnpm:phantom binary. Verify the installation:
Authenticate
On first use, run:Use as an MCP server
To register the CLI as an MCP server with your AI agent (Claude Desktop, Cursor, etc.):Configuration
| Variable | Description |
|---|---|
PHANTOM_API_BASE_URL | Override the Phantom API base URL (default: https://api.phantom.app) |