Overview
The Phantom Connect SDK MCP (Model Context Protocol) server connects AI coding assistants like Cursor, Claude, and VS Code to Phantom developer documentation. Your AI assistant can answer questions and generate code with accurate, up-to-date context.Looking for the MCP server that gives AI agents direct access to Phantom wallet operations like signing transactions and transferring tokens? See the Phantom MCP Server documentation.
MCP is an open protocol that allows AI applications to securely connect to external data sources and tools. Learn more about MCP at modelcontextprotocol.io.
Quick install
Use the contextual menu at the top of any documentation page to quickly connect to your preferred tool:- Copy MCP server URL: Copy the URL to your clipboard
- Connect to Cursor: Automatically install in Cursor
- Connect to VS Code: Automatically install in VS Code
Features
The Phantom Connect SDK MCP server provides:- SearchPhantomDeveloper: Search across Phantom developer documentation for relevant information, code examples, API references, and guides
Setup guides
- Cursor
- VS Code
- Claude
- Claude Code
Option 1: Cursor plugin (recommended)
Install the Phantom Cursor plugin for the best experience. It includes this MCP server plus subagents, skills, and rules for building with Phantom. See the Cursor plugin documentation for details.Option 2: Quick install
Use the contextual menu at the top of this page and select Connect to Cursor to automatically install the MCP server.Option 3: Manual setup
Open MCP settings
Use
Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows/Linux) to open the command palette, then search for “Open MCP settings”.Configure the Phantom Connect SDK MCP server
Add the following to your If you already have other MCP servers configured, add
mcp.json file:phantom-docs to your existing mcpServers object.Usage
Once configured, your AI assistant can search Phantom documentation when you ask questions about:- Phantom SDK integration (React, React Native, Browser)
- Wallet connection and authentication flows
- Transaction signing and sending
- Message signing for authentication
- Multi-chain support (Solana, Ethereum, Bitcoin, Sui, and more)
- Phantom Portal setup and configuration
- Best practices and troubleshooting
Example prompts
Try asking your AI assistant:- “How do I set up Phantom Connect in a React app?”
- “Show me how to sign a message with the Phantom Browser SDK”
- “What’s the process for verifying a domain in Phantom Portal?”
- “How do I send a Solana transaction using Phantom?”
Server details
| Property | Value |
|---|---|
| Server name | Phantom Connect SDK MCP server |
| Version | 1.0.0 |
| Transport | SSE (Server-Sent Events) |
| Endpoint | https://docs.phantom.com/mcp |
Available tools
| Tool | Description |
|---|---|
SearchPhantomDeveloper | Search across the Phantom developer documentation knowledge base to find relevant information, code examples, API references, and guides |
Troubleshooting
Server shows as disconnected in Cursor
Server shows as disconnected in Cursor
- Make sure you include
"type": "sse"in your Cursor configuration - Verify you have an active internet connection
- Check that the URL is exactly
https://docs.phantom.com/mcp - Try removing and re-adding the server
- Restart Cursor completely
AI doesn't use the documentation
AI doesn't use the documentation
- Make sure the MCP server shows a green status indicator
- Try explicitly asking about Phantom (e.g., “Using Phantom docs, how do I…”)
- Verify the server is enabled in your settings
- In Cursor, ask “What tools do you have available?” to verify the connection
Configuration file not found
Configuration file not found
- Cursor: The
mcp.jsonfile is located at~/.cursor/mcp.json(Mac/Linux) or%APPDATA%\Cursor\mcp.json(Windows) - VS Code: Create
.vscode/mcp.jsonin your project directory - If the file doesn’t exist, create it with the configuration shown above
Claude connector not working
Claude connector not working
- Make sure you’re using the correct URL:
https://docs.phantom.com/mcp - Try removing and re-adding the connector
- Check the Claude Connectors page to verify the connector is added
Related resources
Phantom Cursor plugin
All-in-one Cursor plugin with subagents, skills, rules, and both MCP servers
Phantom MCP Server
Interact with Phantom embedded wallets through natural language
Cursor AI prompts
One-shot prompts for implementing Phantom SDKs
SDK overview
Choose the right SDK for your application
Phantom Portal
Set up your app in the Phantom Portal