MCP Server
The Sei Model Context Protocol (MCP) Server enables AI assistants to interact with the Sei networks through a natural language interface. Built on the Model Context Protocol  standard, it provides seamless blockchain integration for AI agents, chat bots, and coding assistants like Cursor, Windsurf, and Claude.
What is MCP?
The Model Context Protocol (MCP) is an open standard that connects AI systems with external tools and data sources. It allows AI assistants to:
- Access real-time data from external services
- Execute functions and operations
- Maintain context across interactions
- Provide specialized capabilities beyond their base training
The Sei MCP Server leverages this protocol to bring blockchain functionality directly to your AI assistant, enabling natural language interactions with the Sei network.
Capabilities
The Sei MCP Server provides comprehensive blockchain functionality:
Category | Capabilities |
---|---|
Account Management | Get wallet addresses, check balances, verify contract addresses |
Token Operations | Transfer SEI, ERC20, ERC721, and ERC1155 tokens |
Blockchain Data | Query blocks, transactions, receipts, and network information |
Smart Contracts | Read contract state, execute contract functions, approve token spending |
NFT Operations | Check ownership, transfer NFTs, get metadata and token URIs |
Network Support | Sei Mainnet, Testnet, and Devnet |
Setup Instructions
Claude Desktop
Claude Desktop Setup
Install Claude Desktop
Download and install Claude Desktop  from the official website.
Configure MCP Server
- Open Claude Desktop
- Go to Settings → Developer → Edit Config
- Add the Sei MCP Server to your configuration:
{
"mcpServers": {
"sei": {
"command": "npx",
"args": ["-y", "@sei-js/mcp-server"],
"env": {
"PRIVATE_KEY": "your_private_key_here"
}
}
}
}
Restart Claude Desktop
Save the configuration and restart Claude Desktop. The Sei MCP Server will be available with new prompts and tools.
Getting Your Private Key
Security Warning: Never share your private key or commit it to version control. Store it securely and only use it in trusted environments.
For this server, it is recommended that you generate a new private key specifically for your MCP Server. This will allow you to keep your main wallet private key separate and secure.
To perform blockchain transactions, you’ll need to provide your accounts’s private key:
Most wallets provide private key export in their security or account settings. Look for options like:
- “Export Private Key”
- “Show Private Key”
- “Account Details”
- “Security Settings”
What You Can It Do
The Sei MCP Server enables your AI assistant to:
🔍 Read Documentation
Ask your AI assistant to explain Sei concepts, smart contract patterns, or development best practices directly from the official documentation.
đź”§ Blockchain Operations
- Check account balances and transaction history
- Transfer tokens between addresses
- Interact with smart contracts
- Query blockchain data and network status
📚 Understand @sei-js Libraries (Coming Soon)
Get explanations and examples for using Sei’s JavaScript/TypeScript libraries, including code snippets and integration patterns.
🚀 Create Boilerplate Repositories (Coming Soon)
Generate starter projects, smart contract templates, and full-stack applications configured for Sei development.
đź’ˇ More Coming Soon
We’re continuously expanding the MCP Server’s capabilities. Future updates will include:
- DeFi protocol integrations
- Advanced contract deployment tools
- Cross-chain bridge operations
- Enhanced development workflows
Example Usage
Once configured, you can interact with your AI assistant using natural language:
You: "What's my SEI balance?"
AI: [Uses MCP Server to check your wallet balance]
You: "Send 1 SEI to 0x742d35Cc6634C0532925a3b8D4C1C4e3153DC"
AI: [Executes the transfer and provides transaction details]
You: "Create a simple ERC20 token contract for Sei"
AI: [Generates a complete smart contract with deployment instructions]
Troubleshooting
Common Issues
Server not connecting: Ensure you have Node.js 18+ installed and restart your AI assistant after configuration.
Private key errors: Verify your private key is correctly formatted (starts with 0x
) and has sufficient funds for gas fees.
Getting Help
- Check the Sei Discord  for community support
- Review the GitHub repository  for technical documentation
- Submit issues or feature requests on GitHub