What is MCP?
The Model Context Protocol is an open standard that connects AI systems with external tools and data sources. It enables:- Real-time data access from external services
- Function execution and operations
- Context preservation across interactions
- Specialized capabilities beyond base training
Capabilities
| Category | Features |
|---|---|
| Account Management | Wallet addresses • Balance queries • Contract verification |
| Token Operations | SEI transfers • ERC20/721/1155 support • Token approvals |
| Blockchain Data | Block information • Transaction details • Network status |
| Smart Contracts | State queries • Function execution • Event logs |
| Networks | Mainnet • Testnet |
Setup Guide
- Cursor
- Windsurf
- Claude Desktop
- Claude CLI
Cursor Setup
Private Key Setup
Export your private key from your wallet:- Look for “Export Private Key” or “Show Private Key” in wallet settings
- Ensure the key starts with
0x - Fund the wallet with small amounts for testing
Features
The Sei MCP Server enables your AI assistant to:Blockchain Operations
- Query account balances and transaction history
- Execute token transfers
- Interact with smart contracts
- Monitor network status
Coming Soon
- Documentation search and explanation
- @sei-js library integration
- Boilerplate generation
- DeFi protocol interactions
Available Tools
Core Operations
| Tool | Purpose | Example |
|---|---|---|
get_address_from_private_key | Retrieve wallet address | ”What’s my wallet address?” |
get_balance | Check SEI balance | ”Check balance of 0x123…” |
transfer_sei | Send SEI tokens | ”Send 1 SEI to 0x456…” |
is_contract | Verify contract address | ”Is 0x789… a contract?” |
Token Management
| Tool | Purpose | Example |
|---|---|---|
get_token_info | Token metadata | ”Get USDC token info” |
get_token_balance | Token balance | ”Check my USDC balance” |
transfer_token | Token transfer | ”Send 100 USDC to 0x123…” |
approve_token_spending | Token approval | ”Approve DEX for USDC” |
NFT Operations
| Tool | Purpose | Example |
|---|---|---|
get_nft_info | NFT metadata | ”Show NFT #123 details” |
check_nft_ownership | Ownership verification | ”Who owns NFT #456?” |
transfer_nft | NFT transfer | ”Send NFT #789 to 0xABC…” |
get_nft_balance | Collection balance | ”How many NFTs do I own?” |
Blockchain Data
| Tool | Purpose | Example |
|---|---|---|
get_chain_info | Network information | ”Show Sei mainnet info” |
get_block_by_number | Block details by number | ”Get block 12345” |
get_latest_block | Latest block details | ”Get latest block” |
get_transaction | Transaction data | ”Show tx 0xTXID…” |
read_contract | Contract state | ”Read DEX reserves” |
AI Prompts
Pre-configured prompts for common tasks:my_wallet_address
Get your wallet address
explore_block
Analyze block data
analyze_transaction
Transaction details
analyze_address
Address analysis
Usage Examples
Query Balance
”What’s my SEI balance?”
→ Returns wallet balance and address
Send Transaction
”Send 1 SEI to 0x742d35Cc6634C0532925a3b8D4C1C4e3153DC”
→ Executes transfer and returns transaction hash
Contract Analysis
”Is 0x3894085ef7ff0f0aedf52e2a2704928d1ec074f1 a contract?”
→ Identifies contract type and metadata
Resource URIs
Access blockchain data through standardized URIs:Configuration
Environment Setup
HTTP Server Mode
For web applications:Security Guidelines
Troubleshooting
Connection issues: Verify Node.js 18+ is installed and restart your AI assistant. Private key errors: Ensure key format starts with0x and wallet has sufficient funds.
Cursor: The model returned an error. Try disabling the MCP servers, or switch models: Disable “Auto” in the model
menu and select a specific model e.g. claude-4-sonnet