Skip to main content

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

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

1

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”.
2

Configure the Phantom Connect SDK MCP server

Add the following to your mcp.json file:
{
  "mcpServers": {
    "phantom-docs": {
      "type": "sse",
      "url": "https://docs.phantom.com/mcp"
    }
  }
}
If you already have other MCP servers configured, add phantom-docs to your existing mcpServers object.
3

Verify the connection

In Cursor’s chat, ask “What tools do you have available?” — Cursor should show the Phantom Connect SDK MCP server as an available tool.
See the Cursor MCP documentation for more details.

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?”
The AI will search Phantom documentation and respond with accurate answers and code examples.

Server details

PropertyValue
Server namePhantom Connect SDK MCP server
Version1.0.0
TransportSSE (Server-Sent Events)
Endpointhttps://docs.phantom.com/mcp

Available tools

ToolDescription
SearchPhantomDeveloperSearch across the Phantom developer documentation knowledge base to find relevant information, code examples, API references, and guides

Troubleshooting

  • 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
  • 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
  • Cursor: The mcp.json file is located at ~/.cursor/mcp.json (Mac/Linux) or %APPDATA%\Cursor\mcp.json (Windows)
  • VS Code: Create .vscode/mcp.json in your project directory
  • If the file doesn’t exist, create it with the configuration shown above
  • 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

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