phantom-wallet-mcp

phantom-wallet-mcp is a skill for Claude Code, Codex from x402agent/solana-clawd. It costs 76 tokens per session (929 once invoked), scanned A, original, MIT.

A connection to Phantom Wallet, a cryptocurrency wallet, for retrieving addresses, transferring tokens, swapping Solana tokens, and signing transactions or messages.

In plain words
What is it for?
Use it to work with Solana, Ethereum, Bitcoin, and Sui wallet addresses, transfer supported tokens, obtain swap quotes, and sign blockchain data.
Why use it?
It gives an agent a direct way to perform supported wallet actions without writing separate blockchain integration code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to work with Solana, Ethereum, Bitcoin, and Sui wallet addresses, transfer supported tokens, obtain swap quotes, and sign blockchain data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/x402agent/solana-clawd/phantom-wallet-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add x402agent/solana-clawd --skill phantom-wallet-mcp
Clone the repo
git clone --depth 1 https://github.com/x402agent/solana-clawd

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for phantom-wallet-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/x402agent/solana-clawd/phantom-wallet-mcp/github.svg)](https://agentmods.dev/skills/x402agent/solana-clawd/phantom-wallet-mcp)
Your own site
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/phantom-wallet-mcp"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/phantom-wallet-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for phantom-wallet-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/x402agent/solana-clawd/phantom-wallet-mcp"><img src="https://agentmods.dev/badge/skills/x402agent/solana-clawd/phantom-wallet-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 929 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.00929
Opus 5 $0.00038 $0.00464
Sonnet 5 $0.00015 $0.00186
Haiku 4.5 $0.00008 $0.00093

Measured 8d ago against content hash f1db8b6e23f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

phantom-wallet-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/skills/phantom-wallet-mcp/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Tool Description
get_wallet_addresses Get blockchain addresses (Solana, Ethereum, Bitcoin, Sui) for the connected wallet
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_transaction Sign a transaction (base64url for Solana, RLP hex for Ethereum)
sign_message Sign a UTF-8 message with automatic chain-specific routing

Supported Networks

Chain Networks CAIP-2 Examples
Solana mainnet, devnet, testnet solana:mainnet, solana:devnet
Ethereum Mainnet, Sepolia, Polygon, Base, Arbitrum eip155:1, eip155:137
Bitcoin Mainnet bip122:000000000019d6689c085ae165831e93
Sui Mainnet, Testnet sui: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.

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 127 lines · 76 tokens per session scan A f1db8b6e23f4

Subscribe to this mod's changes

phantom-wallet-mcp is a skill published in the GitHub repository x402agent/solana-clawd (24 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 929 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.