Phantom MCP Server

Model Context Protocol server (@phantom/mcp-server) that exposes 27 tools to AI agents across wallet operations (connection status, addresses, balances, transfers, transaction sending, message and typed-data signing, simulation, allowances, login, pay), swap and portfolio (buy_token, portfolio_rebalance), and Hyperliquid perpetuals (market data, positions, orders, deposits, leverage, spot-to-perps transfers). Each agent gets its own wallet via device-code Phantom sign-in; sessions are stored at ~/.phantom-mcp/session.json with OIDC-stamped KMS request signing. Supports Solana, Ethereum, Bitcoin, and Sui.

Phantom MCP Server is one of 10 APIs that Phantom publishes on the APIs.io network.

Tagged areas include Agents, AI, Bitcoin, Ethereum, and Hyperliquid. The published artifact set on APIs.io includes API documentation and SDKs.

API entry from apis.yml

apis.yml Raw ↑
aid: phantom:phantom-mcp-server
name: Phantom MCP Server
tags:
- Agents
- AI
- Bitcoin
- Ethereum
- Hyperliquid
- MCP
- Model Context Protocol
- Perpetuals
- Solana
- Sui
- Swaps
- Wallet
humanURL: https://docs.phantom.com/phantom-mcp-server
properties:
- url: https://docs.phantom.com/phantom-mcp-server
  type: Documentation
- url: https://docs.phantom.com/phantom-mcp-server/setup
  type: Documentation
- url: https://docs.phantom.com/resources/mcp-server
  type: Documentation
- url: https://www.npmjs.com/package/@phantom/mcp-server
  type: SDK
description: Model Context Protocol server (@phantom/mcp-server) that exposes 27 tools to AI agents across
  wallet operations (connection status, addresses, balances, transfers, transaction sending, message and
  typed-data signing, simulation, allowances, login, pay), swap and portfolio (buy_token, portfolio_rebalance),
  and Hyperliquid perpetuals (market data, positions, orders, deposits, leverage, spot-to-perps transfers).
  Each agent gets its own wallet via device-code Phantom sign-in; sessions are stored at ~/.phantom-mcp/session.json
  with OIDC-stamped KMS request signing. Supports Solana, Ethereum, Bitcoin, and Sui.