phantom-wallet-mcp

Execute wallet operations through the Phantom MCP server. Use when the user wants to interact with their Phantom wallet directly — get addresses, transfer SOL or SPL tokens, buy/swap tokens, sign transactions, and sign messages across Solana, Ethereum, Bitcoin, and Sui. Requires the @phantom/mcp-server to be configured as an MCP server.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "phantom-wallet-mcp" with this command: npx skills add dflowprotocol/dflow_phantom-connect-skill/dflowprotocol-dflow-phantom-connect-skill-phantom-wallet-mcp

Phantom Wallet MCP

Use the phantom MCP server to interact with the user's Phantom wallet directly — no SDK integration code needed.

Setup

Add the Phantom MCP server to your MCP configuration:

{
  "mcpServers": {
    "phantom": {
      "command": "npx",
      "args": ["-y", "@phantom/mcp-server"],
      "env": {
        "PHANTOM_APP_ID": "<your-app-id>"
      }
    }
  }
}

Get your PHANTOM_APP_ID from Phantom Portal. On first use, the server opens a browser for OAuth authentication via Google or Apple login.

Available Tools

ToolDescription
get_wallet_addressesGet blockchain addresses (Solana, Ethereum, Bitcoin, Sui) for the connected wallet
transfer_tokensTransfer SOL or SPL tokens on Solana — builds, signs, and sends the transaction
buy_tokenFetch Solana swap quotes from Phantom API; optionally sign and send
sign_transactionSign a transaction (base64url for Solana, RLP hex for Ethereum)
sign_messageSign a UTF-8 message with automatic chain-specific routing

Supported Networks

ChainNetworksCAIP-2 Examples
Solanamainnet, devnet, testnetsolana:mainnet, solana:devnet
EthereumMainnet, Sepolia, Polygon, Base, Arbitrumeip155:1, eip155:137
BitcoinMainnetbip122:000000000019d6689c085ae165831e93
SuiMainnet, Testnetsui:mainnet

Examples

Get wallet addresses

Retrieve the user's wallet addresses across all supported chains:

Use the phantom MCP's get_wallet_addresses tool to list the user's addresses.

Returns addresses for each connected chain (Solana, Ethereum, Bitcoin, Sui).

Transfer SOL

Send SOL to a recipient address:

Use the phantom MCP's transfer_tokens tool:
- token: "SOL"
- recipientAddress: "<recipient>"
- amount: "0.1"
- network: "solana:mainnet"

The MCP handles transaction building, signing, and submission.

Transfer SPL tokens

Send any SPL token by its mint address:

Use the phantom MCP's transfer_tokens tool:
- token: "<token-mint-address>"
- recipientAddress: "<recipient>"
- amount: "10"
- network: "solana:mainnet"

Buy / swap tokens

Get a swap quote and optionally execute it:

Use the phantom MCP's buy_token tool:
- tokenMint: "<token-mint-to-buy>"
- amount: "1000000"  (in lamports for SOL input)
- network: "solana:mainnet"

Sign a message

Sign a UTF-8 message for verification or authentication:

Use the phantom MCP's sign_message tool:
- message: "Hello, verifying ownership"
- network: "solana:mainnet"

The MCP routes to the correct chain-specific signing based on the network parameter.

Important Notes

  • Preview software — use a separate wallet with minimal funds for testing
  • Sessions persist locally in ~/.phantom-mcp/session.json
  • The MCP server runs via stdio transport (launched by npx -y @phantom/mcp-server)
  • Token transfers on Solana support both native SOL and any SPL token
  • Swap quotes come from Phantom's API and include fee and slippage info

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

dflow-phantom-connect

No summary provided by upstream source.

Repository SourceNeeds Review
Web3

Onchain Analyzer

Analyze wallet addresses and on-chain activity — transaction history, token holdings, DeFi positions, and trading patterns across EVM chains and Solana. Use...

Registry SourceRecently Updated
1390Profile unavailable
Web3

Crypto Tracker Cn

Track cryptocurrency markets in real-time. 加密货币行情追踪、比特币价格、以太坊ETH、市值排行、DeFi数据、恐惧贪婪指数、趋势币种、空投信息、RSI技术分析、均线分析、金叉死叉、DeFi收益率对比、Gas费查询。Use when checking crypto pri...

Registry SourceRecently Updated
2020Profile unavailable
Web3

Crypto Whale Tracker

Track large cryptocurrency transfers (whale movements) using public APIs like Whale Alert and Etherscan. Set thresholds, monitor wallets, and generate format...

Registry SourceRecently Updated
1730Profile unavailable