Skip to main content
The Phantom Cursor plugin gives your AI coding agent everything it needs to build with Phantom. It bundles MCP servers, subagents, skills, and rules into a single install so Cursor can scaffold projects, write integration code, execute wallet operations, and follow Phantom best practices automatically.
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:
1

Open the command palette

Press Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows/Linux) and search for “Add Plugin”.
2

Search for Phantom Connect

Type phantom-connect and select Phantom Connect from the results.
3

Confirm installation

Cursor will add the plugin. You may need to restart Cursor for all features to activate.
You can also install by visiting cursor.com/marketplace/phantom and selecting Add to Cursor.

What’s included

The plugin bundles four categories of capabilities into one install.

Subagents

Specialized AI agents that Cursor can delegate tasks to:

Skills

Step-by-step workflows the agent follows to complete common tasks:

Rules

Constraints and best practices the agent applies automatically when generating code:

MCP servers

Two MCP servers are bundled with the plugin:

Usage examples

Once installed, you can ask Cursor to perform Phantom-related tasks directly: Scaffold a new project:
Add wallet features to an existing project:
Execute wallet operations:
Ask documentation questions:

How it works

The plugin enhances Cursor’s AI agent in three ways:
  1. Context: The MCP servers give the agent access to Phantom documentation and wallet operations, so it generates accurate code instead of hallucinating APIs.
  2. Workflows: Skills provide step-by-step instructions for common integration tasks, ensuring the agent follows the correct setup order and includes all dependencies.
  3. Guardrails: Rules enforce SDK best practices and safety constraints automatically, so the agent avoids common mistakes like missing polyfills or unsafe transaction patterns.

Prerequisites

Install the plugin, then complete the Phantom device-code authentication flow in the browser the first time Cursor performs a wallet action. If you use the project scaffolding skills to build a separate Phantom app integration, the generated application may still prompt you for project-specific SDK configuration later. That is separate from using the plugin itself.

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 MCP Server

MCP server for wallet operations with AI assistants

Cursor AI prompts

One-shot prompts for implementing Phantom SDKs