phantom-wallet-mcp

$npx mdskill add sendaifun/skills/phantom-wallet-mcp

Retrieve user's wallet addresses for cross-chain operations

  • Authenticate and retrieve wallet addresses for Solana, Ethereum, Bitcoin, and Sui.
  • Deploys Phantom MCP server with `PHANTOM_APP_ID` environment variable for secure access.
  • Automatically determines the appropriate blockchain network based on user's connected wallets.
  • Sends retrieved addresses to the user for further use in transaction or message signing.

SKILL.md

.github/skills/phantom-wallet-mcpView on GitHub ↗
---
name: phantom-wallet-mcp
description: Execute wallet operations through the Phantom MCP server — get addresses, sign transactions, transfer tokens, buy tokens, and sign messages across Solana, Ethereum, Bitcoin, and Sui
---

# Phantom Wallet MCP

Use the `phantom` MCP server to interact with the user's Phantom wallet directly.

## Available Tools

| Tool | Description |
|------|-------------|
| `get_wallet_addresses` | Get blockchain addresses (Solana, Ethereum, Bitcoin, Sui) for the connected wallet |
| `sign_transaction` | Sign a transaction (base64url for Solana, RLP hex for Ethereum) |
| `transfer_tokens` | Transfer SOL or SPL tokens on Solana — builds, signs, and sends the transaction |
| `buy_token` | Fetch Solana swap quotes from Phantom API; optionally sign and send |
| `sign_message` | Sign a UTF-8 message with automatic chain-specific routing |

## Setup

The `phantom` MCP server requires a `PHANTOM_APP_ID` environment variable from [Phantom Portal](https://phantom.com/portal). On first use, it opens a browser for OAuth authentication via Google or Apple login.

## Supported Networks

| Chain | Networks |
|-------|----------|
| Solana | mainnet, devnet, testnet |
| Ethereum | Mainnet, Sepolia, Polygon, Base, Arbitrum |
| Bitcoin | Mainnet |
| Sui | Mainnet, Testnet |

Networks use CAIP-2 format (e.g., `solana:mainnet`, `eip155:1`).

## Examples

### Get wallet addresses

Ask the `phantom` MCP to retrieve the user's wallet addresses, then use them for transactions.

### Transfer SOL

Use `transfer_tokens` to send SOL to a recipient address. The MCP handles transaction building, signing, and submission.

### Sign a message

Use `sign_message` for wallet verification or authentication flows. The MCP routes to the correct chain based on the network parameter.

## Important Notes

- Sessions persist locally in `~/.phantom-mcp/session.json`
- This is preview software — use a separate wallet with minimal funds for testing
- The MCP server runs via stdio transport (launched by `npx -y @phantom/mcp-server`)

More from sendaifun/skills

SkillDescription
arcium>
birdeyeComplete Birdeye API integration for real-time DeFi data across Solana and 15 other chains. Use for token prices, OHLCV charts, market discovery, on-chain trader intelligence, holder analysis, wallet portfolio & P&L, and WebSocket streams for live prices and whale alerts.
carbiumBuild on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (~22ms), DEX aggregation via CQ1 engine (sub-ms quotes), gasless swaps, and MEV-protected execution via Jito bundling. Drop-in replacement for Helius, QuickNode, Triton, or Jupiter Swap API.
ct-alpha>
debridgeComplete deBridge Protocol SDK for building cross-chain bridges, message passing, and token transfers on Solana. Use when building cross-chain applications, bridging assets between Solana and EVM chains, or implementing trustless external calls.
dflowComplete DFlow trading protocol SDK - the single source of truth for integrating DFlow on Solana. Covers spot trading, prediction markets, Swap API, Metadata API, WebSocket streaming, and all DFlow tools.
example-skillTemplate and guide for creating skills. Demonstrates the standard skill structure with resources, docs, examples, and templates directories. Use this as a reference when building new protocol integrations.
glamSolana vault management via GLAM Protocol. Triggers: glam, glam-cli, glam-sdk, vault create/manage, tokenized vault, share class, DeFi vault, treasury, asset management, access control, delegate permissions, Jupiter swap, Kamino lending/borrow/vaults/farms, staking (Marinade/native/SPL/Sanctum/LST), cross-chain USDC (CCTP), timelock, subscription/redemption, NAV pricing, token transfer. Supports CLI and TypeScript SDK.
heliusBuild Solana applications with Helius infrastructure. Covers transaction sending (Sender), asset/NFT queries (DAS API), real-time streaming (WebSockets, Laserstream), event pipelines (webhooks), priority fees, wallet analysis, and agent onboarding.
helius-dflowBuild Solana trading applications combining DFlow trading APIs with Helius infrastructure. Covers spot swaps (imperative and declarative), prediction markets, real-time market streaming, Proof KYC, transaction submission via Sender, fee optimization, shred-level streaming via LaserStream, and wallet intelligence.