Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 1.76 KB

File metadata and controls

78 lines (56 loc) · 1.76 KB

Claude Code + Sei MCP Setup

Prerequisites

  • Claude Code installed
  • Claude Pro or Max subscription
  • Node.js 20+

Quick Start

# 1. Clone the repo
git clone https://github.com/stakeme-team/sei-agent-kit
cd sei-agent-kit

# 2. Install dependencies
npm install

# 3. Create a wallet (one key → both EVM 0x... and Cosmos sei...)
npm run wallet:simple
# or for enhanced security:
npm run wallet:secure

# 4. Open Claude Code
claude

That's it! Claude Code automatically detects .mcp.json and connects to the Sei MCP server (https://api.seistream.app/mcp).

Usage

Once inside Claude Code, use the built-in skills:

/wallet    — Show EVM + Cosmos addresses and balances
/send      — Send SEI (EVM 0x... or Cosmos sei...)
/stake     — Delegate SEI to a validator (Cosmos-native)
/ibc       — IBC-transfer SEI to another Cosmos chain
/deploy    — Deploy & verify an EVM contract

Or just chat naturally:

"Show my Sei balances on both the EVM and Cosmos sides"
"Delegate 1 SEI to the validator with the lowest commission"
"Deploy the SimpleStorage contract and verify it on Seistream"

Security Modes

Simple Mode (default)

Private key stored in .env, protected by guard hooks that block Claude from reading it.

npm run wallet:simple

Secure Mode

Private key encrypted in a keystore; the signing daemon runs in a separate process and signs both EVM and Cosmos transactions.

# Create encrypted wallet
npm run wallet:secure

# Start signing daemon (separate terminal); --manual asks y/n per signature
npm run signer

# Then use Claude Code normally
claude

Verify MCP Connection

Inside Claude Code, run /mcp to see connected MCP servers. You should see sei listed with its tools.