The plugin is available on the Cursor Marketplace. Install it directly from Cursor or visit the marketplace page.
Install
Add the plugin to Cursor using the command palette or the marketplace:Open the command palette
Press
Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows/Linux) and search for “Add Plugin”.What’s included
The plugin bundles four categories of capabilities into one install.Subagents
Specialized AI agents that Cursor can delegate tasks to:| Subagent | Description |
|---|---|
phantom-integration-specialist | Scaffolds projects, writes correct integration code, validates against SDK constraints, and searches Phantom docs in real time |
phantom-wallet-agent | Executes wallet operations — get addresses, transfer tokens, sign transactions, swap tokens, and sign messages across Solana, Ethereum, Bitcoin, and Sui |
Skills
Step-by-step workflows the agent follows to complete common tasks:| Skill | Description |
|---|---|
setup-react-app | Scaffold a React app with Phantom Connect SDK, including social login and Solana support |
setup-react-native-app | Scaffold a React Native (Expo) app with Phantom React Native SDK, including polyfills and deep linking |
setup-browser-app | Scaffold a vanilla JS/TS app with Phantom Browser SDK, without any framework dependency |
add-social-login | Configure Google and Apple social login with Phantom Connect SDK to enable embedded wallet creation |
send-sol-transaction | Build and send SOL transfers with Phantom Connect SDK, including transaction construction, signing, and verification |
sign-message | Implement message signing with Phantom Connect SDK for Solana and EVM, including Sign-in with Solana (SIWS) authentication |
phantom-wallet-mcp | Execute wallet operations through the Phantom MCP server — get addresses, sign transactions, transfer tokens, buy tokens, and sign messages |
Rules
Constraints and best practices the agent applies automatically when generating code:| Rule | Description |
|---|---|
embedded-wallet-constraints | Constraints and limitations for Phantom embedded wallets |
phantom-sdk-best-practices | General best practices for using Phantom Connect SDKs |
solana-transaction-safety | Safety rules for Solana transaction handling with Phantom |
MCP servers
Two MCP servers are bundled with the plugin:| MCP server | Description |
|---|---|
phantom-connect-sdk | Gives Cursor real-time access to Phantom developer documentation for accurate answers and code generation |
phantom-mcp | Gives Cursor direct access to Phantom embedded wallet operations (sign, transfer, swap) |
Usage examples
Once installed, you can ask Cursor to perform Phantom-related tasks directly: Scaffold a new project:How it works
The plugin enhances Cursor’s AI agent in three ways:- Context: The MCP servers give the agent access to Phantom documentation and wallet operations, so it generates accurate code instead of hallucinating APIs.
- Workflows: Skills provide step-by-step instructions for common integration tasks, ensuring the agent follows the correct setup order and includes all dependencies.
- Guardrails: Rules enforce SDK best practices and safety constraints automatically, so the agent avoids common mistakes like missing polyfills or unsafe transaction patterns.
Prerequisites
Some plugin features require a Phantom Portal account:- Wallet operations (
phantom-wallet-agent,phantom-mcp): You need an App ID from Phantom Portal and must configurePHANTOM_APP_IDin your MCP settings. - Project scaffolding (skills): The generated code requires an App ID. You can use a placeholder during development and replace it later.
- Documentation search (
phantom-connect-sdkMCP): No prerequisites required.
Get your App ID
Create an app in Phantom Portal to get your App ID
Related resources
AI-assisted development
Overview of all AI tools for building with Phantom
Phantom Connect SDK MCP server
Standalone MCP server setup for Cursor, VS Code, and Claude
Phantom embedded wallet MCP server
MCP server for wallet operations with AI assistants
Cursor AI prompts
One-shot prompts for implementing Phantom SDKs